| java.lang.Object org.openharmonise.commons.dsi.dml.WhereCondition
All known Subclasses: org.openharmonise.commons.dsi.dml.FunctionedWhereCondition,
WhereCondition | public class WhereCondition extends Object (Code) | | This class represents a where condition which can be included in a DML statement.
Note: the default operator is the '=' operator.
author: Michael Bell version: $Revision: 1.1 $ |
WhereCondition | public WhereCondition(ColumnRef colref, int val) throws DataStoreException(Code) | | .
Constructs a where condition from the given parameters
Parameters: colref - the condition column reference Parameters: val - the condition value throws: DataStoreException - if the data for the condition is somehow invalid |
WhereCondition | public WhereCondition(ColumnRef colref, String sOp, int val) throws DataStoreException(Code) | | Constructs a where condition from the given parameters.
Parameters: colref - the condition column reference Parameters: sOp - the comparison operator Parameters: val - the condition value throws: DataStoreException - if the data for the condition is somehow invalid |
WhereCondition | public WhereCondition(ColumnRef colref, Object val) throws DataStoreException(Code) | | Constructs a where condition from the given parameters.
Parameters: colref - the condition column reference Parameters: val - the condition value throws: DataStoreException - if the data for the condition is somehow invalid |
WhereCondition | public WhereCondition(ColumnRef colref, String sOp, Object val) throws DataStoreException(Code) | | Constructs a where condition from the given parameters.
Parameters: colref - the condition column reference Parameters: sOp - the comparison operator Parameters: val - the condition value throws: DataStoreException - if the data for the condition is somehow invalid |
WhereCondition | public WhereCondition(ColumnRef colref, Vector val) throws DataStoreException(Code) | | Constructs a where condition from the given parameters.
Parameters: colref - the condition column reference Parameters: val - the condition value throws: DataStoreException - if the data for the condition is somehow invalid |
WhereCondition | public WhereCondition(ColumnRef colref, String sOp, List val) throws DataStoreException(Code) | | Constructs a where condition from the given parameters.
Parameters: colref - the condition column reference Parameters: sOp - the comparison operator Parameters: val - the list of condition values throws: DataStoreException - |
addAssociatedJoinConditions | public void addAssociatedJoinConditions(JoinConditions joins)(Code) | | Adds join conditions which are associated with this condition.
Parameters: joins - the join conditions |
getAssociatedJoinConditions | public JoinConditions getAssociatedJoinConditions()(Code) | | Returns the join conditions that are associated with this condition.
the join conditions |
getColumnName | public String getColumnName()(Code) | | Returns the column name for this condition.
the column name |
getColumnRef | public ColumnRef getColumnRef()(Code) | | Returns the column reference for this condition.
the condition column reference |
getFullColumnRef | public String getFullColumnRef()(Code) | | Returns the full string representation for the column reference for condition.
the full string representation for the column reference |
getOperator | public String getOperator()(Code) | | Returns the comparison operator for this condition.
the comparison operator |
getTableName | public String getTableName()(Code) | | Returns the table name for this condition.
the table name |
getValues | public List getValues()(Code) | | Returns the list of conditional values for this condition.
the list of conditional values |
|
|