Class WhereIsAgentAction

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

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