jade.domain.mobility
Class CloneAction

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

public class CloneAction
extends MoveAction

This class represents the clone-agent action, requesting to clone an agent within the platform.

Version:
$Date: 2003-11-19 17:04:37 +0100 (mer, 19 nov 2003) $ $Revision: 4567 $
Author:
Giovanni Rimassa - Universita' di Parma
See Also:
Serialized Form

Constructor Summary
CloneAction()
          Default constructor.
 
Method Summary
 java.lang.String getNewName()
          Retrieve the value of the new-name slot of this event, containing the new local name (i.e. without the platform ID) for the new, cloned agent.
 void setNewName(java.lang.String nn)
          Set the new-name slot of this action.
 
Methods inherited from class jade.domain.mobility.MoveAction
getMobileAgentDescription, setMobileAgentDescription
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CloneAction

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

Method Detail

setNewName

public void setNewName(java.lang.String nn)
Set the new-name slot of this action.

Parameters:
nn - The new local name (i.e. without the platform ID) for the new, cloned agent.

getNewName

public java.lang.String getNewName()
Retrieve the value of the new-name slot of this event, containing the new local name (i.e. without the platform ID) for the new, cloned agent.

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


JADE