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