Oracle Reports
Java API Reference
11g Release 1 (11.1.1)
E10775-01

oracle.reports.plugin
Class PluginCondition

java.lang.Object
  extended by oracle.reports.plugin.PluginCondition

public class PluginCondition
extends java.lang.Object

Condition, like SQL's WHERE clause, 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 which support condition, conditions required by the column links on the data sources are passed to execute method. Condition is in the form of: colIdx-operator-bindValue For example, colIdx=1, operator=OPERATOR_EQUAL, bindValue='SCOTT' means column 1, say ename, must equals to 'SCOTT'. Note bind values are in ORACLE types: CHAR, NUMBER, or DATE.

Version:
1.01 May 1 2000

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)
          Construct 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 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

OPERATOR_UNKNOWN

public static final int OPERATOR_UNKNOWN
See Also:
Constant Field Values

OPERATOR_EQUAL

public static final int OPERATOR_EQUAL
See Also:
Constant Field Values

OPERATOR_LESS

public static final int OPERATOR_LESS
See Also:
Constant Field Values

OPERATOR_GREATER

public static final int OPERATOR_GREATER
See Also:
Constant Field Values

OPERATOR_LIKE

public static final int OPERATOR_LIKE
See Also:
Constant Field Values

OPERATOR_NOT_EQUAL

public static final int OPERATOR_NOT_EQUAL
See Also:
Constant Field Values

OPERATOR_NOT_LESS

public static final int OPERATOR_NOT_LESS
See Also:
Constant Field Values

OPERATOR_NOT_GREATER

public static final int OPERATOR_NOT_GREATER
See Also:
Constant Field Values

OPERATOR_NOT_LIKE

public static final int OPERATOR_NOT_LIKE
See Also:
Constant Field Values

mColIdx

protected int mColIdx

mOp

protected int mOp

mBndVar

protected java.lang.String mBndVar

mbindVal

protected java.lang.Object mbindVal
Constructor Detail

PluginCondition

public PluginCondition(int colIdx,
                       int operator,
                       java.lang.Object bindValue)
Construct a plugin condition of given column, operator, and bind value.

Parameters:
colIdx - index of the column which the condition applies
operator - operator of the condition
bindValue - bind value of the condition
Throws:
PluginException
Method Detail

getColumn

public int getColumn()
Returns the index of the column which the condition applies


getOperator

public int getOperator()
Returns the operator of the condition


getBindValue

public java.lang.Object getBindValue()
Returns the bind value of the condition


setBindValue

public void setBindValue(java.lang.Object val)
Sets the bind value of the condition


Oracle Reports
Java API Reference

Copyright © 1994, 2009 Oracle Corporation. All Rights Reserved.