org.objectweb.jorm.metainfo.api
Interface MetaObject
- All Superinterfaces:
- java.io.Serializable
- All Known Subinterfaces:
- Class, ClassMapping, ClassRef, CompositeName, FieldName, GenClass, GenClassRef, Manager, NameDef, NameRef, PrimitiveElement, Reference, ScalarField, Schema, TypedElement, ValueMapping
- 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)
Set 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)
- Set 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