public class Equals extends RelationalOperator
booleanFixedData, fieldName, fixedData, isBoolean| Constructor and Description |
|---|
Equals(String fieldName,
boolean booleanFixedData)
creates a new Equals object.
|
Equals(String fieldName,
Comparable fixedData)
creates a new Equals object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getResult(Object baseBean)
returns true if the field of the Object object is equal to the Comparable object/boolean data, else returns false.
|
String |
toString()
returns the equality condition being checked using fieldName and fixedData
|
and, compare, orpublic Equals(String fieldName, Comparable fixedData)
fieldName - field which has to be compared.fixedData - compare value.public Equals(String fieldName, boolean booleanFixedData)
fieldName - field which has to be compared.booleanFixedData - compare value.public boolean getResult(Object baseBean)
baseBean - ObjectCopyright © 2013 The Kuali Foundation. All Rights Reserved.