org.objectweb.jorm.metainfo.api
Interface MetaObject
- Serializable
- 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
public interface MetaObject
extends Serializable
The MetaObject interface is the top level of all meta information interfaces.
- X. Spengler
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.
- 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
itsParent
- the parent MetaObject of the current object