org.compass.core.mapping.osem
Class AbstractCollectionMapping
java.lang.Object
org.compass.core.mapping.AbstractMapping
org.compass.core.mapping.osem.AbstractAccessorMapping
org.compass.core.mapping.osem.AbstractCollectionMapping
- All Implemented Interfaces:
- Mapping, ObjectMapping, OsemMapping, OverrideByNameMapping
- Direct Known Subclasses:
- ArrayMapping, CollectionMapping
public abstract class AbstractCollectionMapping
- extends AbstractAccessorMapping
- implements OverrideByNameMapping
- Author:
- kimchy
| 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 |
AbstractCollectionMapping
public AbstractCollectionMapping()
copy
public void copy(AbstractCollectionMapping copy)
canBeCollectionWrapped
public boolean canBeCollectionWrapped()
- Description copied from interface:
ObjectMapping
- Returns
true if this object mapping can be wrapped
with a Collection or an Array.
- Specified by:
canBeCollectionWrapped in interface ObjectMapping
getElementMapping
public Mapping getElementMapping()
setElementMapping
public void setElementMapping(Mapping elementMapping)
getCollectionTypePath
public PropertyPath getCollectionTypePath()
setCollectionTypePath
public void setCollectionTypePath(PropertyPath collectionTypePath)
getColSizePath
public PropertyPath getColSizePath()
setColSizePath
public void setColSizePath(PropertyPath colSizePath)
isOverrideByName
public boolean isOverrideByName()
- Specified by:
isOverrideByName in interface OverrideByNameMapping
setOverrideByName
public void setOverrideByName(boolean overrideByName)
- Specified by:
setOverrideByName in interface OverrideByNameMapping
getCollectionType
public AbstractCollectionMapping.CollectionType getCollectionType()
setCollectionType
public void setCollectionType(AbstractCollectionMapping.CollectionType collectionType)
Copyright (c) 2004-2008 The Compass Project.