Package jade.domain.JADEAgentManagement
Class WhereIsAgentAction
- java.lang.Object
-
- jade.domain.JADEAgentManagement.WhereIsAgentAction
-
- All Implemented Interfaces:
AgentAction,Concept,ContentElement,Term,Serializable,Serializable
public class WhereIsAgentAction extends Object implements AgentAction
This class represents thewhere-is-agentaction of theJADE-agent-management ontology. This action can be requested to the JADE AMS to know the container a given agent is currently running on.- Version:
- $Date$ $Revision$
- Author:
- Giovanni Rimassa - Universita' di Parma
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WhereIsAgentAction()Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AIDgetAgentIdentifier()Retrieve the value of theagent-identifierslot of this action, containing the agent identifier for the agent whose location is requested.voidsetAgentIdentifier(AID id)Set theagent-identifierslot of this action.
-
-
-
Method Detail
-
setAgentIdentifier
public void setAgentIdentifier(AID id)
Set theagent-identifierslot of this action.- Parameters:
id- The agent identifier for the agent whose location is requested.
-
getAgentIdentifier
public AID getAgentIdentifier()
Retrieve the value of theagent-identifierslot of this action, containing the agent identifier for the agent whose location is requested.- Returns:
- The value of the
agent-identifierslot, ornullif no value was set.
-
-