jade.domain.mobility
Class MobileAgentDescription

java.lang.Object
  |
  +--jade.domain.mobility.MobileAgentDescription
All Implemented Interfaces:
Concept, java.io.Serializable, Serializable, Term

public class MobileAgentDescription
extends java.lang.Object
implements Concept

This class represents the mobile-agent-description concept.

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

Constructor Summary
MobileAgentDescription()
          Default constructor.
 
Method Summary
 MobileAgentProfile getAgentProfile()
          Retrieve the value of the agent-profile slot of this event, containing the profile for the descrbed agent.
 java.lang.String getAgentVersion()
          Retrieve the value of the agent-version slot of this event, containing the version string for the described agent.
 Location getDestination()
          Retrieve the value of the destination slot of this event, containing the destination of the mobility operation performed by the described agent.
 AID getName()
          Retrieve the value of the name slot of this event, containing the agent identifier of the described agent.
 java.lang.String getSignature()
          Retrieve the value of the signature slot of this event, containing the signature string for the described agent.
 void setAgentProfile(MobileAgentProfile ap)
          Set the agent-profile slot of this action.
 void setAgentVersion(java.lang.String v)
          Set the agent-version slot of this action.
 void setDestination(Location d)
          Set the destination slot of this action.
 void setName(AID id)
          Set the name slot of this action.
 void setSignature(java.lang.String s)
          Set the signature slot of this action.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MobileAgentDescription

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

Method Detail

setName

public void setName(AID id)
Set the name slot of this action.

Parameters:
id - The agent identifier of the described agent.

getName

public AID getName()
Retrieve the value of the name slot of this event, containing the agent identifier of the described agent.

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

setDestination

public void setDestination(Location d)
Set the destination slot of this action.

Parameters:
d - The destination of the mobility operation performed by the described agent.

getDestination

public Location getDestination()
Retrieve the value of the destination slot of this event, containing the destination of the mobility operation performed by the described agent.

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

setAgentProfile

public void setAgentProfile(MobileAgentProfile ap)
Set the agent-profile slot of this action.

Parameters:
ap - The profile for the described agent.

getAgentProfile

public MobileAgentProfile getAgentProfile()
Retrieve the value of the agent-profile slot of this event, containing the profile for the descrbed agent.

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

setAgentVersion

public void setAgentVersion(java.lang.String v)
Set the agent-version slot of this action.

Parameters:
v - The version string for the described agent.

getAgentVersion

public java.lang.String getAgentVersion()
Retrieve the value of the agent-version slot of this event, containing the version string for the described agent.

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

setSignature

public void setSignature(java.lang.String s)
Set the signature slot of this action.


getSignature

public java.lang.String getSignature()
Retrieve the value of the signature slot of this event, containing the signature string for the described agent.

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


JADE