|
Oracle Reports Java API Reference 10g (9.0.4) B12019-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.reports.plugin.PluginCondition
Defines a condition, like SQL's WHERE clause, that expresses the restriction on data item values returned in the result set. Conditions are specified by column links in Reports Builder. For plugin data sources that support conditions, the conditions required by the column links on the data sources are passed to the execute method. A condition is in the form:
colIdx-operator-bindValue
For example:
colIdx=1, operator=OPERATOR_EQUAL, bindValue='SCOTT'
means column 1, say ename, must equal 'SCOTT'.
Note that bind values are in ORACLE data types CHAR, NUMBER, or DATE.
Field Summary | |
protected java.lang.Object |
mbindVal |
protected java.lang.String |
mBndVar |
protected int |
mColIdx |
protected int |
mOp |
static int |
OPERATOR_EQUAL |
static int |
OPERATOR_GREATER |
static int |
OPERATOR_LESS |
static int |
OPERATOR_LIKE |
static int |
OPERATOR_NOT_EQUAL |
static int |
OPERATOR_NOT_GREATER |
static int |
OPERATOR_NOT_LESS |
static int |
OPERATOR_NOT_LIKE |
static int |
OPERATOR_UNKNOWN |
Constructor Summary | |
PluginCondition(int colIdx, int operator, java.lang.Object bindValue) Constructs a plugin condition of given column, operator, and bind value. |
Method Summary | |
java.lang.Object |
getBindValue() Returns the bind value of the condition. |
int |
getColumn() Returns the index of the column to which the condition applies. |
int |
getOperator() Returns the operator of the condition. |
void |
setBindValue(java.lang.Object val) Sets the bind value of the condition. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int OPERATOR_UNKNOWN
public static final int OPERATOR_EQUAL
public static final int OPERATOR_LESS
public static final int OPERATOR_GREATER
public static final int OPERATOR_LIKE
public static final int OPERATOR_NOT_EQUAL
public static final int OPERATOR_NOT_LESS
public static final int OPERATOR_NOT_GREATER
public static final int OPERATOR_NOT_LIKE
protected int mColIdx
protected int mOp
protected java.lang.String mBndVar
protected java.lang.Object mbindVal
Constructor Detail |
public PluginCondition(int colIdx, int operator, java.lang.Object bindValue)
colIdx
- The index of the column to which the condition applies.operator
- The operator of the condition.bindValue
- The bind value of the condition.Method Detail |
public int getColumn()
public int getOperator()
public java.lang.Object getBindValue()
public void setBindValue(java.lang.Object val)
|
Oracle Reports Java API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |