public static class ComparisonInfo.Builder extends Object implements ModelBuilder<ComparisonInfo>, Comparison
| Constructor and Description |
|---|
ComparisonInfo.Builder() |
ComparisonInfo.Builder(Comparison infc) |
| Modifier and Type | Method and Description |
|---|---|
ComparisonInfo |
build() |
String |
getFieldKey()
Name: Field Key
Dot path notation to identity the name of field to be compared
|
String |
getOperator()
Name: Operator
Operator to use to compare the field to the value.
|
List<String> |
getValues()
Name: Criteria Value(s)
Value to be compared
|
boolean |
isIgnoreCase()
Name: Ignore Case?
Check if should ignore case when doing the comparison
Default is false
If true then the case of both the specified comparison value(s) and the data value from the field should be ignored
|
ComparisonInfo.Builder |
setFieldKey(String fieldKey) |
void |
setIgnoreCase(boolean ignoreCase) |
ComparisonInfo.Builder |
setOperator(String operator) |
void |
setValue(String value)
convenience method
|
void |
setValues(List<String> values) |
public ComparisonInfo.Builder()
public ComparisonInfo.Builder(Comparison infc)
public ComparisonInfo build()
build in interface ModelBuilder<ComparisonInfo>public String getFieldKey()
ComparisongetFieldKey in interface Comparisonpublic String getOperator()
ComparisongetOperator in interface Comparisonpublic List<String> getValues()
ComparisongetValues in interface Comparisonpublic boolean isIgnoreCase()
ComparisonisIgnoreCase in interface Comparisonpublic ComparisonInfo.Builder setFieldKey(String fieldKey)
public ComparisonInfo.Builder setOperator(String operator)
public void setIgnoreCase(boolean ignoreCase)
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.