org.compass.core.mapping.osem
Class CollectionMapping
java.lang.Object
org.compass.core.mapping.support.AbstractMapping
org.compass.core.mapping.osem.AbstractAccessorMapping
org.compass.core.mapping.osem.AbstractCollectionMapping
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
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CollectionMapping
public CollectionMapping()
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.