|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface gathers methods to the ClassMapping and GenClassMapping interfaces. It gives the notion of reference
Method Summary | |
void |
addImplicitDependencies()
Add implicit dependencies of mapping structure creation to mapping structure definition. |
void |
addReferenceMapping(ReferenceMapping refMapping)
Adds a ReferenceMapping object. |
ParentClassMapping |
createImplicitParentClassMapping(Class superClass)
Creates a implicit parent class mapping. |
Class |
getJormClass()
|
ParentClassMapping |
getParentClassMapping(java.lang.String className)
|
java.util.Collection |
getParentClassMappings()
|
PrimitiveElementMapping |
getPrimitiveElementMapping(java.lang.String fieldName,
boolean searchInSuper)
Get the primitive element mapping corresponding to a field name by searching recursively in the super classes until it is found (if requested) |
ReferenceMapping |
getReferenceMapping(java.lang.String referenceName)
Retrieves the ReferenceMapping instance corresponding to the name of a reference field. |
java.util.Collection |
getReferenceMappings()
Returns a collection of ReferenceMapping objects. |
java.util.Iterator |
iterateReferenceMappings()
Returns an Iterator over ReferenceMapping objects. |
Methods inherited from interface org.objectweb.jorm.metainfo.api.CommonClassMapping |
addDependency, addPrimitiveElementMapping, addPrimitiveElementMapping, createIdentifierMapping, createReferenceMapping, getAllPrimitiveElementMappings, getDependencies, getIdentifierMapping, getPrimitiveElementMapping, getPrimitiveElementMappings, getRuleName, primitiveElementMappingsIterator, removeDependency, setIdentifierMapping, setRuleName |
Methods inherited from interface org.objectweb.jorm.metainfo.api.MappingStructure |
getLinkedMO, getMapperName, getProjectName, setLinkedMO |
Methods inherited from interface org.objectweb.jorm.metainfo.api.MetaObject |
getParent, setParent |
Method Detail |
public Class getJormClass()
public void addReferenceMapping(ReferenceMapping refMapping)
refMapping
- the ReferenceMapping object to add to the list.public ReferenceMapping getReferenceMapping(java.lang.String referenceName)
referenceName
- is the name of a reference field
public java.util.Iterator iterateReferenceMappings()
public java.util.Collection getReferenceMappings()
public java.util.Collection getParentClassMappings()
public ParentClassMapping getParentClassMapping(java.lang.String className)
public ParentClassMapping createImplicitParentClassMapping(Class superClass)
superClass
- the super class that will be referenced by this
parent class mapping
public PrimitiveElementMapping getPrimitiveElementMapping(java.lang.String fieldName, boolean searchInSuper)
fieldName
- the name of the field of which the primitive element
mapping must be returnedsearchInSuper
- if true search recursively in super classes
public void addImplicitDependencies()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |