|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.dpml.state.DefaultOperation
Default implementation of an operation.
Constructor Summary | |
DefaultOperation(String name)
Creation of a new operation. |
|
DefaultOperation(String name,
String method)
Creation of a new operation. |
Method Summary | |
boolean |
equals(Object other)
Compare this object to another for equality. |
String |
getMethodName()
Return the optional overriding method name. |
String |
getName()
Return the action name. |
int |
hashCode()
Compute the hashcode for this instance. |
String |
toString()
Return a string representation of the instance. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DefaultOperation(String name) throws NullPointerException
name
- the operation name
NullPointerException
- if the operation name is nullpublic DefaultOperation(String name, String method) throws NullPointerException
name
- the operation namemethod
- the overriding method name
NullPointerException
- if the operation name is nullMethod Detail |
public String getName()
getName
in interface Action
public String getMethodName()
getMethodName
in interface Operation
public String toString()
public boolean equals(Object other)
other
- the other object
public int hashCode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |