de.fzi.kadmos.mocks
Class MockAlignment
java.lang.Object
de.fzi.kadmos.mocks.MockAlignment
- All Implemented Interfaces:
- Alignment, Evaluable, Cloneable, Iterable<Correspondence<? extends OWLEntity>>
public class MockAlignment
- extends Object
- implements Alignment
Empty mock implementation of the Alignment
interface.
- Author:
- Juergen Bock
MockAlignment
public MockAlignment()
addCorrespondence
public void addCorrespondence(Correspondence<? extends OWLEntity> corr)
throws MultiplicityException
- Specified by:
addCorrespondence
in interface Alignment
- Throws:
MultiplicityException
clear
public void clear()
- Specified by:
clear
in interface Alignment
clone
public MockAlignment clone()
- Specified by:
clone
in interface Alignment
- Overrides:
clone
in class Object
contains
public boolean contains(Correspondence<? extends OWLEntity> corr)
- Specified by:
contains
in interface Alignment
contains
public <T extends OWLEntity> boolean contains(T ent1,
T ent2)
- Specified by:
contains
in interface Alignment
contains
public boolean contains(IRI ent1,
IRI ent2)
- Specified by:
contains
in interface Alignment
containsEntity1
public boolean containsEntity1(OWLEntity ent)
- Specified by:
containsEntity1
in interface Alignment
containsEntity1
public boolean containsEntity1(IRI ent)
- Specified by:
containsEntity1
in interface Alignment
containsEntity2
public boolean containsEntity2(OWLEntity ent)
- Specified by:
containsEntity2
in interface Alignment
containsEntity2
public boolean containsEntity2(IRI ent)
- Specified by:
containsEntity2
in interface Alignment
getCorrespondences
public Set<Correspondence<? extends OWLEntity>> getCorrespondences()
- Specified by:
getCorrespondences
in interface Alignment
getEntity1Corr
public <T extends OWLEntity> Correspondence<T> getEntity1Corr(T ent)
- Specified by:
getEntity1Corr
in interface Alignment
getEntity1Corr
public Correspondence<? extends OWLEntity> getEntity1Corr(IRI ent)
- Specified by:
getEntity1Corr
in interface Alignment
getEntity2Corr
public <T extends OWLEntity> Correspondence<T> getEntity2Corr(T ent)
- Specified by:
getEntity2Corr
in interface Alignment
getEntity2Corr
public Correspondence<? extends OWLEntity> getEntity2Corr(IRI ent)
- Specified by:
getEntity2Corr
in interface Alignment
getOntology1
public OWLOntology getOntology1()
- Specified by:
getOntology1
in interface Alignment
getOntology2
public OWLOntology getOntology2()
- Specified by:
getOntology2
in interface Alignment
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface Alignment
removeCorrespondence
public void removeCorrespondence(Correspondence<? extends OWLEntity> corr)
- Specified by:
removeCorrespondence
in interface Alignment
size
public int size()
- Specified by:
size
in interface Alignment
iterator
public Iterator<Correspondence<? extends OWLEntity>> iterator()
- Specified by:
iterator
in interface Iterable<Correspondence<? extends OWLEntity>>
getEntityCorr
public <T extends OWLEntity> Correspondence<T> getEntityCorr(T ent1,
T ent2)
- Specified by:
getEntityCorr
in interface Alignment
getEntityCorr
public Correspondence<? extends OWLEntity> getEntityCorr(IRI ent1,
IRI ent2)
- Specified by:
getEntityCorr
in interface Alignment
attachListener
public void attachListener(AlignmentListener listener)
- Specified by:
attachListener
in interface Alignment
detachListener
public void detachListener(AlignmentListener listener)
- Specified by:
detachListener
in interface Alignment
Copyright © 2012. All Rights Reserved.