|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The NameRef interface defines methods to manage reference to composite name. NameRef are used in namedef to reference a composite name that describe the structure of the namedef.
Method Summary | |
void |
addProjection(java.lang.String namefield,
java.lang.String classfield)
Add a projection between a field in the composite name structure and a field in the class. |
boolean |
equalCNType(java.lang.Object obj)
test if the type of the compositename referenced in this nameref is equals to the type referenced by the nameref passed as parameter. |
java.lang.String |
getClassFieldName(java.lang.String fieldName)
Return the class field name associated with the composite name field name. |
java.lang.String |
getCNPackageName()
Return the name of the schema for the composite name referenced by this nameref. |
CompositeName |
getCompositeName()
Retrieve the metaobject describing the composite name referenced by this nameref. |
java.lang.String |
getName()
Retrieve the name of the nameref. |
java.util.Map |
getProjection()
Retrieve the list of projections between the fields of the composite name and the field of the class. |
Methods inherited from interface org.objectweb.jorm.metainfo.api.MetaObject |
getParent, setParent |
Method Detail |
public void addProjection(java.lang.String namefield, java.lang.String classfield)
namefield
- the name of the field in the composite nameclassfield
- the name of the field in the classpublic java.util.Map getProjection()
public java.lang.String getClassFieldName(java.lang.String fieldName)
fieldName
- the name of a field in the composite name.
public java.lang.String getName()
public CompositeName getCompositeName()
public boolean equalCNType(java.lang.Object obj)
obj
- the nameref to compare to
public java.lang.String getCNPackageName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |