|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.fuberlin.wiwiss.semmf.descr.impl.PropertyMatchingDescriptionImpl
public class PropertyMatchingDescriptionImpl
| Field Summary | |
|---|---|
private boolean |
isReversed
flags if the matching of this property should be reversed (=> switch query and resource properties) |
private java.lang.String |
label
Label of this property |
Matcher |
matcher
A Matcher which will be used to calculate the similarity of the query and resource properties. |
java.lang.String |
queryPropertyURI
URI of the property of the query node |
java.lang.String |
resPropertyURI
URI of the property of the resource node |
private float |
weight
Weight of this property |
| Constructor Summary | |
|---|---|
PropertyMatchingDescriptionImpl(java.lang.String label,
float weight)
Constructor. |
|
PropertyMatchingDescriptionImpl(java.lang.String label,
float weight,
boolean reversedMatching)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getLabel()
|
Matcher |
getMatcher()
|
java.lang.String |
getQueryPropertyURI()
|
java.lang.String |
getResPropertyURI()
|
float |
getWeight()
|
boolean |
reverseMatching()
In most cases the matching engine compares a value from a resource graph with the semantically corresponding value from a query graph (= the "required" value). |
void |
setReversed(boolean reversed)
Specifies if the matching of this property should be reversed |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.lang.String label
private float weight
public java.lang.String queryPropertyURI
public java.lang.String resPropertyURI
public Matcher matcher
private boolean isReversed
| Constructor Detail |
|---|
public PropertyMatchingDescriptionImpl(java.lang.String label,
float weight)
label - label of this nodeweight - weight of this node
public PropertyMatchingDescriptionImpl(java.lang.String label,
float weight,
boolean reversedMatching)
label - label of this nodeweight - weight of this nodereversedMatching - flags whether the matching of this node should be reversed| Method Detail |
|---|
public void setReversed(boolean reversed)
reversed - true if the matching of this property should be reversedpublic java.lang.String getLabel()
getLabel in interface PropertyMatchingDescriptionpublic float getWeight()
getWeight in interface PropertyMatchingDescriptionpublic java.lang.String getQueryPropertyURI()
getQueryPropertyURI in interface PropertyMatchingDescriptionpublic java.lang.String getResPropertyURI()
getResPropertyURI in interface PropertyMatchingDescriptionpublic Matcher getMatcher()
getMatcher in interface PropertyMatchingDescriptionpublic boolean reverseMatching()
reverseMatching in interface PropertyMatchingDescription
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||