|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fipaos.ont.fipa.fipaman.AgentManagementResult
This class represents a result content sent between agents. This corresponds to the second branch of the SL Atomic Formula.
Constructor Summary | |
AgentManagementResult()
This is the empty constructor. |
|
AgentManagementResult(Content result_content)
This constructor takes a content object returned by the SL Parser as the parameter. |
|
AgentManagementResult(java.lang.String result_string)
This is a constructor which takes a string as the parameter |
Method Summary | |
java.lang.Object |
convertToObject(Content content)
|
AgentManagementAction |
getAgentManagementAction()
This method returns the agent management action. |
java.util.Set |
getResultSet()
This method returns the result set. |
static void |
main(java.lang.String[] args)
This method is for testing |
void |
setAgentManagementAction(AgentManagementAction action)
This method sets the AgentManagementAction |
void |
setResultSet(java.util.Set results)
This method sets the result set. |
java.lang.String |
toString()
This method returns its string representation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public AgentManagementResult()
public AgentManagementResult(java.lang.String result_string) throws ParserException
result_string
- string representation of the resultParserException
- if the string is invalidpublic AgentManagementResult(Content result_content) throws ParserException
result_content
- content object returned by the SL ParserParserException
- if the string is invalidMethod Detail |
public void setAgentManagementAction(AgentManagementAction action)
action
- the AgentManagementActionpublic void setResultSet(java.util.Set results)
results
- set of resultspublic AgentManagementAction getAgentManagementAction()
public java.util.Set getResultSet()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Object convertToObject(Content content) throws ParserException
public 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 |