org.wsmo.mediator
Interface Mediator

All Superinterfaces:
Entity, TopEntity
All Known Subinterfaces:
GGMediator, OOMediator, WGMediator, WWMediator

public interface Mediator
extends TopEntity


Method Summary
 void addSource(IRI iri)
          add a source component to this mediator.
 IRI getMediationService()
          Returns the mediation service of this mediator.
 IRI getTarget()
          Returns the target component of this mediator.
 Set<IRI> listSources()
          Returns set of the source components for this mediator.
 void removeSource(IRI iri)
          remove a source component from this mediator.
 void setMediationService(IRI medServiceID)
          Sets the ID of the service which performs the actual mediation.
 void setTarget(IRI target)
          Sets the target component of this mediator.
 
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

listSources

Set<IRI> listSources()
                     throws SynchronisationException
Returns set of the source components for this mediator. Depending on the type of the mediator, the source component may be IRI of a TopEntity such as WebService, Goal, ... .

Returns:
: The set of the source components for this mediator.
Throws:
SynchronisationException
See Also:
IRI

addSource

void addSource(IRI iri)
               throws SynchronisationException,
                      InvalidModelException
add a source component to this mediator.

Parameters:
iri - a source component of this mediator.
Throws:
SynchronisationException
InvalidModelException
See Also:
removeSource(IRI iri)

removeSource

void removeSource(IRI iri)
                  throws SynchronisationException,
                         InvalidModelException
remove a source component from this mediator.

Parameters:
iri - : a source component to remove.
Throws:
SynchronisationException
InvalidModelException

getTarget

IRI getTarget()
              throws SynchronisationException
Returns the target component of this mediator. Depending on the type of the mediator, the target component may be IRI of a TopEntity such as WebService, Goal, ... .

Returns:
: The target component (TopEntity) of this mediator.
Throws:
SynchronisationException
See Also:
setTarget(IRI target)

setTarget

void setTarget(IRI target)
               throws SynchronisationException,
                      InvalidModelException
Sets the target component of this mediator. Depending on the type of the mediator, the target component may be a TopEntity such as WebService, Goal, ...

Parameters:
target - : The new target component.
Throws:
SynchronisationException
InvalidModelException
See Also:
getTarget()

getMediationService

IRI getMediationService()
                        throws SynchronisationException
Returns the mediation service of this mediator.

Returns:
: The identificator of the mediation service of this mediator.
Throws:
SynchronisationException
See Also:
#setMediationSerivice(Identifier medServiceID)

setMediationService

void setMediationService(IRI medServiceID)
                         throws SynchronisationException,
                                InvalidModelException
Sets the ID of the service which performs the actual mediation.

Parameters:
newServiceID - The ID of the service which performs the actual mediation.
Throws:
SynchronisationException
InvalidModelException


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