Class QueryAgentsOnLocation

  • All Implemented Interfaces:
    AgentAction, Concept, ContentElement, Term, Serializable, Serializable

    public class QueryAgentsOnLocation
    extends 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$ $Revision$
    Author:
    Giovanni Rimassa - Universita' di Parma
    See Also:
    Serialized Form
    • 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.