org.compass.core.mapping.osem
Class AbstractCollectionMapping

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.AbstractCollectionMapping
All Implemented Interfaces:
Mapping, ObjectMapping, OverrideByNameMapping
Direct Known Subclasses:
ArrayMapping, CollectionMapping

public abstract class AbstractCollectionMapping
extends AbstractAccessorMapping
implements OverrideByNameMapping

Author:
kimchy

Nested Class Summary
static class AbstractCollectionMapping.CollectionType
           
 
Constructor Summary
AbstractCollectionMapping()
           
 
Method Summary
 boolean canBeCollectionWrapped()
           
 void copy(AbstractCollectionMapping copy)
           
 AbstractCollectionMapping.CollectionType getCollectionType()
           
 String getCollectionTypePath()
           
 String getColSizePath()
           
 Mapping getElementMapping()
           
 boolean isOverrideByName()
           
 void setCollectionType(AbstractCollectionMapping.CollectionType collectionType)
           
 void setCollectionTypePath(String collectionTypePath)
           
 void setColSizePath(String colSizePath)
           
 void setElementMapping(Mapping elementMapping)
           
 void setOverrideByName(boolean overrideByName)
           
 
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
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, copy, getConverter, getConverterName, getName, getPath, setConverter, setConverterName, setName, setPath
 

Constructor Detail

AbstractCollectionMapping

public AbstractCollectionMapping()
Method Detail

copy

public void copy(AbstractCollectionMapping copy)

canBeCollectionWrapped

public boolean canBeCollectionWrapped()
Specified by:
canBeCollectionWrapped in interface ObjectMapping

getElementMapping

public Mapping getElementMapping()

setElementMapping

public void setElementMapping(Mapping elementMapping)

getCollectionTypePath

public String getCollectionTypePath()

setCollectionTypePath

public void setCollectionTypePath(String collectionTypePath)

getColSizePath

public String getColSizePath()

setColSizePath

public void setColSizePath(String 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-2006 The Compass Project.