net.dpml.state
Class ExecAction

java.lang.Object
  extended bynet.dpml.state.ExecAction
All Implemented Interfaces:
Action, Serializable

public class ExecAction
extends Object
implements Action, Serializable

Default implementation of delegating action.

Version:
1.0.1
Author:
Digital Product Meta Library
See Also:
Serialized Form

Constructor Summary
ExecAction(String id)
          Creation of a new exec action.
 
Method Summary
 boolean equals(Object other)
          Compare this object to another for equality.
 String getID()
          Return the id of the transition to apply.
 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

ExecAction

public ExecAction(String id)
Creation of a new exec action.

Parameters:
id - operation name
Method Detail

getName

public String getName()
Return the action name.

Specified by:
getName in interface Action
Returns:
the name

getID

public String getID()
Return the id of the transition to apply.

Returns:
the transition id

equals

public boolean equals(Object other)
Compare this object to another for equality.

Parameters:
other - the other object
Returns:
true if the object is equal to this object

hashCode

public int hashCode()
Compute the hashcode for this instance.

Returns:
the hashcode value

toString

public String toString()
Return a string representation of the instance.

Returns:
the string value