Package jade.domain.FIPAAgentManagement
Class AMSAgentDescription
- java.lang.Object
-
- jade.domain.FIPAAgentManagement.AMSAgentDescription
-
- All Implemented Interfaces:
Concept,Term,Serializable,Serializable
public class AMSAgentDescription extends Object implements Concept
This class implements the concept of the fipa-agent-management ontology representing the description of an Agent in the AMS catalogue.- Version:
- $Date$ $Revision$
- Author:
- Fabio Bellifemine - CSELT S.p.A.
- See Also:
FIPAManagementOntology,AMSService, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringACTIVEString constant for theactiveagent life-cycle state.static StringINITIATEDString constant for theinitiatedagent life-cycle state.static StringLATENTString constant for thelatentagent life-cycle state.static StringSUSPENDEDString constant for thesuspendedagent life-cycle state.static StringTRANSITString constant for thetransitagent life-cycle state.static StringWAITINGString constant for thewaitingagent life-cycle state.
-
Constructor Summary
Constructors Constructor Description AMSAgentDescription()Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AIDgetName()Retrieve thenameslot of this object.StringgetOwnership()Retrieve theownershipslot of this object.StringgetState()Retrieve thestateslot of this object.voidsetName(AID n)Set thenameslot of this object.voidsetOwnership(String n)Set theownershipslot of this object.voidsetState(String n)Set thestateslot of this object.
-
-
-
Field Detail
-
INITIATED
public static final String INITIATED
String constant for theinitiatedagent life-cycle state.- See Also:
- Constant Field Values
-
ACTIVE
public static final String ACTIVE
String constant for theactiveagent life-cycle state.- See Also:
- Constant Field Values
-
SUSPENDED
public static final String SUSPENDED
String constant for thesuspendedagent life-cycle state.- See Also:
- Constant Field Values
-
WAITING
public static final String WAITING
String constant for thewaitingagent life-cycle state.- See Also:
- Constant Field Values
-
TRANSIT
public static final String TRANSIT
String constant for thetransitagent life-cycle state.- See Also:
- Constant Field Values
-
LATENT
public static final String LATENT
String constant for thelatentagent life-cycle state. JADE specific state indicating an agent waiting to be restored after a crash of the main container- See Also:
- Constant Field Values
-
-
Method Detail
-
setName
public void setName(AID n)
Set thenameslot of this object.- Parameters:
n- The agent identifier for the name.
-
setOwnership
public void setOwnership(String n)
Set theownershipslot of this object.- Parameters:
n- The string for the ownership.
-
setState
public void setState(String n)
Set thestateslot of this object.- Parameters:
n- The string for the state.
-
getName
public AID getName()
Retrieve thenameslot of this object.- Returns:
- The value of the
nameslot, ornullif no value was set.
-
getOwnership
public String getOwnership()
Retrieve theownershipslot of this object.- Returns:
- The value of the
ownershipslot, ornullif no value was set.
-
getState
public String getState()
Retrieve thestateslot of this object.- Returns:
- The value of the
stateslot, ornullif no value was set.
-
-