jade.domain.JADEAgentManagement
Class WhereIsAgentAction

java.lang.Object
  |
  +--jade.domain.JADEAgentManagement.WhereIsAgentAction
All Implemented Interfaces:
AgentAction, Concept, ContentElement, java.io.Serializable, Serializable, Term

public class WhereIsAgentAction
extends java.lang.Object
implements AgentAction

This class represents the where-is-agent action of the JADE-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: 2003-11-24 14:47:00 +0100 (Mon, 24 Nov 2003) $ $Revision: 4597 $
Author:
Giovanni Rimassa - Universita' di Parma
See Also:
Serialized Form

Constructor Summary
WhereIsAgentAction()
          Default constructor.
 
Method Summary
 AID getAgentIdentifier()
          Retrieve the value of the agent-identifier slot of this action, containing the agent identifier for the agent whose location is requested.
 void setAgentIdentifier(AID id)
          Set the agent-identifier slot of this action.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WhereIsAgentAction

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

Method Detail

setAgentIdentifier

public void setAgentIdentifier(AID id)
Set the agent-identifier slot of this action.

Parameters:
id - The agent identifier for the agent whose location is requested.

getAgentIdentifier

public AID getAgentIdentifier()
Retrieve the value of the agent-identifier slot of this action, containing the agent identifier for the agent whose location is requested.

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


JADE