jade.domain.JADEAgentManagement
Class InstallMTP

java.lang.Object
  |
  +--jade.domain.JADEAgentManagement.InstallMTP
All Implemented Interfaces:
AgentAction, Concept, ContentElement, Serializable, java.io.Serializable, Term

public class InstallMTP
extends java.lang.Object
implements AgentAction

This class represents the install-MTP action of the JADE-agent-management ontology. This action can be requested to the JADE AMS to install a new MTP for inter-platform communication on a given container.

Version:
$Date: 2003-11-24 14:47:00 +0100 (lun, 24 nov 2003) $ $Revision: 4597 $
Author:
Giovanni Rimassa - Universita' di Parma
See Also:
Serialized Form

Constructor Summary
InstallMTP()
          Default constructor.
 
Method Summary
 java.lang.String getAddress()
          Retrieve the value of the address slot of this action, containing the address URL of the MTP to install.
 java.lang.String getClassName()
          Retrieve the value of the class-name slot of this action, containing the name of the Java class implementing the MTP endpoint to install.
 ContainerID getContainer()
          Retrieve the value of the container slot of this action, containing the container identifier of the container where the new MTP is to be deployed.
 void setAddress(java.lang.String a)
          Set the address slot of this action.
 void setClassName(java.lang.String a)
          Set the class-name slot of this action.
 void setContainer(ContainerID cid)
          Set the container slot of this action.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstallMTP

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

Method Detail

setAddress

public void setAddress(java.lang.String a)
Set the address slot of this action.

Parameters:
a - The address URL of the MTP endpoint to install.

getAddress

public java.lang.String getAddress()
Retrieve the value of the address slot of this action, containing the address URL of the MTP to install.

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

setContainer

public void setContainer(ContainerID cid)
Set the container slot of this action.

Parameters:
cid - The container identifier of the container where the new MTP is to be deployed.

getContainer

public ContainerID getContainer()
Retrieve the value of the container slot of this action, containing the container identifier of the container where the new MTP is to be deployed.

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

setClassName

public void setClassName(java.lang.String a)
Set the class-name slot of this action.

Parameters:
a - The name of the Java class implementing the MTP endpoint to install.

getClassName

public java.lang.String getClassName()
Retrieve the value of the class-name slot of this action, containing the name of the Java class implementing the MTP endpoint to install.

Returns:
The value of the class-name slot, or null if no value was set.


JADE