|
||||||||||
| 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.LikeIgnoreCase
public class LikeIgnoreCase
The LikeIgnoreCase condition implements the comparison of values with wildcards and
ignors case.
*,? is used as wildcard symbol for any characters. (? any character, * unlimited number of any characters)
| Field Summary | |
|---|---|
protected java.lang.String |
searchTransformed
The transformed search value. |
protected java.lang.Object |
searchValue
The last search value. |
| Constructor Summary | |
|---|---|
LikeIgnoreCase()
Creates a new instance of LikeIgnoreCase. |
|
LikeIgnoreCase(IDataRow pDataRow,
java.lang.String pColumnName)
Constructs a new LikeIgnoreCase Condition, with a column, the IDataRow to check and if null values should be ignored. |
|
LikeIgnoreCase(IDataRow pDataRow,
java.lang.String pColumnName,
boolean pIgnoreNull)
Constructs a new LikeIgnoreCase Condition, with a column, the IDataRow to check and that null values will be ignored. setIgnoreNull(true). |
|
LikeIgnoreCase(IDataRow pDataRow,
java.lang.String pDataRowColumnName,
java.lang.String pColumnName)
Constructs a new LikeIgnoreCase 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). |
|
LikeIgnoreCase(IDataRow pDataRow,
java.lang.String pDataRowColumnName,
java.lang.String pColumnName,
boolean pIgnoreNull)
Constructs a new LikeIgnoreCase 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. |
|
LikeIgnoreCase(java.lang.String pColumnName,
java.lang.Object pValue)
Creates a new instance of LikeIgnoreCase with a defined compare value. |
|
LikeIgnoreCase(java.lang.String pColumnName,
java.lang.Object pValue,
boolean pIgnoreNull)
Creates a new instance of LikeIgnoreCase with a defined compare value. |
|
| Method Summary | |
|---|---|
protected boolean |
isFulfilled(IDataType pDataType,
java.lang.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 |
| Field Detail |
|---|
protected java.lang.Object searchValue
protected java.lang.String searchTransformed
| Constructor Detail |
|---|
public LikeIgnoreCase()
LikeIgnoreCase.
public LikeIgnoreCase(java.lang.String pColumnName,
java.lang.Object pValue)
LikeIgnoreCase with a defined compare value.
pColumnName - the column name for the value comparisonpValue - the value to compare. % is used as wildcard symbol for any characters.
public LikeIgnoreCase(java.lang.String pColumnName,
java.lang.Object pValue,
boolean pIgnoreNull)
LikeIgnoreCase 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 compare. % is used as wildcard symbol for any characters.pIgnoreNull - true if null values are desired
public LikeIgnoreCase(IDataRow pDataRow,
java.lang.String pColumnName)
pDataRow - the IDataRow to use for the compare.pColumnName - the column name to use for the compare operation
public LikeIgnoreCase(IDataRow pDataRow,
java.lang.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 LikeIgnoreCase(IDataRow pDataRow,
java.lang.String pDataRowColumnName,
java.lang.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 operation
public LikeIgnoreCase(IDataRow pDataRow,
java.lang.String pDataRowColumnName,
java.lang.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,
java.lang.Object pValue)
ICondition, under usage of
the specified IDataType.
isFulfilled in class CompareConditionpDataType - 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 | |||||||||