|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The CompositeName interface defines methods to manage composite name. Composite Name are used to define composite pname. Composite Name defines the multiple fields describing the structure os a name.
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 |
getAllFields()
Provides an iterator over the field of the current composite name including the inherited fields. |
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()
Deprecated. use getAllFields(). |
java.util.Iterator |
iterateField()
Deprecated. use getFields(). |
java.util.Iterator |
iterateInheritedCompositeName()
Deprecated. use getSuperCompositeNames() |
Methods inherited from interface org.objectweb.jorm.metainfo.api.MetaObject |
getParent, setParent |
Method Detail |
public java.lang.String getName()
public java.lang.String getFQName()
public void addInheritedCompositeName(CompositeName cn)
cn
- the name of the composite name to be inherited.public java.util.Iterator iterateInheritedCompositeName()
public java.util.Collection getSuperCompositeNames()
public CompositeName getInheritedCompositeName(java.lang.String name)
name
- the name of the composite name
public ScalarField getScalarField(java.lang.String fieldname)
fieldname
- the name of the field.
public int getInheritedCompositeNameNumber()
public ScalarField createCompositeNameField(java.lang.String fieldname, PType type, int size, int scale)
fieldname
- the name of the fieldtype
- the ptype of the field
public int getFieldNumber()
public java.util.Iterator iterateField()
public java.util.Collection getFields()
public java.util.Iterator iterateAllField()
public java.util.Collection getAllFields()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |