org.objectweb.jorm.metainfo.lib
Class BasicParentClassMapping

java.lang.Object
  extended byorg.objectweb.jorm.metainfo.lib.BasicMetaObject
      extended byorg.objectweb.jorm.metainfo.lib.BasicMappingStructure
          extended byorg.objectweb.jorm.metainfo.lib.BasicParentClassMapping
All Implemented Interfaces:
Loggable, MappingStructure, MetaObject, ParentClassMapping, java.io.Serializable

public class BasicParentClassMapping
extends BasicMappingStructure
implements ParentClassMapping

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.objectweb.jorm.metainfo.lib.BasicMetaObject
logger, loggerFactory, parent
 
Constructor Summary
BasicParentClassMapping(java.lang.String ruleName, MetaObject linkedMO, MetaObject parent)
          Builds a new BasicReferenceMapping object.
 
Method Summary
 java.lang.String getFQName()
          Returns the FQCN of the associated extension.
 Class getMOClass()
          Returns the Class object designated by the extension.
 java.lang.String getRuleName()
          Returns the name of the rule involved in the mapping of the inheritance relationship.
 void setRuleName(java.lang.String rulename)
          Sets a rule name.
 
Methods inherited from class org.objectweb.jorm.metainfo.lib.BasicMappingStructure
getLinkedMO, getMapperName, getProjectName, setLinkedMO
 
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.MappingStructure
getLinkedMO, getMapperName, getProjectName, setLinkedMO
 
Methods inherited from interface org.objectweb.jorm.metainfo.api.MetaObject
getParent, setParent
 

Constructor Detail

BasicParentClassMapping

public BasicParentClassMapping(java.lang.String ruleName,
                               MetaObject linkedMO,
                               MetaObject parent)
Builds a new BasicReferenceMapping object.

Parameters:
ruleName - the rule name, linkedMO an Extension object, parent the parent object of the current object.
Method Detail

getRuleName

public java.lang.String getRuleName()
Returns the name of the rule involved in the mapping of the inheritance relationship.

Specified by:
getRuleName in interface ParentClassMapping
Returns:
the name of the rule.

setRuleName

public void setRuleName(java.lang.String rulename)
Sets a rule name.

Specified by:
setRuleName in interface ParentClassMapping
Parameters:
rulename - the name of the rule.

getFQName

public java.lang.String getFQName()
Returns the FQCN of the associated extension.

Specified by:
getFQName in interface ParentClassMapping
Returns:
the name of the rule.

getMOClass

public Class getMOClass()
Returns the Class object designated by the extension.

Specified by:
getMOClass in interface ParentClassMapping
Returns:
a Class object.