| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ComparisonStyle
Defines a comparison style to be applied for query-by-example attribute comparison.
| Nested Class Summary | |
|---|---|
| static class | ComparisonStyle.DefaultDefault implementation. | 
| static class | ComparisonStyle.StringComparisonMode | 
| Method Summary | |
|---|---|
|  boolean | excludeDefault()Affirms if the default-valued attribute be excluded from comparison. | 
|  boolean | excludeIdentity()Affirms if the identity attribute be excluded from comparison. | 
|  boolean | excludeNull()Affirms if the null-valued attribute be excluded from comparison. | 
|  boolean | excludeVersion()Affirms if the version attribute be excluded from comparison. | 
|  ComparisonStyle.StringComparisonMode | getStringComparsionMode()Gets how string-valued attributes be compared. | 
|  boolean | isDisjunction()Affirms if the attribute comparisons are OR'ed. | 
|  ComparisonStyle | setDisjunction(boolean flag)Sets whether the comparison to OR the attribute comparisons. | 
|  ComparisonStyle | setExcludeDefault(boolean flag)Sets whether the comparison excludes default-valued attributes. | 
|  ComparisonStyle | setExcludeIdentity(boolean flag)Sets whether the comparison excludes identity attribute. | 
|  ComparisonStyle | setExcludeNull(boolean flag)Sets whether the comparison excludes null-valued attributes. | 
|  ComparisonStyle | setExcludeVersion(boolean flag)Sets whether the comparison excludes version attribute. | 
|  ComparisonStyle | setStringComparisonMode(ComparisonStyle.StringComparisonMode mode)Sets the comparison mode for String-valued attributes. | 
| Method Detail | 
|---|
boolean isDisjunction()
ComparisonStyle setDisjunction(boolean flag)
boolean excludeNull()
ComparisonStyle setExcludeNull(boolean flag)
boolean excludeIdentity()
ComparisonStyle setExcludeIdentity(boolean flag)
boolean excludeVersion()
ComparisonStyle setExcludeVersion(boolean flag)
boolean excludeDefault()
ComparisonStyle setExcludeDefault(boolean flag)
ComparisonStyle.StringComparisonMode getStringComparsionMode()
ComparisonStyle setStringComparisonMode(ComparisonStyle.StringComparisonMode mode)
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||