Skip navigation links

Oracle® OLAP Java API Reference
11g Release 1 (11.1)

B28128-01


oracle.olapi.syntax
Class NotCondition

java.lang.Object
  extended by oracle.olapi.syntax.SyntaxObject
      extended by oracle.olapi.syntax.DataObject
          extended by oracle.olapi.syntax.Expression
              extended by oracle.olapi.syntax.Condition
                  extended by oracle.olapi.syntax.NotCondition

All Implemented Interfaces:
FunctionArgument

public final class NotCondition
extends Condition

A Condition that represents a NOT condition, which negates, or reverses, the Boolean value of the base condition. A NotCondition evaluates to true if the base condition evaluates to false. It evaluates to false if the base condition evaluates to true. If the base condition evaluates to UNKNOWN, then the NotCondition evaluates to UNKNOWN.


Constructor Summary
NotCondition(Condition baseCondition)
          Creates a new NotCondition that negates the value of the base condition.

 

Method Summary
 Condition getBaseCondition()
          Gets the base condition for this NotCondition.
 java.lang.Object visit(SyntaxObjectVisitor visitor, java.lang.Object context)
          Calls the visitNotCondition method of the SyntaxObjectVisitor and passes that method this NotCondition and an Object.

 

Methods inherited from class oracle.olapi.syntax.Condition
and, isCompositeObject, not, or

 

Methods inherited from class oracle.olapi.syntax.Expression
getSource

 

Methods inherited from class oracle.olapi.syntax.SyntaxObject
fromSyntax, fromSyntax, fromSyntax, fromSyntax, fromSyntax, isValid, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax

 

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

 

Constructor Detail

NotCondition

public NotCondition(Condition baseCondition)
Creates a new NotCondition that negates the value of the base condition.
Parameters:
baseCondition - A Condition that evaluates to a Boolean or unknown value.

Method Detail

visit

public java.lang.Object visit(SyntaxObjectVisitor visitor,
                              java.lang.Object context)
Calls the visitNotCondition method of the SyntaxObjectVisitor and passes that method this NotCondition and an Object.
Specified by:
visit in class SyntaxObject
Parameters:
visitor - A SyntaxObjectVisitor.
context - An Object.
Returns:
The Object returned by the visitNotCondition method.

getBaseCondition

public Condition getBaseCondition()
Gets the base condition for this NotCondition.
Returns:
The Condition to negate.

Skip navigation links

Copyright © 2002, 2007, Oracle. All rights reserved.