Class RemovedContainer

  • All Implemented Interfaces:
    Concept, Term, Event, Serializable, Serializable

    public class RemovedContainer
    extends Object
    implements Event
    An introspection event, recording the removal of an agent container within the platform.
    Version:
    $Date$ $Revision$
    Author:
    Giovanni Rimassa - Universita' di Parma
    See Also:
    Serialized Form
    • Constructor Detail

      • RemovedContainer

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

      • getName

        public String getName()
        Retrieve the name of this event.
        Specified by:
        getName in interface Event
        Returns:
        A constant value for the event name.
      • setContainer

        public void setContainer​(ContainerID id)
        Set the container slot of this event.
        Parameters:
        id - The container identifier of the newly removed container.
      • getContainer

        public ContainerID getContainer()
        Retrieve the value of the container slot of this event, containing the container identifier of the newly removed container.
        Returns:
        The value of the container slot, or null if no value was set.