Package jade.domain.mobility
Class MoveAction
- java.lang.Object
-
- jade.domain.mobility.MoveAction
-
- All Implemented Interfaces:
AgentAction,Concept,ContentElement,Term,Serializable,Serializable
- Direct Known Subclasses:
CloneAction
public class MoveAction extends Object implements AgentAction
This class represents themove-agentaction, requesting to move an agent within the platform.- Version:
- $Date$ $Revision$
- Author:
- Giovanni Rimassa - Universita' di Parma
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MoveAction()Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MobileAgentDescriptiongetMobileAgentDescription()Retrieve the value of themobile-agent-descriptionslot of this event, containing the description of the agent to migrate.voidsetMobileAgentDescription(MobileAgentDescription desc)Set themobile-agent-descriptionslot of this action.
-
-
-
Method Detail
-
setMobileAgentDescription
public void setMobileAgentDescription(MobileAgentDescription desc)
Set themobile-agent-descriptionslot of this action.- Parameters:
desc- The description of the agent to migrate.
-
getMobileAgentDescription
public MobileAgentDescription getMobileAgentDescription()
Retrieve the value of themobile-agent-descriptionslot of this event, containing the description of the agent to migrate.- Returns:
- The value of the
mobile-agent-descriptionslot, ornullif no value was set.
-
-