|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compass.core.mapping.support.AbstractMapping
public abstract class AbstractMapping
A based implementation for basic mapping in Compass.
| Constructor Summary | |
|---|---|
AbstractMapping()
|
|
| 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. |
protected void |
copy(InternalMapping copy)
|
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 converterName)
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. |
| 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.Mapping |
|---|
copy |
| Constructor Detail |
|---|
public AbstractMapping()
| Method Detail |
|---|
protected void copy(InternalMapping copy)
public boolean controlsObjectNullability()
Mappingtrue if the Mapping controlls the fact that if it has no value, it's
parent might be a candidate for being nullable.
controlsObjectNullability in interface Mappingpublic Converter getConverter()
Mapping
getConverter in interface Mappingpublic void setConverter(Converter converter)
InternalMapping
setConverter in interface InternalMappingpublic String getName()
Mapping
getName in interface Mappingpublic void setName(String name)
InternalMapping
setName in interface InternalMappingpublic PropertyPath getPath()
Mapping
getPath in interface Mappingpublic void setPath(PropertyPath path)
InternalMapping
setPath in interface InternalMappingpublic String getConverterName()
Mapping
getConverterName in interface Mappingpublic void setConverterName(String converterName)
InternalMapping
setConverterName in interface InternalMapping
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||