Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


oracle.dss.gridView
Class ConditionElement

java.lang.Object
  |
  +--oracle.dss.gridView.ConditionElement

public class ConditionElement
extends java.lang.Object

A condition of a UIFormat. A condition can be a QDR member condition, such as Geography: Paris, New York, or a value condition such as Sales > 100


Field Summary
static int BT
          Between operator of value condition on RulesPanel
static int EQ
          Equal operator of value condition on RulesPanel
static int FIXED
          Constant same as in QDRMember.
static int GE
          Greater than and equal operator of value condition on RulesPanel
static int GT
          Greater than operator of value condition on RulesPanel
static int LE
          Less than operator of value condition on RulesPanel
static int LIST
          Member type for a dimension: A list of dimension members.
static int LT
          Less than and equal operator of value condition on RulesPanel
static int MIXED
          Member type for a dimension: mixed with other dimensions
static int VALUE
          Value condition

 

Constructor Summary
ConditionElement(java.lang.String measure, int operator, java.lang.Double value1, java.lang.Double value2, boolean selected)
          Construct a value based condition element
ConditionElement(java.lang.String dimension, java.lang.String data, boolean selected)
          Construct a condition element with fixed QDR member
ConditionElement(java.lang.String dimension, java.lang.String data, boolean selected, int type)
          Construct a condition element with fixed QDR member
ConditionElement(java.lang.String dimension, java.util.Vector data, boolean selected)
          Construct a condition element with fixed QDR member or a list of QDR members
ConditionElement(java.lang.String dimension, java.util.Vector data, boolean selected, int type)
          Construct a condition element with a vector of QDR members

 

Method Summary
 java.lang.Object getData()
           
 java.lang.String getDimension()
           
 int getType()
          return type of this condition element
 boolean isSelected()
           
 void setData(java.lang.Object data)
           
 void setDimension(java.lang.String dimension)
           
 void setSelected(boolean b)
          selection status of this condition
 void setType(int t)
          set type of this condition element

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

FIXED

public static int FIXED
Constant same as in QDRMember. The dimension member is a single, fixed member, such as "PARIS".

LIST

public static int LIST
Member type for a dimension: A list of dimension members.

MIXED

public static int MIXED
Member type for a dimension: mixed with other dimensions

VALUE

public static int VALUE
Value condition

EQ

public static final int EQ
Equal operator of value condition on RulesPanel

GT

public static final int GT
Greater than operator of value condition on RulesPanel

GE

public static final int GE
Greater than and equal operator of value condition on RulesPanel

LE

public static final int LE
Less than operator of value condition on RulesPanel

LT

public static final int LT
Less than and equal operator of value condition on RulesPanel

BT

public static final int BT
Between operator of value condition on RulesPanel
Constructor Detail

ConditionElement

public ConditionElement(java.lang.String dimension,
                        java.lang.String data,
                        boolean selected,
                        int type)
Construct a condition element with fixed QDR member
Parameters:
data - , a string representation of a dimension member pair, for example, "Product: Video, TV, Camera"
selected, - default select status of this condition
type, - the type of the condition
See Also:
FIXED, MIXED, LIST, VALUE

ConditionElement

public ConditionElement(java.lang.String dimension,
                        java.util.Vector data,
                        boolean selected,
                        int type)
Construct a condition element with a vector of QDR members
Parameters:
data - , a string representation of a dimension member pair, for example, "Product: Video, TV, Camera"
selected, - default select status of this condition
type, - the type of the condition
See Also:
FIXED, MIXED, LIST, VALUE

ConditionElement

public ConditionElement(java.lang.String dimension,
                        java.lang.String data,
                        boolean selected)
Construct a condition element with fixed QDR member
Parameters:
data - , a string representation of a dimension member pair, for example, "Product: Video"
selected, - default select status of this condition

ConditionElement

public ConditionElement(java.lang.String dimension,
                        java.util.Vector data,
                        boolean selected)
Construct a condition element with fixed QDR member or a list of QDR members
Parameters:
data - , a string representation of a dimension member pair, for example, "Product: Video, TV, Camera"
selected, - default select status of this condition

ConditionElement

public ConditionElement(java.lang.String measure,
                        int operator,
                        java.lang.Double value1,
                        java.lang.Double value2,
                        boolean selected)
Construct a value based condition element
Parameters:
measure, - a member of measure dimension, for example "Sales".
operator, - integer of operator. for example. "EQ"
value1, - value2. numbers of value based condition
selected, - default select status of this condition
See Also:
EQ, GT, GE, LT, LE, BT
Method Detail

setData

public void setData(java.lang.Object data)

getData

public java.lang.Object getData()

setDimension

public void setDimension(java.lang.String dimension)

getDimension

public java.lang.String getDimension()

isSelected

public boolean isSelected()

setSelected

public void setSelected(boolean b)
selection status of this condition

getType

public int getType()
return type of this condition element

setType

public void setType(int t)
set type of this condition element

Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


Copyright © 2003, Oracle. All Rights Reserved.