org.compass.core.mapping.osem
Class AbstractAccessorMapping

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

public abstract class AbstractAccessorMapping
extends AbstractMapping
implements ObjectMapping

Author:
kimchy

Constructor Summary
AbstractAccessorMapping()
           
 
Method Summary
protected  void copy(AbstractAccessorMapping copy)
           
 String getAccessor()
           
 Getter getGetter()
           
 Class getObjClass()
           
 String getPropertyName()
           
 Setter getSetter()
           
 void setAccessor(String accessor)
           
 void setGetter(Getter getter)
           
 void setObjClass(Class objClass)
           
 void setPropertyName(String propertyName)
           
 void setSetter(Setter setter)
           
 
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.osem.ObjectMapping
canBeCollectionWrapped
 
Methods inherited from interface org.compass.core.mapping.Mapping
controlsObjectNullability, copy, getConverter, getConverterName, getName, getPath, setConverter, setConverterName, setName, setPath
 

Constructor Detail

AbstractAccessorMapping

public AbstractAccessorMapping()
Method Detail

copy

protected void copy(AbstractAccessorMapping copy)

getGetter

public Getter getGetter()
Specified by:
getGetter in interface ObjectMapping

setGetter

public void setGetter(Getter getter)
Specified by:
setGetter in interface ObjectMapping

getSetter

public Setter getSetter()
Specified by:
getSetter in interface ObjectMapping

setSetter

public void setSetter(Setter setter)
Specified by:
setSetter in interface ObjectMapping

getAccessor

public String getAccessor()
Specified by:
getAccessor in interface ObjectMapping

setAccessor

public void setAccessor(String accessor)
Specified by:
setAccessor in interface ObjectMapping

getObjClass

public Class getObjClass()
Specified by:
getObjClass in interface ObjectMapping

setObjClass

public void setObjClass(Class objClass)
Specified by:
setObjClass in interface ObjectMapping

getPropertyName

public String getPropertyName()
Specified by:
getPropertyName in interface ObjectMapping

setPropertyName

public void setPropertyName(String propertyName)
Specified by:
setPropertyName in interface ObjectMapping


Copyright (c) 2004-2006 The Compass Project.