|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compass.core.util.FieldInvoker
public class FieldInvoker
| Constructor Summary | |
|---|---|
FieldInvoker(Class targetClass,
String tagetField)
|
|
| Method Summary | |
|---|---|
Object |
get()
|
Object |
get(Object targetObject)
|
Class |
getTargetClass()
Return the target class on which to call the target method. |
String |
getTargetField()
Return the name of the field to be invoked. |
Object |
getTargetObject()
Return the target object on which to call the target method. |
Object |
getTargetValue()
|
FieldInvoker |
prepare()
|
void |
set()
|
void |
set(Object targetObject,
Object targetValue)
|
void |
setTargetClass(Class targetClass)
Set the target class on which to call the target method. |
void |
setTargetField(String targetField)
Set the name of the field to be invoked. |
void |
setTargetObject(Object targetObject)
Set the target object on which to call the target method. |
void |
setTargetValue(Object targetValue)
Sets the value that will be set to the field |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FieldInvoker(Class targetClass,
String tagetField)
| Method Detail |
|---|
public FieldInvoker prepare()
throws NoSuchFieldException
NoSuchFieldExceptionpublic void setTargetClass(Class targetClass)
setTargetObject(java.lang.Object)public Class getTargetClass()
public void setTargetObject(Object targetObject)
setTargetClass(java.lang.Class)public Object getTargetObject()
public void setTargetField(String targetField)
setTargetClass(java.lang.Class),
setTargetObject(java.lang.Object)public String getTargetField()
public Object getTargetValue()
public void setTargetValue(Object targetValue)
public Object get()
throws IllegalAccessException
IllegalAccessException
public Object get(Object targetObject)
throws IllegalAccessException
IllegalAccessException
public void set()
throws IllegalAccessException
IllegalAccessException
public void set(Object targetObject,
Object targetValue)
throws IllegalAccessException
IllegalAccessException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||