|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.objectweb.jorm.metainfo.lib.BasicMetaObject
|
+--org.objectweb.jorm.metainfo.lib.BasicTypedElement
Implementation of TypedElement.
| Constructor Summary | |
BasicTypedElement(java.lang.String name,
PType pType,
int size,
MetaObject parent)
Builds a new BasicTypedElement object. |
|
| Method Summary | |
int |
compareTo(java.lang.Object o)
|
java.lang.String |
getName()
Returns the name of the current typed element. |
int |
getSize()
Returns the size of the field in case of string, serialized, arrays, etc |
PType |
getType()
Returns the type of the field. |
| Methods inherited from class org.objectweb.jorm.metainfo.lib.BasicMetaObject |
getManager, getParent, setParent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.objectweb.jorm.metainfo.api.MetaObject |
getParent, setParent |
| Constructor Detail |
public BasicTypedElement(java.lang.String name,
PType pType,
int size,
MetaObject parent)
name - the name of the primitive field,
pType the type of the primitive field,
parent the parent of the current object.| Method Detail |
public int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparablepublic java.lang.String getName()
getName in interface TypedElementpublic PType getType()
getType in interface TypedElementpublic int getSize()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||