jade.domain.mobility
Class MoveAction

java.lang.Object
  |
  +--jade.domain.mobility.MoveAction
All Implemented Interfaces:
AgentAction, Concept, ContentElement, java.io.Serializable, Serializable, Term
Direct Known Subclasses:
CloneAction

public class MoveAction
extends java.lang.Object
implements AgentAction

This class represents the move-agent action, requesting to move an agent within the platform.

Version:
$Date: 2003-11-19 17:04:37 +0100 (Wed, 19 Nov 2003) $ $Revision: 4567 $
Author:
Giovanni Rimassa - Universita' di Parma
See Also:
Serialized Form

Constructor Summary
MoveAction()
          Default constructor.
 
Method Summary
 MobileAgentDescription getMobileAgentDescription()
          Retrieve the value of the mobile-agent-description slot of this event, containing the description of the agent to migrate.
 void setMobileAgentDescription(MobileAgentDescription desc)
          Set the mobile-agent-description slot of this action.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MoveAction

public MoveAction()
Default constructor. A default constructor is necessary for ontological classes.

Method Detail

setMobileAgentDescription

public void setMobileAgentDescription(MobileAgentDescription desc)
Set the mobile-agent-description slot of this action.

Parameters:
desc - The description of the agent to migrate.

getMobileAgentDescription

public MobileAgentDescription getMobileAgentDescription()
Retrieve the value of the mobile-agent-description slot of this event, containing the description of the agent to migrate.

Returns:
The value of the mobile-agent-description slot, or null if no value was set.


JADE