org.wsmo.service
Interface ServiceDescription

All Superinterfaces:
Entity, TopEntity
All Known Subinterfaces:
Goal, WebService

public interface ServiceDescription
extends TopEntity

An interface representing a service description (e.g. a Goal or a WebService).

Since:
0.4.0
Version:
$Revision: 1946 $ $Date: 2007-04-02 15:13:28 +0300 (Mon, 02 Apr 2007) $
Author:
not attributable

Method Summary
 void addInterface(Interface iface)
          Adds a new interface to the list of interfaces of this WebService/Goal.
 Capability getCapability()
          Returns the capability of this WebService/Goal.
 Set<Interface> listInterfaces()
          Lists the interfaces of this WebService/Goal.
 void removeInterface(Identifier id)
          Removes the specified interface from the list of iterfaces of this WebService/Goal.
 void removeInterface(Interface iface)
          Removes the specified interface from the list of iterfaces of this WebService/Goal.
 void setCapability(Capability cap)
          Sets the capability of this WebService/Goal.
 
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
 

Method Detail

addInterface

void addInterface(Interface iface)
Adds a new interface to the list of interfaces of this WebService/Goal.

Parameters:
iface - The new interface to be added to the list.
Throws:
SynchronisationException
InvalidModelException
See Also:
removeInterface(Interface iface), removeInterface(Identifier id)

removeInterface

void removeInterface(Interface iface)
Removes the specified interface from the list of iterfaces of this WebService/Goal.

Parameters:
iface - The interface to be removed from the list of interfacaes.
Throws:
SynchronisationException
InvalidModelException
See Also:
removeInterface(Identifier id)

removeInterface

void removeInterface(Identifier id)
Removes the specified interface from the list of iterfaces of this WebService/Goal.

Parameters:
id - The ID of the interface to be removed from the list of interfacaes.
Throws:
SynchronisationException
InvalidModelException
See Also:
removeInterface(Interface iface)

listInterfaces

Set<Interface> listInterfaces()
Lists the interfaces of this WebService/Goal.

Returns:
A set of the interfaces of this WebService/Goal
Throws:
SynchronisationException

getCapability

Capability getCapability()
Returns the capability of this WebService/Goal.

Returns:
The capability associated with this WebService/Goal.
Throws:
SynchronisationException
See Also:
setCapability(org.wsmo.service.Capability)

setCapability

void setCapability(Capability cap)
Sets the capability of this WebService/Goal.

Parameters:
cap - The new capability to be associated with this WebService/Goal
Throws:
SynchronisationException
InvalidModelException
See Also:
getCapability()


Copyright © 2004-2008 Ontotext Lab.. All Rights Reserved.