|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Defines an Object that is mechanism for specifying value patterns for field objects. For instance, a StringFieldValuePattern contains rules for matching String values.
| Method Summary | |
String |
getPattern()
Get a String representation of the pattern. |
boolean |
matches(Object fieldValue)
Check for a pattern match. |
BigDecimal |
score()
Get the score of the FieldValuePattern. |
| Method Detail |
public boolean matches(Object fieldValue)
public String getPattern()
public BigDecimal score()
The FieldValuePattern's score is a value that determines how specific a particular a pattern is. It is a mechanism that allows the implementor to decided how specific a pattern is. For example, a concrete string value of "abcde" is much more specific than a string that contains a wildcard such as "abcd*". Therefore, this method allows for the calculation of that value.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||