adaptj.toolkits.types
Class ObjectType

java.lang.Object
  |
  +--adaptj.toolkits.types.ObjectType
All Implemented Interfaces:
java.lang.Comparable, Type

public class ObjectType
extends java.lang.Object
implements Type


Field Summary
 
Fields inherited from interface adaptj.toolkits.types.Type
ARRAY_TYPE, BOOL_TYPE, BYTE_TYPE, CHAR_TYPE, DOUBLE_TYPE, FLOAT_TYPE, INT_TYPE, LONG_TYPE, OBJECT_TYPE, SHORT_TYPE
 
Constructor Summary
ObjectType()
           
ObjectType(java.lang.String klass)
           
 
Method Summary
 int compareTo(java.lang.Object obj)
           
 boolean equals(java.lang.Object obj)
           
 int getTypeID()
           
 int hashCode()
           
 java.lang.String klass()
           
 void setKlass(java.lang.String klass)
           
 java.lang.String toTypeString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectType

public ObjectType()

ObjectType

public ObjectType(java.lang.String klass)
Method Detail

klass

public java.lang.String klass()

setKlass

public void setKlass(java.lang.String klass)

compareTo

public int compareTo(java.lang.Object obj)
Specified by:
compareTo in interface java.lang.Comparable

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toTypeString

public java.lang.String toTypeString()
Specified by:
toTypeString in interface Type

getTypeID

public final int getTypeID()
Specified by:
getTypeID in interface Type