|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.student.contract.model.test.source.ComparisonInfo.Builder
public static class ComparisonInfo.Builder
Field Summary | |
---|---|
private String |
fieldKey
|
private boolean |
ignoreCase
|
private String |
operator
|
private List<String> |
values
|
Constructor Summary | |
---|---|
ComparisonInfo.Builder()
|
|
ComparisonInfo.Builder(Comparison infc)
|
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private String fieldKey
private String operator
private List<String> values
private boolean ignoreCase
Constructor Detail |
---|
public ComparisonInfo.Builder()
public ComparisonInfo.Builder(Comparison infc)
Method Detail |
---|
public ComparisonInfo build()
build
in interface ModelBuilder<ComparisonInfo>
public String getFieldKey()
Comparison
getFieldKey
in interface Comparison
public String getOperator()
Comparison
getOperator
in interface Comparison
public List<String> getValues()
Comparison
getValues
in interface Comparison
public boolean isIgnoreCase()
Comparison
isIgnoreCase
in interface Comparison
public ComparisonInfo.Builder setFieldKey(String fieldKey)
public ComparisonInfo.Builder setOperator(String operator)
public void setValue(String value)
value
- public void setValues(List<String> values)
public void setIgnoreCase(boolean ignoreCase)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |