public class DFServiceDescription extends Object implements IDFServiceDescription, Serializable, Cloneable
Constructor and Description |
---|
DFServiceDescription()
Create a new service description.
|
DFServiceDescription(String name,
String type,
String ownership)
Create a new service description.
|
Modifier and Type | Method and Description |
---|---|
void |
addLanguage(String language)
Add a language to this ServiceDescription.
|
void |
addOntology(String ontology)
Add a ontology to this ServiceDescription.
|
void |
addProperty(IProperty property)
Add a property to this ServiceDescription.
|
void |
addProtocol(String protocol)
Add a protocol to this ServiceDescription.
|
Object |
clone()
Clone a component description.
|
boolean |
equals(Object obj) |
String |
getLanguage(int idx)
Get an languages of this ServiceDescription.
|
String[] |
getLanguages()
Get the languages of this ServiceDescription.
|
String |
getName()
Get the name of this ServiceDescription.
|
String[] |
getOntologies()
Get the ontologies of this ServiceDescription.
|
String |
getOntology(int idx)
Get an ontologies of this ServiceDescription.
|
String |
getOwnership()
Get the ownership of this ServiceDescription.
|
IProperty[] |
getProperties()
Get the properties of this ServiceDescription.
|
IProperty |
getProperty(int idx)
Get an properties of this ServiceDescription.
|
String |
getProtocol(int idx)
Get an protocols of this ServiceDescription.
|
String[] |
getProtocols()
Get the protocols of this ServiceDescription.
|
String |
getType()
Get the type of this ServiceDescription.
|
boolean |
removeLanguage(String language)
Remove a language from this ServiceDescription.
|
boolean |
removeOntology(String ontology)
Remove a ontology from this ServiceDescription.
|
boolean |
removeProperty(IProperty property)
Remove a property from this ServiceDescription.
|
boolean |
removeProtocol(String protocol)
Remove a protocol from this ServiceDescription.
|
void |
setLanguage(int idx,
String language)
Set a language to this ServiceDescription.
|
void |
setLanguages(String[] languages)
Set the languages of this ServiceDescription.
|
void |
setName(String name)
Set the name of this ServiceDescription.
|
void |
setOntologies(String[] ontologies)
Set the ontologies of this ServiceDescription.
|
void |
setOntology(int idx,
String ontology)
Set a ontology to this ServiceDescription.
|
void |
setOwnership(String ownership)
Set the ownership of this ServiceDescription.
|
void |
setProperties(IProperty[] properties)
Set the properties of this ServiceDescription.
|
void |
setProperty(int idx,
IProperty property)
Set a property to this ServiceDescription.
|
void |
setProtocol(int idx,
String protocol)
Set a protocol to this ServiceDescription.
|
void |
setProtocols(String[] protocols)
Set the protocols of this ServiceDescription.
|
void |
setType(String type)
Set the type of this ServiceDescription.
|
public DFServiceDescription()
public boolean equals(Object obj)
equals
in class Object
obj
- Object.equals(java.lang.Object)
public String[] getLanguages()
getLanguages
in interface IDFServiceDescription
public void setLanguages(String[] languages)
languages
- the value to be setpublic String getLanguage(int idx)
idx
- The index.public void setLanguage(int idx, String language)
idx
- The index.language
- a value to be addedpublic void addLanguage(String language)
language
- a value to be removedpublic boolean removeLanguage(String language)
language
- a value to be removedpublic String getType()
getType
in interface IDFServiceDescription
public void setType(String type)
type
- the value to be setpublic IProperty[] getProperties()
getProperties
in interface IDFServiceDescription
public void setProperties(IProperty[] properties)
properties
- the value to be setpublic IProperty getProperty(int idx)
idx
- The index.public void setProperty(int idx, IProperty property)
idx
- The index.property
- a value to be addedpublic void addProperty(IProperty property)
property
- a value to be removedpublic boolean removeProperty(IProperty property)
property
- a value to be removedpublic String getName()
getName
in interface IDFServiceDescription
public void setName(String name)
name
- the value to be setpublic String[] getOntologies()
getOntologies
in interface IDFServiceDescription
public void setOntologies(String[] ontologies)
ontologies
- the value to be setpublic String getOntology(int idx)
idx
- The index.public void setOntology(int idx, String ontology)
idx
- The index.ontology
- a value to be addedpublic void addOntology(String ontology)
ontology
- a value to be removedpublic boolean removeOntology(String ontology)
ontology
- a value to be removedpublic String getOwnership()
getOwnership
in interface IDFServiceDescription
public void setOwnership(String ownership)
ownership
- the value to be setpublic String[] getProtocols()
getProtocols
in interface IDFServiceDescription
public void setProtocols(String[] protocols)
protocols
- the value to be setpublic String getProtocol(int idx)
idx
- The index.public void setProtocol(int idx, String protocol)
idx
- The index.protocol
- a value to be addedpublic void addProtocol(String protocol)
protocol
- a value to be removedpublic boolean removeProtocol(String protocol)
protocol
- a value to be removedCopyright © 2012. All Rights Reserved.