| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class represents the Agent Platform Description object and contains a APTDescription which represents the Agent Platform Transport Description object
TODO: there is at present to checking to see if the characters in the fields are valid as per the BNF definitions
Constructor Summary | |
APDescription() This constructor creates an empty Agent Platform Descriptioon. | |
APDescription(String description) This constructor creates an APDescriptoin from a string. | |
APDescription(Content ap_content) This constructor takes a Content object as a parameter. |
Method Summary | |
boolean | addMTPD(MTPDescription mtpd) Adds a MTPDescription to the list of MTPDs |
Boolean | getDynamic() Get the dynamic registration capability of the platform |
Boolean | getMobility() Get the mobility capability of the platform |
Set | getMTPDs() Get the Agent Transport Description |
String | getName() Get the name of the AP |
APTDescription | getTransportDescription() This method returns the transport profile of the Agent Platform. |
static void | main(String[] args) This main method is used for testing. |
boolean | removeMTPD(MTPDescription mtpd) remove a Message Transport Protocol Description from the list |
void | setDynamic(Boolean dynamic) Set whether the platform supports dynamic registration of Agents |
void | setMobility(Boolean mobility) Set whether the platform supports mobility of the AP |
void | setMTPDs(Set transport_description) Set the description MTPDescription capabilities of the AP |
void | setName(String name) This method sets the name of the Agent Platform Description. |
void | setTransportDescription(APTDescription transport_description) This method sets the transport profile of the Agent Platform |
String | toString() A string representation of this APDescription |
Constructor Detail |
public APDescription()
public APDescription(String description)
throws fipaos.parser.ParserException
public APDescription(Content ap_content)
throws fipaos.parser.ParserException
Method Detail |
public boolean addMTPD(MTPDescription mtpd)
public Boolean getDynamic()
public Boolean getMobility()
public Set getMTPDs()
public String getName()
public APTDescription getTransportDescription()
public static void main(String[] args)
public boolean removeMTPD(MTPDescription mtpd)
public void setDynamic(Boolean dynamic)
public void setMobility(Boolean mobility)
public void setMTPDs(Set transport_description)
public void setName(String name)
public void setTransportDescription(APTDescription transport_description)
public String toString()
Association Links |
to Class java.lang.Boolean
to Class java.lang.Boolean
to Class fipaos.ont.fipa.fipaman.APTDescription
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |