|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcorrespondence.Correspondence
public class Correspondence
Field Summary | |
---|---|
static int |
PROPERTY_CHAIN
|
static int |
QUALIFIED_RESTRICTION
|
static int |
UNQUALIFIED_RESTRICTION
|
static int |
VALUE_RESTRICTION
|
Constructor Summary | |
---|---|
Correspondence(org.semanticweb.owl.model.OWLClass classOnt1,
org.semanticweb.owl.model.OWLDataProperty dataPropertyOnt2,
java.lang.String data,
java.lang.String identifier,
int type)
Constructor for complex correspondence of type Value Restriction. |
|
Correspondence(org.semanticweb.owl.model.OWLClass classOnt1,
org.semanticweb.owl.model.OWLObjectProperty objectPropertyOnt2,
org.semanticweb.owl.model.OWLClass classOnt2,
java.lang.String identifier,
int type,
double similaritySum)
Constructor for complex correspondence of type Qualified and Unqualified Restriction. |
|
Correspondence(org.semanticweb.owl.model.OWLDataProperty dataPropOnt1,
org.semanticweb.owl.model.OWLObjectProperty objectProperty1Ont2,
org.semanticweb.owl.model.OWLDataProperty dataProperty2Ont2,
java.lang.String identifier,
int type,
double similaritySum)
Constructor for complex correspondence of type Property Chain. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
To be able to compare the correspondences, override the equals method. |
org.semanticweb.owl.model.OWLClass |
getClassOnt1()
|
org.semanticweb.owl.model.OWLClass |
getClassOnt2()
|
java.lang.String |
getData()
|
org.semanticweb.owl.model.OWLDataProperty |
getDataProperty2Ont2()
|
org.semanticweb.owl.model.OWLDataProperty |
getDataPropertyOnt2()
|
org.semanticweb.owl.model.OWLDataProperty |
getDataPropOnt1()
|
java.lang.String |
getIdentifier()
|
org.semanticweb.owl.model.OWLObjectProperty |
getObjectProperty1Ont2()
|
org.semanticweb.owl.model.OWLObjectProperty |
getObjectPropertyOnt2()
|
double |
getSimilaritySum()
|
int |
getType()
|
int |
hashCode()
Override the hash code method to match the correspondences right. |
java.lang.String |
toShortString()
|
java.lang.String |
toString()
Print a correspondence in fist-order-logic format with full URIs of the entities. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int QUALIFIED_RESTRICTION
public static final int UNQUALIFIED_RESTRICTION
public static final int VALUE_RESTRICTION
public static final int PROPERTY_CHAIN
Constructor Detail |
---|
public Correspondence(org.semanticweb.owl.model.OWLClass classOnt1, org.semanticweb.owl.model.OWLObjectProperty objectPropertyOnt2, org.semanticweb.owl.model.OWLClass classOnt2, java.lang.String identifier, int type, double similaritySum)
classOnt1
- objectPropertyOnt2
- classOnt2
- identifier
- type
- public Correspondence(org.semanticweb.owl.model.OWLClass classOnt1, org.semanticweb.owl.model.OWLDataProperty dataPropertyOnt2, java.lang.String data, java.lang.String identifier, int type)
classOnt1
- dataPropertyOnt2
- data
- identifier
- type
- public Correspondence(org.semanticweb.owl.model.OWLDataProperty dataPropOnt1, org.semanticweb.owl.model.OWLObjectProperty objectProperty1Ont2, org.semanticweb.owl.model.OWLDataProperty dataProperty2Ont2, java.lang.String identifier, int type, double similaritySum)
dataPropOnt1
- objectProperty1Ont2
- dataProperty2Ont2
- identifier
- type
- Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toShortString() throws ComplexMappingException
ComplexMappingException
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public org.semanticweb.owl.model.OWLClass getClassOnt1()
public org.semanticweb.owl.model.OWLObjectProperty getObjectPropertyOnt2()
public org.semanticweb.owl.model.OWLClass getClassOnt2()
public org.semanticweb.owl.model.OWLDataProperty getDataPropertyOnt2()
public java.lang.String getData()
public org.semanticweb.owl.model.OWLDataProperty getDataPropOnt1()
public org.semanticweb.owl.model.OWLObjectProperty getObjectProperty1Ont2()
public org.semanticweb.owl.model.OWLDataProperty getDataProperty2Ont2()
public int getType()
public double getSimilaritySum()
public java.lang.String getIdentifier()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |