|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ObjectMapping
| Method Summary | |
|---|---|
boolean |
canBeCollectionWrapped()
Returns true if this object mapping can be wrapped
with a Collection or an Array. |
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()
|
void |
setAccessor(String accessor)
Sets the accessor type for this mapping. |
void |
setDefinedInAlias(String alias)
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 interface org.compass.core.mapping.osem.OsemMapping |
|---|
hasAccessors |
| Methods inherited from interface org.compass.core.mapping.Mapping |
|---|
controlsObjectNullability, copy, getConverter, getConverterName, getName, getPath, setConverter, setConverterName, setName, setPath |
| Method Detail |
|---|
String getAccessor()
PropertyAccessor
(this can be either the FQN of the class name or a regsitered type in the configuration, see
PropertyAccessorFactory.
void setAccessor(String accessor)
PropertyAccessor
(this can be either the FQN of the class name or a regsitered type in the configuration, see
PropertyAccessorFactory.
String getPropertyName()
void setPropertyName(String propertyName)
String getDefinedInAlias()
void setDefinedInAlias(String alias)
Getter getGetter()
void setGetter(Getter getter)
Setter getSetter()
void setSetter(Setter setter)
boolean canBeCollectionWrapped()
true if this object mapping can be wrapped
with a Collection or an Array.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||