|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.formaria.aria.MethodReference
org.formaria.aria.PojoMethodReference
public class PojoMethodReference
A method reference wrapping pojo model nodes
Copyright (c) Formaria Ltd., 2008
License: see license.txt
| Field Summary | |
|---|---|
DataModel |
model
|
DataModel[] |
nodes
|
| Fields inherited from class org.formaria.aria.MethodReference |
|---|
args, clazz, instance, method |
| Constructor Summary | |
|---|---|
PojoMethodReference(java.lang.Class cls,
DataModel ownerModel,
java.lang.reflect.Method m,
DataModel[] arguments,
boolean updateable)
Create a new method reference |
|
| Method Summary | |
|---|---|
void |
updateArgs()
Update the arguments and instance references, looking up the model nodes as needed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public DataModel[] nodes
public DataModel model
| Constructor Detail |
|---|
public PojoMethodReference(java.lang.Class cls,
DataModel ownerModel,
java.lang.reflect.Method m,
DataModel[] arguments,
boolean updateable)
cls - the class containing teh methodownerInstance - the instance of the object containing the methodm - the methodarguments - the argument valuesupdateable - true if the values need to be updated prior to a call. A
pojo may contain a node value that varies during the life of an application
and the current value of this node may be requred for an individual call.| Method Detail |
|---|
public void updateArgs()
updateArgs in class MethodReference
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||