|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.rad.model.condition.BaseCondition
javax.rad.model.condition.CompareCondition
javax.rad.model.condition.Equals
public class Equals
The Equals
condition implements the comparison of values.
Constructor Summary | |
---|---|
Equals()
Creates a new instance of Equals . |
|
Equals(IDataRow pDataRow,
String pColumnName)
Constructs a new Equals Condition, with a column, the IDataRow to check and if null values should be ignored. |
|
Equals(IDataRow pDataRow,
String pColumnName,
boolean pIgnoreNull)
Constructs a new Equals Condition, with a column, the IDataRow to check and that null values will be ignored. setIgnoreNull(true). |
|
Equals(IDataRow pDataRow,
String pDataRowColumnName,
String pColumnName)
Constructs a new Equals Condition, with a column, the IDataRow to check, the column name to use in the IDataRow to get the value and that null values will be ignored. setIgnoreNull(true). |
|
Equals(IDataRow pDataRow,
String pDataRowColumnName,
String pColumnName,
boolean pIgnoreNull)
Constructs a new Equals Condition, with a column, the IDataRow to check, the column name to use in the IDataRow to get the value and if null values should be ignored. |
|
Equals(String pColumnName,
Object pValue)
Creates a new instance of Equals with a defined compare value. |
|
Equals(String pColumnName,
Object pValue,
boolean pIgnoreNull)
Creates a new instance of Equals with a defined compare value. |
Method Summary | |
---|---|
protected boolean |
isFulfilled(IDataType pDataType,
Object pValue)
It checks if the pValue fulfill the ICondition , under usage of
the specified IDataType . |
Methods inherited from class javax.rad.model.condition.CompareCondition |
---|
clone, getColumnName, getDataRow, getDataRowColumnName, getValue, isFulfilled, isIgnoreNull, setColumnName, setIgnoreNull, setValue |
Methods inherited from class javax.rad.model.condition.BaseCondition |
---|
and, or, toString |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Equals()
Equals
.
public Equals(String pColumnName, Object pValue)
Equals
with a defined compare value.
pColumnName
- the column name for the value comparisonpValue
- the value to comparepublic Equals(String pColumnName, Object pValue, boolean pIgnoreNull)
Equals
with a defined compare value. It's
possible to compare null values if desired.
pColumnName
- the column name for the value comparisonpValue
- the value to comparepIgnoreNull
- true if null values are desiredpublic Equals(IDataRow pDataRow, String pColumnName)
pDataRow
- the IDataRow to use for the compare.pColumnName
- the column name to use for the compare operationpublic Equals(IDataRow pDataRow, String pColumnName, boolean pIgnoreNull)
pDataRow
- the IDataRow to use for the compare.pColumnName
- the column name to use for the compare operationpIgnoreNull
- determines if null values should be ignored.public Equals(IDataRow pDataRow, String pDataRowColumnName, String pColumnName)
pDataRow
- the IDataRow to use for the compare.pDataRowColumnName
- the column name in the IDataRow to use for the compare.pColumnName
- the column name to use for the compare operationpublic Equals(IDataRow pDataRow, String pDataRowColumnName, String pColumnName, boolean pIgnoreNull)
pDataRow
- the IDataRow to use for the compare.pDataRowColumnName
- the column name in the IDataRow to use for the compare.pColumnName
- the column name to use for the compare operationpIgnoreNull
- determines if null values should be ignored.Method Detail |
---|
protected boolean isFulfilled(IDataType pDataType, Object pValue)
ICondition
, under usage of
the specified IDataType
.
isFulfilled
in class CompareCondition
pDataType
- the IDataType
to use for the compare operationpValue
- the value to check against.
ICondition
is fulfilled.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |