Package jade.domain.mobility
Class MobileAgentDescription
- java.lang.Object
-
- jade.domain.mobility.MobileAgentDescription
-
- All Implemented Interfaces:
Concept,Term,Serializable,Serializable
public class MobileAgentDescription extends Object implements Concept
This class represents themobile-agent-descriptionconcept.- Version:
- $Date$ $Revision$
- Author:
- Giovanni Rimassa - Universita' di Parma
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MobileAgentDescription()Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MobileAgentProfilegetAgentProfile()Retrieve the value of theagent-profileslot of this event, containing the profile for the descrbed agent.StringgetAgentVersion()Retrieve the value of theagent-versionslot of this event, containing the version string for the described agent.LocationgetDestination()Retrieve the value of thedestinationslot of this event, containing the destination of the mobility operation performed by the described agent.AIDgetName()Retrieve the value of thenameslot of this event, containing the agent identifier of the described agent.StringgetSignature()Retrieve the value of thesignatureslot of this event, containing the signature string for the described agent.voidsetAgentProfile(MobileAgentProfile ap)Set theagent-profileslot of this action.voidsetAgentVersion(String v)Set theagent-versionslot of this action.voidsetDestination(Location d)Set thedestinationslot of this action.voidsetName(AID id)Set thenameslot of this action.voidsetSignature(String s)Set thesignatureslot of this action.
-
-
-
Method Detail
-
setName
public void setName(AID id)
Set thenameslot of this action.- Parameters:
id- The agent identifier of the described agent.
-
getName
public AID getName()
Retrieve the value of thenameslot of this event, containing the agent identifier of the described agent.- Returns:
- The value of the
nameslot, ornullif no value was set.
-
setDestination
public void setDestination(Location d)
Set thedestinationslot of this action.- Parameters:
d- The destination of the mobility operation performed by the described agent.
-
getDestination
public Location getDestination()
Retrieve the value of thedestinationslot of this event, containing the destination of the mobility operation performed by the described agent.- Returns:
- The value of the
destinationslot, ornullif no value was set.
-
setAgentProfile
public void setAgentProfile(MobileAgentProfile ap)
Set theagent-profileslot of this action.- Parameters:
ap- The profile for the described agent.
-
getAgentProfile
public MobileAgentProfile getAgentProfile()
Retrieve the value of theagent-profileslot of this event, containing the profile for the descrbed agent.- Returns:
- The value of the
agent-profileslot, ornullif no value was set.
-
setAgentVersion
public void setAgentVersion(String v)
Set theagent-versionslot of this action.- Parameters:
v- The version string for the described agent.
-
getAgentVersion
public String getAgentVersion()
Retrieve the value of theagent-versionslot of this event, containing the version string for the described agent.- Returns:
- The value of the
agent-versionslot, ornullif no value was set.
-
setSignature
public void setSignature(String s)
Set thesignatureslot of this action.- Parameters:
nn- The signature string for the described agent.
-
getSignature
public String getSignature()
Retrieve the value of thesignatureslot of this event, containing the signature string for the described agent.- Returns:
- The value of the
signatureslot, ornullif no value was set.
-
-