| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
FIPA defined AMS Agent Description class for the FIPA agent management ontology.
See FIPA 2000 6.1.5.
e.g. a parseable string into the object is:
(ams-agent-description :name (agent-identifier :name CameraProxy@foo.com :addresses (sequence iiop://foo.com/acc))
:ownership Ann
:state active)
Constructor Summary | |
AMSAgentDescription(String ams_string) This constructor takes an AMSAgentDescription String as a parameter and uses the SL Parser to parse it into a Content Object. | |
AMSAgentDescription(Content content) This constructor takes a Content Object as the parameter and parses it into an AMSAgentDescription object. | |
AMSAgentDescription() Empty constructor which can either be populated using the parse() method or the set methods. |
Method Summary | |
boolean | canDeregister() Indicates whether this AMS Agent Description is suitable for use in the deregister action. |
boolean | canModify() Indicates whether this AMS Agent description is suitable for use in the modify action. |
boolean | canRegister() Indicates whether this AMS Agent Description is suitable for use in the register action. |
AgentID | getAgentID() This method returns the agent ID |
String | getAgentName() This method returns the name of the agent ID |
String | getObjectID() This method is required for the DatabaseObject interface for storage. |
String | getOwnership() This method returns the ownership |
String | getState() This method returns the state of the agent |
boolean | hasAgentID() Indicates whether the agent name was present in the AMS Agent Description |
boolean | hasState() Indicates whether the agent state was present in the AMS Agent Description |
static void | main(String[] args) This method is for testing only. |
void | setAgentID(AgentID agent_id) This method sets the agent ID. |
void | setOwnership(String ownership) This method sets the ownership |
void | setState(String state) This method sets the state of the agent |
String | toString() This method returns an AMS-Agent Description as a string |
Constructor Detail |
public AMSAgentDescription(String ams_string)
throws fipaos.parser.ParserException
public AMSAgentDescription(Content content)
throws fipaos.parser.ParserException
public AMSAgentDescription()
Method Detail |
public boolean canDeregister()
public boolean canModify()
public boolean canRegister()
public AgentID getAgentID()
public String getAgentName()
public String getObjectID()
public String getOwnership()
public String getState()
public boolean hasAgentID()
public boolean hasState()
public static void main(String[] args)
public void setAgentID(AgentID agent_id)
public void setOwnership(String ownership)
public void setState(String state)
public String toString()
Association Links |
to Class java.lang.String
to Class java.lang.String
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |