jade.domain.introspection
Class AddedContainer

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

public class AddedContainer
extends java.lang.Object
implements Event

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

Version:
$Date: 2005-08-24 17:21:34 +0200 (mer, 24 ago 2005) $ $Revision: 5758 $
Author:
Giovanni Rimassa - Universita' di Parma
See Also:
Serialized Form

Field Summary
static java.lang.String NAME
          A string constant for the name of this event.
 
Constructor Summary
AddedContainer()
          Default constructor.
 
Method Summary
 ContainerID getContainer()
          Retrieve the value of the container slot of this event, containing the container identifier of the newly added container.
 java.lang.String getName()
          Retrieve the name of this event.
 java.lang.String getOwnership()
          Retrieve the value of the ownership slot of this event, containing the name of the entity owning the newly added container.
 void setContainer(ContainerID id)
          Set the container of this event.
 void setOwnership(java.lang.String o)
          Set the ownership 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

AddedContainer

public AddedContainer()
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 newly added container.

getContainer

public ContainerID getContainer()
Retrieve the value of the container slot of this event, containing the container identifier of the newly added container.

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

setOwnership

public void setOwnership(java.lang.String o)
Set the ownership of this event.

Parameters:
o - The name of the entity owning the newly added container.

getOwnership

public java.lang.String getOwnership()
Retrieve the value of the ownership slot of this event, containing the name of the entity owning the newly added container.

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


JADE