org.objectweb.jorm.metainfo.lib
Class BasicMappingStructure

java.lang.Object
  extended byorg.objectweb.jorm.metainfo.lib.BasicMetaObject
      extended byorg.objectweb.jorm.metainfo.lib.BasicMappingStructure
All Implemented Interfaces:
Loggable, MappingStructure, MetaObject, java.io.Serializable
Direct Known Subclasses:
BasicCommonClassMapping, BasicIdentifierMapping, BasicParentClassMapping, BasicReferenceMapping, FosPrimitiveElementMapping, RdbPrimitiveElementMapping, RdbTable

public class BasicMappingStructure
extends BasicMetaObject
implements MappingStructure

Description

See Also:
Serialized Form

Field Summary
protected  MetaObject linkedMO
          The MetaObject object referenced by the current object.
 
Fields inherited from class org.objectweb.jorm.metainfo.lib.BasicMetaObject
debug, logger, loggerFactory, parent
 
Constructor Summary
BasicMappingStructure(MetaObject parent, MetaObject linkedMO)
          Builds a new BasicMappingStructure object.
 
Method Summary
 MetaObject getLinkedMO()
          Returns the MetaObject referenced by the current MetaObject.
 java.lang.String getMapperName()
          Returns the mapper name.
 java.lang.String getProjectName()
          Returns the project name.
 void setLinkedMO(MetaObject linkedMO)
          Sets the MetaObject referenced by the current MetaObject.
 
Methods inherited from class org.objectweb.jorm.metainfo.lib.BasicMetaObject
getChildren, getLogger, getLoggerFactory, getManager, getParent, setLogger, setLoggerFactory, setLoggingOnChild, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.objectweb.jorm.metainfo.api.MetaObject
getParent, setParent
 

Field Detail

linkedMO

protected MetaObject linkedMO
The MetaObject object referenced by the current object.

Constructor Detail

BasicMappingStructure

public BasicMappingStructure(MetaObject parent,
                             MetaObject linkedMO)
Builds a new BasicMappingStructure object.

Parameters:
linkedMO - the MetaObject object referenced by the current object.
Method Detail

getLinkedMO

public MetaObject getLinkedMO()
Returns the MetaObject referenced by the current MetaObject.

Specified by:
getLinkedMO in interface MappingStructure
Returns:
the MetaObject referenced by the current object. If there is no referenced object, null is returned.

setLinkedMO

public void setLinkedMO(MetaObject linkedMO)
Sets the MetaObject referenced by the current MetaObject.

Specified by:
setLinkedMO in interface MappingStructure
Parameters:
linkedMO - the MetaObject referenced by the current object

getMapperName

public java.lang.String getMapperName()
Returns the mapper name.

Specified by:
getMapperName in interface MappingStructure
Returns:
the mapper name.

getProjectName

public java.lang.String getProjectName()
Returns the project name.

Specified by:
getProjectName in interface MappingStructure
Returns:
the project name.