Class StartNotify

    • Constructor Detail

      • StartNotify

        public StartNotify()
        Default constructor. A default constructor is necessary for ontological classes.
    • Method Detail

      • setObserved

        public void setObserved​(AID id)
        Set the observed slot of this action.
        Parameters:
        id - The agent identifier of the agent whose events will be notified from now on.
      • getObserved

        public AID getObserved()
        Retrieve the value of the observed slot of this event, containing the agent identifier of the agent whose events will be notified from now on.
        Returns:
        The value of the observed slot, or null if no value was set.
      • addEvents

        public void addEvents​(String evName)
        Add an event name to the events slot collection of this object.
        Parameters:
        evName - The event name to add to the collection.
      • getAllEvents

        public Iterator getAllEvents()
        Remove all event names from the events slot collection of this object.