public class AMSAgentDescription extends java.lang.Object implements Concept
FIPAManagementOntology
,
AMSService
,
Serialized FormModifier and Type | Field and Description |
---|---|
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 and Description |
---|
AMSAgentDescription()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
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. |
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 containerpublic 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.