org.nakedobjects.object.reflect
Class Action
java.lang.Object
org.nakedobjects.object.reflect.Member
org.nakedobjects.object.reflect.Action
- public class Action
- extends Member
| Fields inherited from class org.nakedobjects.object.reflect.Member |
DEFAULT |
|
Constructor Summary |
Action(java.lang.String name,
java.lang.reflect.Method method,
java.lang.reflect.Method about)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Action
public Action(java.lang.String name,
java.lang.reflect.Method method,
java.lang.reflect.Method about)
getAbout
public About getAbout(NakedObject object)
getAbout
public About getAbout(NakedObject object,
NakedObject parameter1)
getAbout
public About getAbout(NakedObject object,
NakedObject[] parameters)
getLabel
public java.lang.String getLabel(NakedObject object)
- Return a label string that is specified in the About, if there is one, or is derived from
method name, if there is no About or its name is set to null.
execute
public NakedObject execute(NakedObject object)
execute
public NakedObject execute(NakedObject object,
NakedObject parameter1)
execute
public NakedObject execute(NakedObject object,
NakedObject[] parameters)
hasReturnValue
public boolean hasReturnValue()
- Returns true if the represented method returns something, else returns false.
parameterTypes
public java.lang.Class[] parameterTypes()
toString
public java.lang.String toString()
- Overrides:
toString in class Member