org.apache.qpid.agent.binding
Class QMFTypeBinding
java.lang.Object
org.apache.qpid.agent.binding.QMFTypeBinding
- All Implemented Interfaces:
- TypeBinding
public abstract class QMFTypeBinding
- extends Object
- implements TypeBinding
Basic type mappings for QMF schema
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