jade.domain.introspection
Class KillContainerRequested

java.lang.Object
  |
  +--jade.domain.introspection.KillContainerRequested
All Implemented Interfaces:
Concept, Event, Serializable, java.io.Serializable, Term

public class KillContainerRequested
extends java.lang.Object
implements Event

This class represents the kill-container-requested concept in the jade-introspection ontology.

Since:
JADE 3.4
Author:
Giovanni Caire - TILAB
See Also:
Serialized Form

Field Summary
static java.lang.String NAME
          A string constant for the name of this event.
 
Constructor Summary
KillContainerRequested()
          Default constructor.
 
Method Summary
 ContainerID getContainer()
          Retrieve the value of the container slot of this event, containing the identifier of the container that is requested to be killed.
 java.lang.String getName()
          Retrieve the name of this event.
 void setContainer(ContainerID id)
          Set the container of this event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final java.lang.String NAME
A string constant for the name of this event.

See Also:
Constant Field Values
Constructor Detail

KillContainerRequested

public KillContainerRequested()
Default constructor. A default constructor is necessary for ontological classes.

Method Detail

getName

public java.lang.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 of this event.

Parameters:
id - The container identifier of the container that is requested to be killed.

getContainer

public ContainerID getContainer()
Retrieve the value of the container slot of this event, containing the identifier of the container that is requested to be killed.

Returns:
The value of the container slot, or null if no value was set.


JADE