fipaos.ont.fipa
Class Action

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

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

A wrapper object for the ACL message content for the action to be executed

See Also:
Serialized Form

Constructor Summary
Action()
           
 
Method Summary
 java.lang.Object getAction()
          Returns the action to be executed
 AgentID getActor()
          Returns the actor agent
 void setAction(java.lang.Object action)
          Sets the action object to be executed
 void setActor(AgentID actor)
          Sets the actor agent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Action

public Action()
Method Detail

getActor

public AgentID getActor()
Returns the actor agent
Returns:
AgentID. The actor agent

setActor

public void setActor(AgentID actor)
Sets the actor agent
Parameters:
actor - The actor agent

getAction

public java.lang.Object getAction()
Returns the action to be executed
Returns:
Object. The action object

setAction

public void setAction(java.lang.Object action)
Sets the action object to be executed
Parameters:
action - The action object