|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.org.usurper.handlers.basic.AbstractSpecificPropertyHandler
public abstract class AbstractSpecificPropertyHandler
This is the class to extend in order to implement a handler for a specific property of a given class.
| Constructor Summary | |
|---|---|
AbstractSpecificPropertyHandler(java.lang.Class<?> valueObjectClass,
java.lang.String handledFieldName)
This constructor takes a class and a field name as parameters |
|
AbstractSpecificPropertyHandler(SpecificPropertyDefinition specificPropertyDefinition)
This constructor takes a SpecificPropertyDefinition as a parameter |
|
| Method Summary | |
|---|---|
java.lang.String |
getHandledPropertyName()
Deprecated. prefer access through the specificPropertyDefinition attribute |
SpecificPropertyDefinition |
getTargetProperty()
Gets the target property definition. |
java.lang.Class<?> |
getValueObjectClass()
Deprecated. prefer access through the specificPropertyDefinition attribute |
void |
setHandledPropertyName(java.lang.String handledFieldName)
Deprecated. prefer the constructor |
void |
setValueObjectClass(java.lang.Class<?> valueObjectClass)
Deprecated. prefer the constructor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.org.usurper.handlers.IHandler |
|---|
handle, handle |
| Constructor Detail |
|---|
public AbstractSpecificPropertyHandler(SpecificPropertyDefinition specificPropertyDefinition)
specificPropertyDefinition -
public AbstractSpecificPropertyHandler(java.lang.Class<?> valueObjectClass,
java.lang.String handledFieldName)
valueObjectClass - handledFieldName - | Method Detail |
|---|
public java.lang.String getHandledPropertyName()
public void setHandledPropertyName(java.lang.String handledFieldName)
handledFieldName - the handled field namepublic java.lang.Class<?> getValueObjectClass()
public void setValueObjectClass(java.lang.Class<?> valueObjectClass)
valueObjectClass - The valueObjectClass to set.public SpecificPropertyDefinition getTargetProperty()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||