|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ontotext.wsmo4j.common.EntityImpl com.ontotext.wsmo4j.common.TopEntityImpl com.ontotext.wsmo4j.service.ServiceDescriptionImpl
public abstract class ServiceDescriptionImpl
An implementation of ServiceDescroption interface representing a service description (e.g. a Goal or a WebService).
Constructor Summary | |
---|---|
ServiceDescriptionImpl(org.wsmo.common.Identifier id)
|
Method Summary | |
---|---|
void |
addInterface(org.wsmo.service.Interface iface)
Adds a new interface to the list of interfaces of this WebService/Goal. |
boolean |
equals(Object object)
|
org.wsmo.service.Capability |
getCapability()
Returns the capability of this WebService/Goal. |
Set<org.wsmo.service.Interface> |
listInterfaces()
Lists the interfaces of this WebService/Goal. |
void |
removeInterface(org.wsmo.common.Identifier id)
Removes the specified interface from the list of iterfaces of this WebService/Goal. |
void |
removeInterface(org.wsmo.service.Interface iface)
Removes the specified interface from the list of iterfaces of this WebService/Goal. |
void |
setCapability(org.wsmo.service.Capability cap)
Sets the capability of this WebService/Goal. |
Methods inherited from class com.ontotext.wsmo4j.common.TopEntityImpl |
---|
addMediator, addNamespace, addOntology, findNamespace, getDefaultNamespace, getWsmlVariant, listMediators, listNamespaces, listOntologies, removeMediator, removeNamespace, removeNamespace, removeOntology, removeOntology, setDefaultNamespace, setDefaultNamespace, setWsmlVariant |
Methods inherited from class com.ontotext.wsmo4j.common.EntityImpl |
---|
addNFPValue, addNFPValue, getIdentifier, hashCode, listNFPValues, listNFPValues, removeNFP, removeNFPValue, removeNFPValue |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.wsmo.common.TopEntity |
---|
addMediator, addNamespace, addOntology, findNamespace, getDefaultNamespace, getWsmlVariant, listMediators, listNamespaces, listOntologies, removeMediator, removeNamespace, removeNamespace, removeOntology, removeOntology, setDefaultNamespace, setDefaultNamespace, setWsmlVariant |
Methods inherited from interface org.wsmo.common.Entity |
---|
addNFPValue, addNFPValue, getIdentifier, listNFPValues, listNFPValues, removeNFP, removeNFPValue, removeNFPValue |
Constructor Detail |
---|
public ServiceDescriptionImpl(org.wsmo.common.Identifier id)
Method Detail |
---|
public void addInterface(org.wsmo.service.Interface iface)
addInterface
in interface org.wsmo.service.ServiceDescription
iface
- The new interface to be added to the list.
org.wsmo.common.exception.SynchronisationException
org.wsmo.common.exception.InvalidModelException
public void removeInterface(org.wsmo.service.Interface iface)
removeInterface
in interface org.wsmo.service.ServiceDescription
iface
- The interface to be removed from the list of interfacaes.
org.wsmo.common.exception.SynchronisationException
org.wsmo.common.exception.InvalidModelException
public void removeInterface(org.wsmo.common.Identifier id)
removeInterface
in interface org.wsmo.service.ServiceDescription
id
- The ID of the interface to be removed from the list of interfacaes.
org.wsmo.common.exception.SynchronisationException
org.wsmo.common.exception.InvalidModelException
public Set<org.wsmo.service.Interface> listInterfaces()
listInterfaces
in interface org.wsmo.service.ServiceDescription
org.wsmo.common.exception.SynchronisationException
public org.wsmo.service.Capability getCapability()
getCapability
in interface org.wsmo.service.ServiceDescription
org.wsmo.common.exception.SynchronisationException
setCapability(org.wsmo.service.Capability)
public void setCapability(org.wsmo.service.Capability cap)
setCapability
in interface org.wsmo.service.ServiceDescription
cap
- The new capability to be associated with this WebService/Goal
org.wsmo.common.exception.SynchronisationException
org.wsmo.common.exception.InvalidModelException
getCapability()
public boolean equals(Object object)
equals
in class TopEntityImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |