Class DeadAgent

    • Constructor Detail

      • DeadAgent

        public DeadAgent()
        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.
      • setWhere

        public void setWhere​(ContainerID id)
        Set the where slot of this event.
        Parameters:
        id - The container identifier of the container where the newly dead agent was deployed.
      • getWhere

        public ContainerID getWhere()
        Retrieve the value of the where slot of this event, containing the container identifier of the container where the newly dead agent was deployed.
        Returns:
        The value of the where slot, or null if no value was set.
      • setAgent

        public void setAgent​(AID id)
        Set the agent slot of this event.
        Parameters:
        id - The agent identifier of the newly dead agent.
      • getAgent

        public AID getAgent()
        Retrieve the value of the agent slot of this event, containing the agent identifier of the newly dead agent.
        Returns:
        The value of the agent slot, or null if no value was set.
      • getContainerRemoved

        public Boolean getContainerRemoved()
      • setContainerRemoved

        public void setContainerRemoved​(Boolean cr)