fipaos.ont.fipa
Class DoneAction

java.lang.Object
  |
  +--fipaos.ont.fipa.DoneAction
All Implemented Interfaces:
java.io.Serializable

public class DoneAction
extends java.lang.Object
implements java.io.Serializable

A wrapper for an object which signals that a given action completed with the given result

See Also:
Serialized Form

Constructor Summary
DoneAction()
           
 
Method Summary
 Action getAction()
          Returns the action that was executed
 Result getResult()
          Returns the results of executing the action
 void setAction(Action action)
          Sets the action that was executed
 void setResult(Result result)
          Sets the result of executing the action
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoneAction

public DoneAction()
Method Detail

getAction

public Action getAction()
Returns the action that was executed
Returns:
Action. The action that was executed

setAction

public void setAction(Action action)
Sets the action that was executed
Parameters:
action - The action that was executed

getResult

public Result getResult()
Returns the results of executing the action
Returns:
Result. The result object

setResult

public void setResult(Result result)
Sets the result of executing the action
Parameters:
result - Result. The result of the action