|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fipaos.ont.fipa.fipaman.DFAgentDescription
FIPA defined DF-description class for the FIPA agent management ontology.
See FIPA 1997 Part 2 Section 9.
Constructor Summary | |
DFAgentDescription()
This is an empty constructor. |
|
DFAgentDescription(Content df_agent_content)
THis constructor parses the content passed to it to populate its fields. |
|
DFAgentDescription(java.lang.String df_agent_desc)
This constructor parses the string passed to it to populate its fields. |
Method Summary | |
AgentID |
getAgentID()
This method returns the AgentID. |
java.lang.String |
getAgentName()
This method returns the agent id of the DFAgentDescription. |
java.util.Set |
getAgentServices()
This method returns the set of agent services. |
java.util.Set |
getLanguages()
This method returns the set of languages. |
int |
getNumberofDataElements()
This method returns the number of elements of data in this DFAgentDescription |
java.lang.String |
getObjectID()
This method is required by the DatabaseObject interface. |
java.util.Set |
getOntologies()
This method returns the ontologies of the DFAgentDescription. |
java.util.Set |
getProtocols()
This method returns the set of protocols. |
static void |
main(java.lang.String[] args)
This is used for testing purposes. |
void |
setAgentName(AgentID df_desc_item)
This method sets the agent id of the description. |
void |
setAgentServices(ServiceDescription[] df_desc_item)
This method sets the array of service descriptions. |
void |
setAgentServices(java.util.Set df_desc_item)
This method sets the agent services. |
void |
setLanguages(java.util.Set df_desc_item)
This method sets the languages. |
void |
setLanguages(java.lang.String[] df_desc_item)
This method sets the languages |
void |
setOntologies(java.util.Set df_desc_item)
This method sets the ontologies. |
void |
setOntologies(java.lang.String[] df_desc_item)
This method sets the ontologies. |
void |
setProtocols(java.util.Set df_desc_item)
This method sets the protocols . |
void |
setProtocols(java.lang.String[] df_desc_item)
This method sets the protocols |
java.lang.String |
toString()
This method returns an DF-Agent-description as a string |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DFAgentDescription()
public DFAgentDescription(java.lang.String df_agent_desc) throws ParserException
df_agent_desc
- the string representing the DF-Agent DescriptionParserException
- if the string is invalidpublic DFAgentDescription(Content df_agent_content) throws ParserException
df_agent_content
- the string representing the DF-Agent-DescriptionParserException
- if the string is not validMethod Detail |
public java.lang.String getObjectID()
getObjectID
in interface DatabaseObject
public AgentID getAgentID()
public java.lang.String getAgentName()
public java.util.Set getAgentServices()
public int getNumberofDataElements()
public java.util.Set getOntologies()
public java.util.Set getProtocols()
public java.util.Set getLanguages()
public void setAgentName(AgentID df_desc_item)
df_desc_item
- AgentID of the descriptionpublic void setAgentServices(java.util.Set df_desc_item)
df_desc_item
- set of agent servicespublic void setAgentServices(ServiceDescription[] df_desc_item)
df_desc_item
- array of service descriptionspublic void setProtocols(java.util.Set df_desc_item)
df_desc_item
- set of protocolspublic void setProtocols(java.lang.String[] df_desc_item)
df_desc_item
- String array of protocolspublic void setOntologies(java.util.Set df_desc_item)
df_desc_item
- set of ontologiespublic void setOntologies(java.lang.String[] df_desc_item)
df_desc_item
- string array of ontologiespublic void setLanguages(java.util.Set df_desc_item)
df_desc_item
- set of languagespublic void setLanguages(java.lang.String[] df_desc_item)
df_desc_item
- string array of languagespublic java.lang.String toString()
toString
in class java.lang.Object
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 |