| java.lang.Object org.openharmonise.commons.dsi.dml.WhereCondition org.openharmonise.commons.dsi.dml.FunctionedWhereCondition
FunctionedWhereCondition | public class FunctionedWhereCondition extends WhereCondition (Code) | | WhereCondition which includes a SQL function manipulation on the value of the DB
column before comparison.
Note: the default comparison operator is '='.
author: Michael Bell version: $Revision: 1.1 $ |
FunctionedWhereCondition | public FunctionedWhereCondition(ColumnRef colref, int val) throws DataStoreException(Code) | | Constructs a where condition which can have a function applied.
Parameters: colref - condition column reference Parameters: val - value for comparison throws: DataStoreException - if condition is invalid |
FunctionedWhereCondition | public FunctionedWhereCondition(ColumnRef colref, String sOp, int val) throws DataStoreException(Code) | | Constructs a where condtion which can have a function applied.
Parameters: colref - condition column reference Parameters: sOp - condition comparison operator Parameters: val - value for comparison throws: DataStoreException - if condition is invalid |
FunctionedWhereCondition | public FunctionedWhereCondition(ColumnRef colref, Object val) throws DataStoreException(Code) | | Constructs a where condtion which can have a function applied.
Parameters: colref - condition column reference Parameters: val - value for comparison throws: DataStoreException - if condition is invalid |
FunctionedWhereCondition | public FunctionedWhereCondition(ColumnRef colref, String sOp, Object val) throws DataStoreException(Code) | | Constructs a where condtion which can have a function applied.
Parameters: colref - condition column reference Parameters: sOp - condition comparison operator Parameters: val - value for comparison throws: DataStoreException - if condition is invalid |
FunctionedWhereCondition | public FunctionedWhereCondition(ColumnRef colref, Vector val) throws DataStoreException(Code) | | Constructs a where condtion which can have a function applied.
Parameters: colref - condition column reference Parameters: val - list of values for comparison throws: DataStoreException - if condition is invalid |
FunctionedWhereCondition | public FunctionedWhereCondition(ColumnRef colref, String sOp, Vector val) throws DataStoreException(Code) | | Constructs a where condtion which can have a function applied.
Parameters: colref - condition column reference Parameters: sOp - condition comparison operator Parameters: val - list of values for comparison throws: DataStoreException - if condition is invalid |
getFunction | public Function getFunction()(Code) | | Returns the function to be applied to this condition.
the function to be applied to this condition |
setFunction | public void setFunction(Function func)(Code) | | Sets function for this functioned condition.
Parameters: func - Function to be used in this condition |
|
|