org.objectweb.jorm.metainfo.lib
Class BasicMetaObject

java.lang.Object
  extended byorg.objectweb.jorm.metainfo.lib.BasicMetaObject
All Implemented Interfaces:
MetaObject, java.io.Serializable
Direct Known Subclasses:
BasicClass, BasicClassProject, BasicClassRef, BasicExtension, BasicGenClassRef, BasicMapping, BasicMappingStructure, BasicTypedElement, Predicate, RdbFilter, RdbJoin

public class BasicMetaObject
extends java.lang.Object
implements MetaObject

Description

See Also:
Serialized Form

Constructor Summary
BasicMetaObject(MetaObject parent)
          Builds a new BasicMetaObject object.
 
Method Summary
 Manager getManager()
          Returns the Manager object.
 MetaObject getParent()
          Returns the parent MetaObject of the current MetaObject.
 void setParent(MetaObject parent)
          Sets the parent of the current meta object if it is not yet done by the constructor of the meta object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicMetaObject

public BasicMetaObject(MetaObject parent)
Builds a new BasicMetaObject object.

Parameters:
parent - the parent of the current object
Method Detail

getParent

public MetaObject getParent()
Returns the parent MetaObject of the current MetaObject.

Specified by:
getParent in interface 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 parent)
Sets the parent of the current meta object if it is not yet done by the constructor of the meta object

Specified by:
setParent in interface MetaObject
Parameters:
parent - the parent MetaObject of the current object

getManager

public Manager getManager()
Returns the Manager object.

Returns:
the Manager object.