|
|||||||||||
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.BasicCompositeName
The BasicCompositeName provides an implementation of the composite name. Composite Name are used to define composite pname. Composite Name defines the multiple fields describing the structure os a name.
Field Summary |
Fields inherited from class org.objectweb.jorm.metainfo.lib.BasicMetaObject |
debug, logger, loggerFactory, parent |
Constructor Summary | |
BasicCompositeName(java.lang.String className,
MetaObject parent)
Builds a new CompositeName object. |
Method Summary | |
void |
addInheritedCompositeName(CompositeName cn)
Add an inherited composite name to the current composite name. |
ScalarField |
createCompositeNameField(java.lang.String fieldname,
PType type,
int size,
int scale)
Build a new scalarfield that describes a field in the composite name |
java.util.Collection |
getAllField()
Deprecated. use getAllFields() |
java.util.Collection |
getAllFields()
Provides an iterator over the field of the current composite name including the inherited fields. |
protected java.util.Collection |
getChildren()
|
int |
getFieldNumber()
Give the number of fields composing the current composite name. |
java.util.Collection |
getFields()
Provides an iterator over the field of the current composite name. |
java.lang.String |
getFQName()
Allows to know the fully qualifed name of the current CompositeName object. |
CompositeName |
getInheritedCompositeName(java.lang.String name)
Retrieve an inherited composite name form its name. |
int |
getInheritedCompositeNameNumber()
Returns the number of inherited composite name for the current composite name object. |
java.lang.String |
getName()
Allows to know the name of the current CompositeName object. |
ScalarField |
getScalarField(java.lang.String fieldname)
Retrieve a scalarfield describing the field identified by it name in the current compositename. |
java.util.Collection |
getSuperCompositeNames()
Provides an iterator over all the composite name inherited by the current composite name. |
java.util.Iterator |
iterateAllField()
Provides an iterator over the field of the current composite name including the inherited fields. |
java.util.Iterator |
iterateField()
Provides an iterator over the field of the current composite name. |
java.util.Iterator |
iterateInheritedCompositeName()
|
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 BasicCompositeName(java.lang.String className, MetaObject parent)
className
- the name of the current classparent
- the parent of the current objectMethod Detail |
public java.lang.String getName()
getName
in interface CompositeName
public java.lang.String getFQName()
getFQName
in interface CompositeName
public void addInheritedCompositeName(CompositeName cn)
addInheritedCompositeName
in interface CompositeName
cn
- the name of the composite name to be inherited.public java.util.Iterator iterateInheritedCompositeName()
iterateInheritedCompositeName
in interface CompositeName
public java.util.Collection getSuperCompositeNames()
CompositeName
getSuperCompositeNames
in interface CompositeName
public CompositeName getInheritedCompositeName(java.lang.String name)
getInheritedCompositeName
in interface CompositeName
name
- the name of the composite name
public ScalarField getScalarField(java.lang.String fieldname)
getScalarField
in interface CompositeName
fieldname
- the name of the field.
public int getInheritedCompositeNameNumber()
getInheritedCompositeNameNumber
in interface CompositeName
public ScalarField createCompositeNameField(java.lang.String fieldname, PType type, int size, int scale)
createCompositeNameField
in interface CompositeName
fieldname
- the name of the fieldtype
- the ptype of the field
public int getFieldNumber()
getFieldNumber
in interface CompositeName
public java.util.Iterator iterateField()
iterateField
in interface CompositeName
public java.util.Collection getFields()
CompositeName
getFields
in interface CompositeName
public java.util.Collection getAllFields()
CompositeName
getAllFields
in interface CompositeName
public java.util.Iterator iterateAllField()
iterateAllField
in interface CompositeName
public java.util.Collection getAllField()
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 |