org.apache.qpid.agent.binding
Class QMFTypeBinding

java.lang.Object
  extended by org.apache.qpid.agent.binding.QMFTypeBinding
All Implemented Interfaces:
TypeBinding

public abstract class QMFTypeBinding
extends Object
implements TypeBinding

Basic type mappings for QMF schema


Method Summary
 short[] alternateTypes()
           
abstract  Object decode(org.apache.qpid.transport.codec.Decoder dec)
           
abstract  void encode(org.apache.qpid.transport.codec.Encoder enc, Object value)
           
 boolean equals(Object obj)
           
static QMFTypeBinding forClass(Class<?> cls)
           
 short getCode()
           
 Class<?> getJavaClass()
           
 String getRefClass()
           
 String getRefPackage()
           
static QMFTypeBinding getType(short code)
           
 int hashCode()
           
static boolean isBound(Class<?> cls)
           
 boolean isNative()
           
 boolean optionalDefault()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

forClass

public static final QMFTypeBinding forClass(Class<?> cls)

isBound

public static final boolean isBound(Class<?> cls)

getType

public static QMFTypeBinding getType(short code)

getJavaClass

public Class<?> getJavaClass()
Specified by:
getJavaClass in interface TypeBinding

getCode

public short getCode()
Specified by:
getCode in interface TypeBinding

isNative

public boolean isNative()
Specified by:
isNative in interface TypeBinding

optionalDefault

public boolean optionalDefault()
Specified by:
optionalDefault in interface TypeBinding

getRefClass

public String getRefClass()
Specified by:
getRefClass in interface TypeBinding

getRefPackage

public String getRefPackage()
Specified by:
getRefPackage in interface TypeBinding

decode

public abstract Object decode(org.apache.qpid.transport.codec.Decoder dec)
Specified by:
decode in interface TypeBinding

encode

public abstract void encode(org.apache.qpid.transport.codec.Encoder enc,
                            Object value)
Specified by:
encode in interface TypeBinding

alternateTypes

public short[] alternateTypes()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Licensed to the Apache Software Foundation