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

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
 

Method Detail

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