jade.domain.introspection
Class AddedMTP

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

public class AddedMTP
extends java.lang.Object
implements Event

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

Version:
$Date: 2003-11-19 17:04:37 +0100 (Wed, 19 Nov 2003) $ $Revision: 4567 $
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
AddedMTP()
          Default constructor.
 
Method Summary
 java.lang.String getAddress()
          Retrieve the value of the address slot of this event, containing the address URL of the newly added MTP.
 java.lang.String getName()
          Retrieve the name of this event.
 java.lang.String getProto()
          Retrieve the value of the proto slot of this event, containing the protocol name for the newly added MTP.
 ContainerID getWhere()
          Retrieve the value of the where slot of this event, containing the container identifier of the container where the newly added MTP was deployed.
 void setAddress(java.lang.String s)
          Set the address of this event.
 void setProto(java.lang.String p)
          Set the proto slot of this event.
 void setWhere(ContainerID id)
          Set the where slot 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

AddedMTP

public AddedMTP()
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.

setAddress

public void setAddress(java.lang.String s)
Set the address of this event.

Parameters:
s - The address URL exported by the newly added MTP.

getAddress

public java.lang.String getAddress()
Retrieve the value of the address slot of this event, containing the address URL of the newly added MTP.

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

setProto

public void setProto(java.lang.String p)
Set the proto slot of this event.

Parameters:
p - The protocol name for the newly added MTP.

getProto

public java.lang.String getProto()
Retrieve the value of the proto slot of this event, containing the protocol name for the newly added MTP.

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

setWhere

public void setWhere(ContainerID id)
Set the where slot of this event.

Parameters:
id - The container identifier of the container where the newly added MTP 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 added MTP was deployed.

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


JADE