public class ServiceDescription extends java.lang.Object implements Concept
| Constructor and Description |
|---|
ServiceDescription()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addLanguages(java.lang.String l)
Add a content language name to the
languages slot
collection of this object. |
void |
addOntologies(java.lang.String o)
Add an ontology name to the
ontologies slot
collection of this object. |
void |
addProperties(Property p)
Add a property to the
properties slot collection
of this object. |
void |
addProtocols(java.lang.String ip)
Add a protocol name to the
protocols slot
collection of this object. |
void |
clearAllLanguages()
Remove all content language names from the
languages slot collection of this object. |
void |
clearAllOntologies()
Remove all ontology names from the
ontologies slot
collection of this object. |
void |
clearAllProperties()
Remove all properties from the
properties slot
collection of this object. |
void |
clearAllProtocols()
Remove all protocol names from the
protocols slot
collection of this object. |
Iterator |
getAllLanguages()
Access all content language names from the
languages slot collection of this object. |
Iterator |
getAllOntologies()
Access all ontology names from the
ontologies slot
collection of this object. |
Iterator |
getAllProperties()
Access all properties from the
properties slot
collection of this object. |
Iterator |
getAllProtocols()
Access all protocol names from the
protocols slot
collection of this object. |
java.lang.String |
getName()
Retrieve the
name slot of this object. |
java.lang.String |
getOwnership()
Retrieve the
ownership slot of this object. |
java.lang.String |
getType()
Retrieve the
type slot of this object. |
boolean |
removeLanguages(java.lang.String l)
Remove a content language name from the
languages
slot collection of this object. |
boolean |
removeOntologies(java.lang.String o)
Remove an ontology name from the
ontologies slot
collection of this object. |
boolean |
removeProperties(Property p)
Remove a property from the
properties slot
collection of this object. |
boolean |
removeProtocols(java.lang.String ip)
Remove a protocol name from the
protocols slot
collection of this object. |
void |
setName(java.lang.String n)
Set the
name slot of this object. |
void |
setOwnership(java.lang.String o)
Set the
ownership slot of this object. |
void |
setType(java.lang.String t)
Set the
type slot of this object. |
public ServiceDescription()
public void setName(java.lang.String n)
name slot of this object.n - The name of the described service.public java.lang.String getName()
name slot of this object.name slot of this service
description, or null if no value was set.public void setType(java.lang.String t)
type slot of this object.t - The type of the described service.public java.lang.String getType()
type slot of this object.type slot of this service
description, or null if no value was set.public void addProtocols(java.lang.String ip)
protocols slot
collection of this object.ip - The protocol name to add to the collection.public boolean removeProtocols(java.lang.String ip)
protocols slot
collection of this object.ip - The protocol name to remove from the collection.public void clearAllProtocols()
protocols slot
collection of this object.public Iterator getAllProtocols()
protocols slot
collection of this object.public void addOntologies(java.lang.String o)
ontologies slot
collection of this object.o - The ontology name to add to the collection.public boolean removeOntologies(java.lang.String o)
ontologies slot
collection of this object.o - The ontology name to remove from the collection.public void clearAllOntologies()
ontologies slot
collection of this object.public Iterator getAllOntologies()
ontologies slot
collection of this object.public void addLanguages(java.lang.String l)
languages slot
collection of this object.l - The content language name to add to the collection.public boolean removeLanguages(java.lang.String l)
languages
slot collection of this object.l - The content language name to remove from the
collection.public void clearAllLanguages()
languages slot collection of this object.public Iterator getAllLanguages()
languages slot collection of this object.public void setOwnership(java.lang.String o)
ownership slot of this object.o - The name of the entity owning the described service.public java.lang.String getOwnership()
ownership slot of this object.ownership slot of this
service description, or null if no value was set.public void addProperties(Property p)
properties slot collection
of this object.p - The property to add to the collection.public boolean removeProperties(Property p)
properties slot
collection of this object.p - The property to remove from the collection.public void clearAllProperties()
properties slot
collection of this object.public Iterator getAllProperties()
properties slot
collection of this object.