|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectma.glasnost.orika.metadata.ScoringClassMapBuilder.PropertyMatchingWeights
public static final class ScoringClassMapBuilder.PropertyMatchingWeights
PropertyMatchingWeights is a class used to describe how different matching scenarios should be weighted when computing a match score for a set of properties.
| Constructor Summary | |
|---|---|
ScoringClassMapBuilder.PropertyMatchingWeights()
|
|
| Method Summary | |
|---|---|
double |
commonWordCount()
|
ScoringClassMapBuilder.PropertyMatchingWeights |
commonWordCount(double weight)
Set the weight associated with the number of words found in common between two property expressions |
double |
containsName()
|
ScoringClassMapBuilder.PropertyMatchingWeights |
containsName(double weight)
Set the weight associated with one property containing the entire name of another property. |
double |
editDistance()
|
ScoringClassMapBuilder.PropertyMatchingWeights |
editDistance(double weight)
Set the weight associated with the edit distance between words in two property expressions |
double |
minimumScore()
|
ScoringClassMapBuilder.PropertyMatchingWeights |
minimumScore(double weight)
Set the weight applied to the minimum score needed to accept a given match; setting higher values makes the matching more restrictive, lower scores make matching more lenient. |
double |
nestedDepth()
|
ScoringClassMapBuilder.PropertyMatchingWeights |
nestedDepth(double weight)
Set the weight modifier associated with a property word's edit distance based on it's nesting depth; higher values here causes the matching to be more focused toward the final name of a nested property, lower values focus on the entire name more evenly |
double |
typeMatch()
|
ScoringClassMapBuilder.PropertyMatchingWeights |
typeMatch(double weight)
Set the weight associated with one property matching the type of the other |
double |
unmatchedWords()
|
ScoringClassMapBuilder.PropertyMatchingWeights |
unmatchedWords(double weight)
Set the weight associated with the number of unmatched words between two property expressions |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScoringClassMapBuilder.PropertyMatchingWeights()
| Method Detail |
|---|
public double commonWordCount()
public ScoringClassMapBuilder.PropertyMatchingWeights commonWordCount(double weight)
weight - the weight associated with the number of words found in common
public double containsName()
public ScoringClassMapBuilder.PropertyMatchingWeights containsName(double weight)
weight - the weight associated with one property containing the
entire name of another property
public double typeMatch()
public ScoringClassMapBuilder.PropertyMatchingWeights typeMatch(double weight)
weight - the weight associated with one property matching the type of the other
public double nestedDepth()
public ScoringClassMapBuilder.PropertyMatchingWeights nestedDepth(double weight)
weight - the weight modifier associated with a property word's edit distance based on
it's nesting depth
public double unmatchedWords()
public ScoringClassMapBuilder.PropertyMatchingWeights unmatchedWords(double weight)
weight - the weight associated with the number of unmatched words between two property expressions
public double editDistance()
public ScoringClassMapBuilder.PropertyMatchingWeights editDistance(double weight)
weight - the weight associated with the edit distance between words in two property expressions
public double minimumScore()
public ScoringClassMapBuilder.PropertyMatchingWeights minimumScore(double weight)
weight - the weight applied to the minimum score needed to accept a given match
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||