jade.domain.JADEAgentManagement
Class QueryAgentsOnLocation

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

public class QueryAgentsOnLocation
extends java.lang.Object
implements AgentAction

This class represents the query-agents-on-location action of the JADE-agent-management ontology. This action can be requested to the JADE AMS to retrieve the list of agents running on a given container.

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
QueryAgentsOnLocation()
          Default constructor.
 
Method Summary
 Location getLocation()
          Retrieve the value of the location slot of this event, containing the location for which the agent list is requested.
 void setLocation(Location loc)
          Set the location slot of this action.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryAgentsOnLocation

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

Method Detail

setLocation

public void setLocation(Location loc)
Set the location slot of this action.

Parameters:
loc - The location for which the agent list is requested.

getLocation

public Location getLocation()
Retrieve the value of the location slot of this event, containing the location for which the agent list is requested.

Returns:
The value of the location slot, or null if no value was set.


JADE