|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.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 null
public DefaultOperation(String name,
String method)
throws NullPointerException
name - the operation namemethod - the overriding method name
NullPointerException - if the operation name is null| Method Detail |
public String getName()
getName in interface Actionpublic String getMethodName()
getMethodName in interface Operationpublic 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 | ||||||||||