|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jade.domain.FIPAAgentManagement.APService
This class implements the concept of the fipa-agent-management ontology representing the description of a platform service.
Constructor Summary | |
APService()
Default constructor. |
|
APService(java.lang.String type,
java.lang.String[] addresses)
Constructor. |
Method Summary | |
void |
addAddresses(java.lang.String address)
Add a service to the addresses slot collection
of this object. |
void |
clearAllAddresses()
Remove all addresses from the addresses slot
collection of this object. |
Iterator |
getAllAddresses()
Access all addresses from the addresses slot
collection of this object. |
java.lang.String |
getName()
Retrieve the name slot of this object. |
java.lang.String |
getType()
Retrieve the type slot of this object. |
boolean |
removeAddresses(java.lang.String address)
Remove a service from the addresses slot
collection of this object. |
void |
setName(java.lang.String n)
Set the name slot of this object. |
void |
setType(java.lang.String t)
Set the type slot of this object. |
java.lang.String |
toString()
Retrieve a string representation for this platform service description. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public APService()
public APService(java.lang.String type, java.lang.String[] addresses)
Method Detail |
public void setName(java.lang.String n)
name
slot of this object.
n
- The string for the platform service name.public java.lang.String getName()
name
slot of this object.
name
slot of this
platform service description, or null
if no value
was set.public void setType(java.lang.String t)
type
slot of this object.
t
- The string for the platform service type.public java.lang.String getType()
type
slot of this object.
type
slot of this
platform service description, or null
if no value
was set.public void addAddresses(java.lang.String address)
addresses
slot collection
of this object.
public boolean removeAddresses(java.lang.String address)
addresses
slot
collection of this object.
public void clearAllAddresses()
addresses
slot
collection of this object.
public Iterator getAllAddresses()
addresses
slot
collection of this object.
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |