org.compass.core.mapping.osem
Class ParentMapping

java.lang.Object
  extended by org.compass.core.mapping.AbstractMapping
      extended by org.compass.core.mapping.osem.AbstractAccessorMapping
          extended by org.compass.core.mapping.osem.ParentMapping
All Implemented Interfaces:
Mapping, ObjectMapping

public class ParentMapping
extends AbstractAccessorMapping

Author:
kimchy

Constructor Summary
ParentMapping()
           
 
Method Summary
 boolean canBeCollectionWrapped()
           
 boolean controlsObjectNullability()
          Returns true if the Mapping controlls the fact that if it has no value, it's parent might be a candidate for being nullable.
 Mapping copy()
          Copies over the mapping definition into a newly instanciated Mapping object.
 
Methods inherited from class org.compass.core.mapping.osem.AbstractAccessorMapping
copy, getAccessor, getGetter, getObjClass, getPropertyName, getSetter, setAccessor, setGetter, setObjClass, setPropertyName, setSetter
 
Methods inherited from class org.compass.core.mapping.AbstractMapping
copy, getConverter, getConverterName, getName, getPath, setConverter, setConverterName, setName, setPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.compass.core.mapping.Mapping
getConverter, getConverterName, getName, getPath, setConverter, setConverterName, setName, setPath
 

Constructor Detail

ParentMapping

public ParentMapping()
Method Detail

copy

public Mapping copy()
Description copied from interface: Mapping
Copies over the mapping definition into a newly instanciated Mapping object.


canBeCollectionWrapped

public boolean canBeCollectionWrapped()

controlsObjectNullability

public boolean controlsObjectNullability()
Description copied from interface: Mapping
Returns true if the Mapping controlls the fact that if it has no value, it's parent might be a candidate for being nullable.

Specified by:
controlsObjectNullability in interface Mapping
Overrides:
controlsObjectNullability in class AbstractMapping


Copyright (c) 2004-2006 The Compass Project.