public class APDescription extends java.lang.Object implements Concept
FIPAManagementOntology
,
Serialized FormConstructor and Description |
---|
APDescription()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addAPServices(APService a)
Add a service to the
ap-services slot collection
of this object. |
void |
clearAllAPServices()
Remove all services from the
ap-services slot
collection of this object. |
Iterator |
getAllAPServices()
Access all services from the
ap-services slot
collection of this object. |
java.lang.String |
getName()
Retrieve the
name slot of this object. |
boolean |
removeAPServices(APService a)
Remove a service from the
ap-services slot
collection of this object. |
void |
setName(java.lang.String n)
Set the
name slot of this object. |
java.lang.String |
toString()
Retrieve a string representation for this platform description.
|
public void setName(java.lang.String n)
name
slot of this object.n
- The string for the platform name.public java.lang.String getName()
name
slot of this object.name
slot of this
platform description, or null
if no value was set.public void addAPServices(APService a)
ap-services
slot collection
of this object.a
- The platform service to add to the collection.public boolean removeAPServices(APService a)
ap-services
slot
collection of this object.a
- The platform service to remove from the collection.public void clearAllAPServices()
ap-services
slot
collection of this object.public Iterator getAllAPServices()
ap-services
slot
collection of this object.public java.lang.String toString()
toString
in class java.lang.Object