public static class ComparisonStyle.Default extends Object implements ComparisonStyle
ComparisonStyle.Default, ComparisonStyle.StringComparisonMode
Constructor and Description |
---|
Default() |
Modifier and Type | Method and Description |
---|---|
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.
|
public boolean excludeDefault()
ComparisonStyle
excludeDefault
in interface ComparisonStyle
public boolean excludeNull()
ComparisonStyle
excludeNull
in interface ComparisonStyle
public ComparisonStyle.StringComparisonMode getStringComparsionMode()
ComparisonStyle
getStringComparsionMode
in interface ComparisonStyle
public boolean isDisjunction()
ComparisonStyle
isDisjunction
in interface ComparisonStyle
public ComparisonStyle setExcludeDefault(boolean flag)
ComparisonStyle
setExcludeDefault
in interface ComparisonStyle
public ComparisonStyle setExcludeNull(boolean flag)
ComparisonStyle
setExcludeNull
in interface ComparisonStyle
public ComparisonStyle setStringComparisonMode(ComparisonStyle.StringComparisonMode mode)
ComparisonStyle
setStringComparisonMode
in interface ComparisonStyle
public ComparisonStyle setDisjunction(boolean flag)
ComparisonStyle
setDisjunction
in interface ComparisonStyle
public boolean excludeIdentity()
ComparisonStyle
excludeIdentity
in interface ComparisonStyle
public ComparisonStyle setExcludeIdentity(boolean flag)
ComparisonStyle
setExcludeIdentity
in interface ComparisonStyle
public boolean excludeVersion()
ComparisonStyle
excludeVersion
in interface ComparisonStyle
public ComparisonStyle setExcludeVersion(boolean flag)
ComparisonStyle
setExcludeVersion
in interface ComparisonStyle
Copyright © 2006–2020 Apache Software Foundation. All rights reserved.