| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class represents an AID, as described in the FIPA99 specification
Constructor Summary | |
AgentID() Constructs a blank AgentID. | |
AgentID(String aid) Constructs an AgentID from the given String, which is expected to conform to the FIPA99 representation for an AID |
Method Summary | |
Object | clone() |
boolean | equals(Object other) Compare this with another object |
List | getAddresses() Gets a List of addresses (URL's) associated with this AgentID |
static List | getAgentIDs(String aids) Converts a list of stringified AgentID's into a List of AgentID objects |
String | getName() Gets the name associated with this AgentID |
List | getResolvers() Gets a List of resolvers for the Agent represented by this |
static void | main(String[] args) |
void | setAddresses(String addresses) Sets the addresses associated with this AgentID |
void | setAddresses(List addresses) Sets the addresses (URL's) through which the Agent can be contacted |
void | setName(String name) Sets the name of the Agent represented by this AgentID |
void | setResolvers(String resolvers) Sets the list of resolvers for this Agent |
void | setResolvers(List resolvers) Sets tbe resolvers of this Agent |
String | toString() Converts this into the FIPA99 AgentID format |
Constructor Detail |
public AgentID()
public AgentID(String aid)
throws fipaos.parser.ParserException
Method Detail |
public Object clone()
public boolean equals(Object other)
public List getAddresses()
public static List getAgentIDs(String aids)
public String getName()
public List getResolvers()
public static void main(String[] args)
throws java.lang.Exception
public void setAddresses(String addresses)
public void setAddresses(List addresses)
public void setName(String name)
public void setResolvers(String resolvers)
public void setResolvers(List resolvers)
public String toString()
Association Links |
to Class java.util.List
to Class java.util.List
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |