|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.fuberlin.wiwiss.semmf.descr.impl.NodeMatchingDescriptionImpl
public class NodeMatchingDescriptionImpl
Field Summary | |
---|---|
private boolean |
isReversed
flags if the matching of this node should be reversed (=> switch query and resource nodes) |
private java.lang.String |
label
Label of this node |
Matcher |
matcher
A Matcher which will be used to calculate the similarity of the query and resource nodes. |
private java.util.List |
propertyMatchingDescriptionList
List of objects implementing the PropertyMatchingDescription interface. |
java.lang.String |
queryNodePath
RDQL path expression leading to the query node |
java.lang.String |
resNodePath
RDQL path expression leading to the resource node of a ceartain resource graph |
private float |
weight
Weight of this node |
Constructor Summary | |
---|---|
NodeMatchingDescriptionImpl(java.lang.String label,
float weight)
Constructor. |
|
NodeMatchingDescriptionImpl(java.lang.String label,
float weight,
boolean reversedMatching)
Constructor. |
Method Summary | |
---|---|
void |
addPropertyMatchingDescription(PropertyMatchingDescription pmd)
Adds a new PropertyMatchingDescription to the class interanal List of pmd's |
java.lang.String |
getLabel()
|
Matcher |
getMatcher()
|
java.util.List |
getPropertyMatchingDescriptionList()
|
java.lang.String |
getQueryNodePath()
|
java.lang.String |
getResourceNodePath()
|
float |
getWeight()
|
boolean |
hasProperties()
|
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 node 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 queryNodePath
public java.lang.String resNodePath
public Matcher matcher
private boolean isReversed
private java.util.List propertyMatchingDescriptionList
Constructor Detail |
---|
public NodeMatchingDescriptionImpl(java.lang.String label, float weight)
label
- label of this nodeweight
- weight of this nodepublic NodeMatchingDescriptionImpl(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 reversedMethod Detail |
---|
public void addPropertyMatchingDescription(PropertyMatchingDescription pmd)
public void setReversed(boolean reversed)
reversed
- true if the matching of this node should be reversedpublic java.lang.String getLabel()
getLabel
in interface NodeMatchingDescription
public float getWeight()
getWeight
in interface NodeMatchingDescription
public java.lang.String getQueryNodePath()
getQueryNodePath
in interface NodeMatchingDescription
public java.lang.String getResourceNodePath()
getResourceNodePath
in interface NodeMatchingDescription
public Matcher getMatcher()
getMatcher
in interface NodeMatchingDescription
public boolean reverseMatching()
reverseMatching
in interface NodeMatchingDescription
public boolean hasProperties()
hasProperties
in interface NodeMatchingDescription
public java.util.List getPropertyMatchingDescriptionList()
getPropertyMatchingDescriptionList
in interface NodeMatchingDescription
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |