|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compass.core.mapping.support.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()
Returns the getter of the property. |
String |
getPropertyName()
Returns the class property name of the object mapping. |
Setter |
getSetter()
Returns the setter of the proeprty. |
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)
Sests the getter for the property. |
void |
setPropertyName(String propertyName)
Sets the class property name of the object mapping. |
void |
setSetter(Setter setter)
Sets the setter for the property. |
| Methods inherited from class org.compass.core.mapping.support.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 |
| Methods inherited from interface org.compass.core.mapping.Mapping |
|---|
controlsObjectNullability, copy, getConverter, getConverterName, getName, getPath |
| Methods inherited from interface org.compass.core.mapping.internal.InternalMapping |
|---|
setConverter, setConverterName, setName, setPath |
| Methods inherited from interface org.compass.core.mapping.Mapping |
|---|
controlsObjectNullability, copy, getConverter, getConverterName, getName, getPath |
| Constructor Detail |
|---|
public AbstractAccessorMapping()
| Method Detail |
|---|
protected void copy(AbstractAccessorMapping copy)
public boolean hasAccessors()
hasAccessors in interface OsemMappingpublic Getter getGetter()
ObjectMapping
getGetter in interface ObjectMappingpublic void setGetter(Getter getter)
InternalObjectMapping
setGetter in interface InternalObjectMappingpublic Setter getSetter()
ObjectMapping
getSetter in interface ObjectMappingpublic void setSetter(Setter setter)
InternalObjectMapping
setSetter in interface InternalObjectMappingpublic 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)
InternalObjectMappingPropertyAccessor
(this can be either the FQN of the class name or a regsitered type in the configuration, see
PropertyAccessorFactory.
setAccessor in interface InternalObjectMappingpublic String getPropertyName()
ObjectMapping
getPropertyName in interface ObjectMappingpublic void setPropertyName(String propertyName)
InternalObjectMapping
setPropertyName in interface InternalObjectMappingpublic String getDefinedInAlias()
ObjectMapping
getDefinedInAlias in interface ObjectMappingpublic void setDefinedInAlias(String definedInAlias)
InternalObjectMapping
setDefinedInAlias in interface InternalObjectMapping
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||