org.objectweb.jorm.mapper.fos.metainfo
Class FosClassMapping

java.lang.Object
  |
  +--org.objectweb.jorm.metainfo.lib.BasicMetaObject
        |
        +--org.objectweb.jorm.metainfo.lib.BasicMappingStructure
              |
              +--org.objectweb.jorm.metainfo.lib.BasicHelperClassMapping
                    |
                    +--org.objectweb.jorm.metainfo.lib.BasicClassMapping
                          |
                          +--org.objectweb.jorm.mapper.fos.metainfo.FosClassMapping
All Implemented Interfaces:
ClassMapping, FosMappingInfos, HelperClassMapping, Loggable, MappingStructure, MetaObject, java.io.Serializable

public class FosClassMapping
extends BasicClassMapping
implements FosMappingInfos

Author:
P. Dechamboux
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.objectweb.jorm.metainfo.lib.BasicMappingStructure
logger
 
Constructor Summary
FosClassMapping(MetaObject linkedMO, MetaObject parent)
          Builds a new BasicFosClassMapping.
 
Method Summary
 void addFieldMapping(java.lang.String fn)
          Adds a field mapping for this field with the given name.
 java.lang.String getDirName()
          Retrieves the name of the directory where class objects are stored.
 void setDirName(java.lang.String dirname)
          Assigns the name of the directory where class objects are stored.
 
Methods inherited from class org.objectweb.jorm.metainfo.lib.BasicClassMapping
addReferenceMapping, createReferenceMapping, getReferenceMapping, getReferenceMappings, iterateReferenceMappings
 
Methods inherited from class org.objectweb.jorm.metainfo.lib.BasicHelperClassMapping
addDependency, addPrimitiveElementMapping, addPrimitiveElementMapping, createIdentifierMapping, getDependencies, getIdentifierMapping, getPrimitiveElementMapping, getPrimitiveElementMappings, getRuleName, iteratePrimitiveElementMappings, removeDependency, setIdentifierMapping, setRuleName
 
Methods inherited from class org.objectweb.jorm.metainfo.lib.BasicMappingStructure
getLinkedMO, getLogger, getLoggerFactory, getMapperName, getProjectName, setLinkedMO, setLogger, setLoggerFactory
 
Methods inherited from class org.objectweb.jorm.metainfo.lib.BasicMetaObject
getManager, getParent, 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.HelperClassMapping
addDependency, addPrimitiveElementMapping, addPrimitiveElementMapping, createIdentifierMapping, getDependencies, getIdentifierMapping, getPrimitiveElementMapping, getPrimitiveElementMappings, getRuleName, iteratePrimitiveElementMappings, removeDependency, setIdentifierMapping, setRuleName
 
Methods inherited from interface org.objectweb.jorm.metainfo.api.MappingStructure
getLinkedMO, getLogger, getLoggerFactory, getMapperName, getProjectName, setLinkedMO, setLogger, setLoggerFactory
 
Methods inherited from interface org.objectweb.jorm.metainfo.api.MetaObject
getParent, setParent
 

Constructor Detail

FosClassMapping

public FosClassMapping(MetaObject linkedMO,
                       MetaObject parent)
Builds a new BasicFosClassMapping.

Parameters:
linkedMO - the object referenced by the current object,
parent - the parent of the current object.
Method Detail

getDirName

public java.lang.String getDirName()
Retrieves the name of the directory where class objects are stored.

Specified by:
getDirName in interface FosMappingInfos
Returns:
The directory name.

setDirName

public void setDirName(java.lang.String dirname)
Assigns the name of the directory where class objects are stored.

Specified by:
setDirName in interface FosMappingInfos
Parameters:
dirname - The directory name.

addFieldMapping

public void addFieldMapping(java.lang.String fn)
Adds a field mapping for this field with the given name.

Parameters:
fn - A field name (hidden or not).