|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Mapping
A general interface for all things Mapping in compass. Has a name and a path, where the name is usually the "logical name" of the mapping, and the path is the actual name which it will be saved under in the search engine.
Also provides general support for converters attached to the mappings, which can have parameters associated with them.
| Method Summary | |
|---|---|
boolean |
controlsObjectNullability()
Returns true if the Mapping controlls the fact that if it has no value, it's
parent might be a candidate for being nullable. |
Mapping |
copy()
Copies over the mapping definition into a newly instanciated Mapping object. |
Converter |
getConverter()
Returns the conveter associated with the mapping. |
String |
getConverterName()
Returns the converter name associated with the Mapping. |
String |
getName()
The name of the mapping. |
PropertyPath |
getPath()
Returns the path of the mapping. |
void |
setConverter(Converter converter)
Sets the conveter associated with the mapping. |
void |
setConverterName(String name)
Sets the converter name associated with the Mapping. |
void |
setName(String name)
Sets the name of the mapping. |
void |
setPath(PropertyPath path)
Sets the path of the mapping. |
| Method Detail |
|---|
String getName()
void setName(String name)
PropertyPath getPath()
void setPath(PropertyPath path)
Converter getConverter()
void setConverter(Converter converter)
String getConverterName()
void setConverterName(String name)
boolean controlsObjectNullability()
true if the Mapping controlls the fact that if it has no value, it's
parent might be a candidate for being nullable.
Mapping copy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||