com.ontotext.wsmo4j.mediator
Class MediatorImpl

java.lang.Object
  extended by com.ontotext.wsmo4j.common.EntityImpl
      extended by com.ontotext.wsmo4j.common.TopEntityImpl
          extended by com.ontotext.wsmo4j.mediator.MediatorImpl
All Implemented Interfaces:
org.wsmo.common.Entity, org.wsmo.common.TopEntity, org.wsmo.mediator.Mediator
Direct Known Subclasses:
GGMediatorImpl, OOMediatorImpl, WGMediatorImpl, WWMediatorImpl

public class MediatorImpl
extends TopEntityImpl
implements org.wsmo.mediator.Mediator


Field Summary
protected  LinkedHashSet<org.wsmo.common.IRI> sources
           
 
Constructor Summary
MediatorImpl(org.wsmo.common.IRI mediatorIRI)
           
 
Method Summary
 void addSource(org.wsmo.common.IRI iri)
           
 boolean equals(Object object)
           
 org.wsmo.common.IRI getMediationService()
           
 org.wsmo.common.IRI getTarget()
           
 Set<org.wsmo.common.IRI> listSources()
           
 void removeSource(org.wsmo.common.IRI iri)
           
 void setMediationService(org.wsmo.common.IRI newServiceID)
           
 void setTarget(org.wsmo.common.IRI target)
           
 
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
 

Field Detail

sources

protected LinkedHashSet<org.wsmo.common.IRI> sources
Constructor Detail

MediatorImpl

public MediatorImpl(org.wsmo.common.IRI mediatorIRI)
Method Detail

listSources

public Set<org.wsmo.common.IRI> listSources()
                                     throws org.wsmo.common.exception.SynchronisationException
Specified by:
listSources in interface org.wsmo.mediator.Mediator
Throws:
org.wsmo.common.exception.SynchronisationException

addSource

public void addSource(org.wsmo.common.IRI iri)
               throws org.wsmo.common.exception.SynchronisationException,
                      org.wsmo.common.exception.InvalidModelException
Specified by:
addSource in interface org.wsmo.mediator.Mediator
Throws:
org.wsmo.common.exception.SynchronisationException
org.wsmo.common.exception.InvalidModelException

removeSource

public void removeSource(org.wsmo.common.IRI iri)
                  throws org.wsmo.common.exception.SynchronisationException,
                         org.wsmo.common.exception.InvalidModelException
Specified by:
removeSource in interface org.wsmo.mediator.Mediator
Throws:
org.wsmo.common.exception.SynchronisationException
org.wsmo.common.exception.InvalidModelException

getTarget

public org.wsmo.common.IRI getTarget()
Specified by:
getTarget in interface org.wsmo.mediator.Mediator

setTarget

public void setTarget(org.wsmo.common.IRI target)
Specified by:
setTarget in interface org.wsmo.mediator.Mediator

getMediationService

public org.wsmo.common.IRI getMediationService()
Specified by:
getMediationService in interface org.wsmo.mediator.Mediator

setMediationService

public void setMediationService(org.wsmo.common.IRI newServiceID)
Specified by:
setMediationService in interface org.wsmo.mediator.Mediator

equals

public boolean equals(Object object)
Overrides:
equals in class TopEntityImpl


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