|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fipaos.ont.fipa.fipaman.AgentManagementAction
AgentManagementAction is an agent management action string converted
into an object.
It contains an AgentID, a DFAgentDescription or an AMSAgentDescription
and/or a SearchConstraints object
Constructor Summary | |
AgentManagementAction()
Empty Constructor. |
|
AgentManagementAction(Content content)
This constructor creates an AgentManagementAction object with a Content object generated by the SLParser. |
|
AgentManagementAction(java.lang.String agent_mgt_string)
This constructor takes a string as the parameter. |
Method Summary | |
java.lang.String |
getAction()
This method returns the action type of the AgentManagementAction. |
AMSAgentDescription |
getAMSAgentDescription()
This method gets the ams-description object |
DFAgentDescription |
getDFAgentDescription()
This method returns the df-description object. |
SearchConstraints |
getSearchConstraints()
This method returns the search constraints. |
static void |
main(java.lang.String[] args)
Test method |
void |
setAction(java.lang.String action_type)
This method sets the action of the AgentManagementAction object. |
void |
setAgentID(AgentID agent)
This methods sets the AgentID. |
void |
setAMSAgentDescription(AMSAgentDescription ams_desc)
This method sets the ams-description object. |
void |
setDFAgentDescription(DFAgentDescription df_desc)
This method sets the df-description object |
void |
setSearchConstraints(SearchConstraints constraints)
This method sets the SearchConstraints criteria. |
java.lang.String |
toString()
This method returns the String representation of the object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public AgentManagementAction(Content content) throws ParserException
content
- Content representing AgentManagementActionParserException
- if the Content is not validpublic AgentManagementAction(java.lang.String agent_mgt_string) throws ParserException
agent_mgt_string
- string representing the AgentManagementActionParserException
- if the string is not validpublic AgentManagementAction()
Method Detail |
public java.lang.String getAction()
public void setAction(java.lang.String action_type)
action_type
- action of the AgentManagementActionpublic java.lang.String toString()
toString
in class java.lang.Object
public DFAgentDescription getDFAgentDescription()
public void setDFAgentDescription(DFAgentDescription df_desc)
df_desc
- DF Agent Description objectpublic AMSAgentDescription getAMSAgentDescription()
public void setAMSAgentDescription(AMSAgentDescription ams_desc)
ams_desc
- AMS Agent Description objectpublic SearchConstraints getSearchConstraints()
public void setSearchConstraints(SearchConstraints constraints)
constraints
- SearchConstraints for search actionspublic void setAgentID(AgentID agent)
agent
- AgentID of the actionpublic static void main(java.lang.String[] args)
args
- Arguments
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |