org.compass.core.mapping.osem
Class CollectionMapping

java.lang.Object
  extended by org.compass.core.mapping.support.AbstractMapping
      extended by org.compass.core.mapping.osem.AbstractAccessorMapping
          extended by org.compass.core.mapping.osem.AbstractCollectionMapping
              extended by org.compass.core.mapping.osem.CollectionMapping
All Implemented Interfaces:
InternalMapping, InternalOverrideByNameMapping, Mapping, InternalLazyMapping, InternalObjectMapping, InternalOsemMapping, LazyMapping, ObjectMapping, OsemMapping, OverrideByNameMapping

public class CollectionMapping
extends AbstractCollectionMapping
implements InternalLazyMapping

Author:
kimchy

Nested Class Summary
 
Nested classes/interfaces inherited from class org.compass.core.mapping.osem.AbstractCollectionMapping
AbstractCollectionMapping.CollectionType
 
Constructor Summary
CollectionMapping()
           
 
Method Summary
 Mapping copy()
          Copies over the mapping definition into a newly instanciated Mapping object.
 Boolean isLazy()
          Returns true if this mapping is lazy.
 void setLazy(Boolean lazy)
          Set to true if this mapping is lazy.
 
Methods inherited from class org.compass.core.mapping.osem.AbstractCollectionMapping
canBeCollectionWrapped, copy, getCollectionType, getCollectionTypePath, getColSizePath, getElementMapping, isOverrideByName, setCollectionType, setCollectionTypePath, setColSizePath, setElementMapping, setOverrideByName
 
Methods inherited from class org.compass.core.mapping.osem.AbstractAccessorMapping
copy, getAccessor, getDefinedInAlias, getGetter, getPropertyName, getSetter, hasAccessors, setAccessor, setDefinedInAlias, setGetter, setPropertyName, setSetter
 
Methods inherited from class org.compass.core.mapping.support.AbstractMapping
controlsObjectNullability, 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
controlsObjectNullability, getConverter, getConverterName, getName, getPath
 
Methods inherited from interface org.compass.core.mapping.internal.InternalMapping
setConverter, setConverterName, setName, setPath
 
Methods inherited from interface org.compass.core.mapping.Mapping
controlsObjectNullability, getConverter, getConverterName, getName, getPath
 

Constructor Detail

CollectionMapping

public CollectionMapping()
Method Detail

copy

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

Specified by:
copy in interface Mapping

isLazy

public Boolean isLazy()
Description copied from interface: LazyMapping
Returns true if this mapping is lazy.

Specified by:
isLazy in interface LazyMapping

setLazy

public void setLazy(Boolean lazy)
Description copied from interface: InternalLazyMapping
Set to true if this mapping is lazy.

Specified by:
setLazy in interface InternalLazyMapping


Copyright (c) 2004-2008 The Compass Project.