public class CompoundCondition
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
AND
AND (&)
Performs a logical AND of left operand with the right operand
|
protected ErrorHandler |
m_eh |
protected java.lang.Object |
m_leftOperand |
protected int |
m_operator |
protected java.lang.Object |
m_rightOperand |
static int |
OR
OR (|).
|
static java.lang.String |
XML_NAME |
Constructor and Description |
---|
CompoundCondition() |
CompoundCondition(java.lang.Object leftOperand,
int operator,
java.lang.Object rightOperand)
constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Indicates whether the specified object is equivalent to this
CompoundCondition . |
ErrorHandler |
getErrorHandler()
get error handler of viewformat
|
java.lang.Object |
getLeftOperand()
returns the left operand
|
int |
getOperator()
returns the operator used for this condition
|
java.lang.Object |
getRightOperand()
returns the right operand
|
oracle.dss.util.xml.ContainerNode |
getXML() |
boolean |
isValidCondition()
check if the condition is valid
|
void |
setErrorHandler(ErrorHandler eh)
Specifies the error handler
|
boolean |
setXML(oracle.dss.util.xml.ContainerNode node) |
public static final int OR
public static final int AND
protected ErrorHandler m_eh
protected java.lang.Object m_leftOperand
protected int m_operator
protected java.lang.Object m_rightOperand
public static final java.lang.String XML_NAME
public CompoundCondition()
public CompoundCondition(java.lang.Object leftOperand, int operator, java.lang.Object rightOperand)
leftOperand
- object of type CompoundCondition
or
SimpleCondition
operator
- logical operatorrightOperand
- object of type CompoundCondition
or
SimpleCondition
public boolean isValidCondition()
public void setErrorHandler(ErrorHandler eh)
eh
- The error handler to use.public ErrorHandler getErrorHandler()
public boolean equals(java.lang.Object o)
CompoundCondition
.equals
in class java.lang.Object
o
- The object to compare with this CompoundCondition
.true
if both objects have the same elememnts
false
if not or if o
is not a
CompoundCondition
.public java.lang.Object getLeftOperand()
public int getOperator()
public java.lang.Object getRightOperand()
public oracle.dss.util.xml.ContainerNode getXML()
public boolean setXML(oracle.dss.util.xml.ContainerNode node)