|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jade.domain.FIPAAgentManagement.AMSAgentDescription
This class implements the concept of the fipa-agent-management ontology representing the description of an Agent in the AMS catalogue.
FIPAManagementOntology
,
AMSService
,
Serialized FormField Summary | |
static java.lang.String |
ACTIVE
String constant for the active agent life-cycle
state. |
static java.lang.String |
INITIATED
String constant for the initiated agent life-cycle
state. |
static java.lang.String |
LATENT
String constant for the latent agent life-cycle
state. |
static java.lang.String |
SUSPENDED
String constant for the suspended agent life-cycle
state. |
static java.lang.String |
TRANSIT
String constant for the transit agent life-cycle
state. |
static java.lang.String |
WAITING
String constant for the waiting agent life-cycle
state. |
Constructor Summary | |
AMSAgentDescription()
Default constructor. |
Method Summary | |
AID |
getName()
Retrieve the name slot of this object. |
java.lang.String |
getOwnership()
Retrieve the ownership slot of this object. |
java.lang.String |
getState()
Retrieve the state slot of this object. |
void |
setName(AID n)
Set the name slot of this object. |
void |
setOwnership(java.lang.String n)
Set the ownership slot of this object. |
void |
setState(java.lang.String n)
Set the state slot of this object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String INITIATED
initiated
agent life-cycle
state.
public static final java.lang.String ACTIVE
active
agent life-cycle
state.
public static final java.lang.String SUSPENDED
suspended
agent life-cycle
state.
public static final java.lang.String WAITING
waiting
agent life-cycle
state.
public static final java.lang.String TRANSIT
transit
agent life-cycle
state.
public static final java.lang.String LATENT
latent
agent life-cycle
state. JADE specific state indicating an agent waiting to be restored after a
crash of the main container
Constructor Detail |
public AMSAgentDescription()
Method Detail |
public void setName(AID n)
name
slot of this object.
n
- The agent identifier for the name.public void setOwnership(java.lang.String n)
ownership
slot of this object.
n
- The string for the ownership.public void setState(java.lang.String n)
state
slot of this object.
n
- The string for the state.public AID getName()
name
slot of this object.
name
slot, or
null
if no value was set.public java.lang.String getOwnership()
ownership
slot of this object.
ownership
slot, or
null
if no value was set.public java.lang.String getState()
state
slot of this object.
state
slot, or
null
if no value was set.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |