jade.domain.FIPAAgentManagement
Class AMSAgentDescription

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

public class AMSAgentDescription
extends java.lang.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: 2006-12-14 17:26:48 +0100 (gio, 14 dic 2006) $ $Revision: 5916 $
Author:
Fabio Bellifemine - CSELT S.p.A.
See Also:
FIPAManagementOntology, AMSService, Serialized Form

Field 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

INITIATED

public static final java.lang.String INITIATED
String constant for the initiated agent life-cycle state.

See Also:
Constant Field Values

ACTIVE

public static final java.lang.String ACTIVE
String constant for the active agent life-cycle state.

See Also:
Constant Field Values

SUSPENDED

public static final java.lang.String SUSPENDED
String constant for the suspended agent life-cycle state.

See Also:
Constant Field Values

WAITING

public static final java.lang.String WAITING
String constant for the waiting agent life-cycle state.

See Also:
Constant Field Values

TRANSIT

public static final java.lang.String TRANSIT
String constant for the transit agent life-cycle state.

See Also:
Constant Field Values

LATENT

public static final java.lang.String LATENT
String constant for the latent agent 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
Constructor Detail

AMSAgentDescription

public AMSAgentDescription()
Default constructor.

Method Detail

setName

public void setName(AID n)
Set the name slot of this object.

Parameters:
n - The agent identifier for the name.

setOwnership

public void setOwnership(java.lang.String n)
Set the ownership slot of this object.

Parameters:
n - The string for the ownership.

setState

public void setState(java.lang.String n)
Set the state slot of this object.

Parameters:
n - The string for the state.

getName

public AID getName()
Retrieve the name slot of this object.

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

getOwnership

public java.lang.String getOwnership()
Retrieve the ownership slot of this object.

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

getState

public java.lang.String getState()
Retrieve the state slot of this object.

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


JADE