|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compass.core.mapping.AbstractMapping
org.compass.core.mapping.osem.AbstractAccessorMapping
public abstract class AbstractAccessorMapping
| Constructor Summary | |
|---|---|
AbstractAccessorMapping()
|
|
| Method Summary | |
|---|---|
protected void |
copy(AbstractAccessorMapping copy)
|
String |
getAccessor()
Returns the accessor type for this mapping. |
String |
getDefinedInAlias()
Returns which alias (or if not present, the FQN of the class name) this object property is defined at. |
Getter |
getGetter()
|
String |
getPropertyName()
Returns the class property name of the object mapping. |
Setter |
getSetter()
|
boolean |
hasAccessors()
|
void |
setAccessor(String accessor)
Sets the accessor type for this mapping. |
void |
setDefinedInAlias(String definedInAlias)
Sets which alias (or if not present, the FQN of the class name) this object property is defined at. |
void |
setGetter(Getter getter)
|
void |
setPropertyName(String propertyName)
Sets the class property name of the object mapping. |
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 |
|---|
public AbstractAccessorMapping()
| Method Detail |
|---|
protected void copy(AbstractAccessorMapping copy)
public boolean hasAccessors()
hasAccessors in interface OsemMappingpublic Getter getGetter()
getGetter in interface ObjectMappingpublic void setGetter(Getter getter)
setGetter in interface ObjectMappingpublic Setter getSetter()
getSetter in interface ObjectMappingpublic void setSetter(Setter setter)
setSetter in interface ObjectMappingpublic String getAccessor()
ObjectMappingPropertyAccessor
(this can be either the FQN of the class name or a regsitered type in the configuration, see
PropertyAccessorFactory.
getAccessor in interface ObjectMappingpublic void setAccessor(String accessor)
ObjectMappingPropertyAccessor
(this can be either the FQN of the class name or a regsitered type in the configuration, see
PropertyAccessorFactory.
setAccessor in interface ObjectMappingpublic String getPropertyName()
ObjectMapping
getPropertyName in interface ObjectMappingpublic void setPropertyName(String propertyName)
ObjectMapping
setPropertyName in interface ObjectMappingpublic String getDefinedInAlias()
ObjectMapping
getDefinedInAlias in interface ObjectMappingpublic void setDefinedInAlias(String definedInAlias)
ObjectMapping
setDefinedInAlias in interface ObjectMapping
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||