|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.qpid.management.domain.model.type.Type
public abstract class Type
Layer supertype for all management "types".
Field Summary | |
---|---|
protected Class<?> |
javaType
Java representation of this type. |
Constructor Summary | |
---|---|
Type(Class<?> javaType)
Builds a new management type wiich wraps the given java type. |
Method Summary | |
---|---|
abstract Object |
decode(org.apache.qpid.transport.codec.Decoder decoder)
Each concrete subclass must define here how to decode incoming data according. |
abstract void |
encode(Object value,
org.apache.qpid.transport.codec.Encoder encoder)
Encodes the given values according to this type definition. |
boolean |
equals(Object obj)
Identity for types is based on wrapped java type identity. |
Class<?> |
getJavaType()
Returns the wrapped java type. |
int |
hashCode()
|
String |
toString()
Returns a string representation of this type. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected final Class<?> javaType
Constructor Detail |
---|
Type(Class<?> javaType)
javaType
- the java type.Method Detail |
---|
public Class<?> getJavaType()
public abstract Object decode(org.apache.qpid.transport.codec.Decoder decoder)
decoder
- the decoder used to extract data.
public String toString()
toString
in class Object
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public abstract void encode(Object value, org.apache.qpid.transport.codec.Encoder encoder)
value
- the value to be encoded.encoder
- the encoder.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |