org.objectweb.jorm.metainfo.api
Interface MetaObject
- All Superinterfaces:
- java.io.Serializable
- All Known Subinterfaces:
- Class, ClassMapping, ClassProject, ClassRef, CommonClassMapping, CompositeName, FieldName, GenClass, GenClassMapping, GenClassRef, IdentifierMapping, Manager, Mapping, MappingFactory, MappingStructure, NameDef, NameRef, Package, ParentClassMapping, PrimitiveElement, PrimitiveElementMapping, Reference, ReferenceMapping, ScalarField, TypedElement
- All Known Implementing Classes:
- BasicClass, BasicClassMapping, BasicClassProject, BasicClassRef, BasicCommonClassMapping, BasicCompositeName, BasicFieldName, BasicGenClass, BasicGenClassMapping, BasicGenClassRef, BasicIdentifierMapping, BasicMapping, BasicMappingStructure, BasicMemMappingFactory, BasicMetaObject, BasicNameDef, BasicNameRef, BasicPackage, BasicParentClassMapping, BasicPrimitiveElement, BasicReferenceMapping, BasicScalarField, BasicTypedElement, FosMappingFactory, FosPrimitiveElementMapping, JormManager, RdbMappingFactory, RdbPrimitiveElementMapping
- public interface MetaObject
- extends java.io.Serializable
The MetaObject interface is the top level of all meta information interfaces.
- Author:
- X. Spengler
Method Summary |
MetaObject |
getParent()
Allows to know the parent MetaObject of the current MetaObject. |
void |
setParent(MetaObject itsParent)
Sets the parent of the current meta object if it is not yet done
by the constructor of the meta object |
getParent
public MetaObject getParent()
- Allows to know the parent MetaObject of the current MetaObject.
- Returns:
- the MetaObject corresponding to the parent of the
current object. If there is no parent, null is returned.
setParent
public void setParent(MetaObject itsParent)
- Sets the parent of the current meta object if it is not yet done
by the constructor of the meta object
- Parameters:
itsParent
- the parent MetaObject of the current object