Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 2 (11.1.2.3.0)

E17492-04


oracle.dss.util
Class CompoundCondition

java.lang.Object
  extended by oracle.dss.util.CompoundCondition


public class CompoundCondition
extends java.lang.Object

CompoundCondition generated by combining 2 SimpleConditions or a combination of SimpleCondition and another CompoundCondition


Field Summary
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 Summary
CompoundCondition()
           
CompoundCondition(java.lang.Object leftOperand, int operator, java.lang.Object rightOperand)
          constructor

 

Method Summary
 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)
           

 

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

 

Field Detail

OR

public static final int OR
OR (|). Performs a logical OR of left operand with the right operand
See Also:
Constant Field Values

AND

public static final int AND
AND (&) Performs a logical AND of left operand with the right operand
See Also:
Constant Field Values

m_eh

protected ErrorHandler m_eh
For internal use only. Application developers should not use this

m_leftOperand

protected java.lang.Object m_leftOperand

m_operator

protected int m_operator

m_rightOperand

protected java.lang.Object m_rightOperand

XML_NAME

public static final java.lang.String XML_NAME
See Also:
Constant Field Values

Constructor Detail

CompoundCondition

public CompoundCondition()
For internal use only. Application developers should not use this
default constructor

CompoundCondition

public CompoundCondition(java.lang.Object leftOperand,
                         int operator,
                         java.lang.Object rightOperand)
constructor
Parameters:
leftOperand - object of type CompoundCondition or SimpleCondition
operator - logical operator
rightOperand - object of type CompoundCondition or SimpleCondition

Method Detail

isValidCondition

public boolean isValidCondition()
check if the condition is valid

setErrorHandler

public void setErrorHandler(ErrorHandler eh)
Specifies the error handler
Parameters:
eh - The error handler to use.

getErrorHandler

public ErrorHandler getErrorHandler()
get error handler of viewformat
Returns:
the error handler to use.

equals

public boolean equals(java.lang.Object o)
Indicates whether the specified object is equivalent to this CompoundCondition.
Overrides:
equals in class java.lang.Object
Parameters:
o - The object to compare with this CompoundCondition.
Returns:
true if both objects have the same elememnts false if not or if o is not a CompoundCondition.

getLeftOperand

public java.lang.Object getLeftOperand()
returns the left operand
Returns:
object representing simple or compound condition

getOperator

public int getOperator()
returns the operator used for this condition
Returns:
integer representing the operator

getRightOperand

public java.lang.Object getRightOperand()
returns the right operand
Returns:
object representing simple or compound condition

getXML

public oracle.dss.util.xml.ContainerNode getXML()
For internal use only. Application developers should not use this
Retrieves XML from this condition returns null if condition is invalid

setXML

public boolean setXML(oracle.dss.util.xml.ContainerNode node)
For internal use only. Application developers should not use this
creates condition from the XML

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 2 (11.1.2.3.0)

E17492-04


Copyright © 1997, 2012, Oracle. All rights reserved.