|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.dss.rules.discriminator.ValueDiscriminator
Abstract Discriminator
for a rule that applies based on a comparison of two values. Concrete subclasses of this class specify the kind of value and how the value from the DataView
must relate to this value for the DiscriminatorRule
to apply. For example, a NumberValueDiscriminator
can specify that a DiscriminatorRule
should apply to data values greater than 500,000.
This class defines constants for the following relational operators: =, <, <=, >, >=, >, and !=. This class is abstract because it does not define the applies
method from the Discriminator
interface. Discriminators that extend this class must implement the method.
Field Summary | |
static int |
EQ Equals (=). |
static int |
GE Greater than or equal to (>=). |
static int |
GT Greater than (>). |
static int |
LE Less than or equal to (<=). |
static int |
LT Less than (<). |
static int |
NE Not equal (!=). |
Constructor Summary | |
ValueDiscriminator() Constructor that does not take an operator. | |
ValueDiscriminator(int relOp) Constructor that initializes the relational operator. |
Method Summary | |
abstract java.lang.Object |
clone() Clones this ValueDiscriminator . |
int |
getRelOperator() Retrieves the relational operator for this ValueDiscriminator . |
void |
setRelOperator(int relOp) Specifies the relational operator for this. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.dss.rules.discriminator.DiscriminatorXML |
getXML, setXML |
Methods inherited from interface oracle.dss.rules.discriminator.Discriminator |
applies |
Field Detail |
public static final int EQ
RuleContext
) must equal the right operand (from this ValueDiscriminator
).public static final int LT
RuleContext
) must be less than the right operand (from this ValueDiscriminator
). For dates, the left operand must be earlier than the right operand.public static final int LE
RuleContext
) must be less than or equal to the right operand (from this ValueDiscriminator
). For dates, the left operand must be earlier than or equal to the right operand.public static final int GT
RuleContext
) must be greater than the right operand (from this ValueDiscriminator
). For dates, the left operand must be later than the right operand.public static final int GE
RuleContext
) must be greater than or equal to the right operand (from this ValueDiscriminator
). For dates, the left operand must be later than or equal to the right operand.public static final int NE
RuleContext
) must not equal the right operand (from this ValueDiscriminator
).Constructor Detail |
public ValueDiscriminator()
setRelOperator
method to specify the relational operator for this ValueDiscriminator
.public ValueDiscriminator(int relOp)
relOp
- A constant that represents the relational operator to use in this ValueDiscriminator
.Method Detail |
public abstract java.lang.Object clone()
ValueDiscriminator
.clone
in interface Discriminator
ValueDiscriminator
public int getRelOperator()
ValueDiscriminator
.ValueDiscriminator
. Valid constants are listed in the See Also section.EQ
, LT
, LE
, GT
, GE
, NE
public void setRelOperator(int relOp)
ValueDiscriminator
.relOp
- A constant that represents the relational operator for this ValueDiscriminator
. Valid constants are defined in the See Also section.EQ
, LT
, LE
, GT
, GE
, NE
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |