|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jorm.metainfo.lib.BasicMetaObject
org.objectweb.jorm.metainfo.lib.BasicGenClass
BasicGenClass is the implementation of the GenClass interface defined in the Meta information system. This object is defines by a name, a list of index fields, and its parent.
Field Summary |
Fields inherited from class org.objectweb.jorm.metainfo.lib.BasicMetaObject |
debug, logger, loggerFactory, parent |
Constructor Summary | |
BasicGenClass(java.lang.String name,
boolean isAbstract,
MetaObject parent)
Builds a new BasicGenClass object. |
Method Summary | |
PrimitiveElement |
createIndexField(java.lang.String indexFieldName,
PType type)
Returns a new PrimitiveElement object, created with its name and its type (PType). |
protected java.util.Collection |
getChildren()
|
PrimitiveElement |
getIndexField(java.lang.String indexFieldName)
Returns the PrimitiveElement corresponding to its name. |
int |
getIndexFieldNumber()
Returns the number of index fields for the current generic class. |
java.lang.String |
getName()
Allows to know the name of the current generic class object. |
java.util.Iterator |
iterateIndexField()
Allows to know all the existing index field for the current generic class. |
Methods inherited from class org.objectweb.jorm.metainfo.lib.BasicMetaObject |
getLogger, getLoggerFactory, getManager, getParent, setLogger, setLoggerFactory, setLoggingOnChild, 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 BasicGenClass(java.lang.String name, boolean isAbstract, MetaObject parent)
name
- the name of the generic classisAbstract
- true, the generic class is an abstract class, else
false, the generic class is not an abstract classparent
- the parent meta-object of the current GenClassMethod Detail |
public java.lang.String getName()
getName
in interface GenClass
public PrimitiveElement createIndexField(java.lang.String indexFieldName, PType type)
createIndexField
in interface GenClass
indexFieldName
- the name of the index fieldtype
- the type of the index field
public PrimitiveElement getIndexField(java.lang.String indexFieldName)
getIndexField
in interface GenClass
indexFieldName
- the name of the index field
public java.util.Iterator iterateIndexField()
iterateIndexField
in interface GenClass
public int getIndexFieldNumber()
getIndexFieldNumber
in interface GenClass
protected java.util.Collection getChildren()
getChildren
in class BasicMetaObject
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |