|
Oracle® OLAP Java API Reference 11g Release 2 (11.2) E10794-01 Beta Draft |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.olapi.syntax.SyntaxObject
oracle.olapi.syntax.DataObject
oracle.olapi.syntax.Expression
oracle.olapi.syntax.Condition
oracle.olapi.syntax.NotCondition
public final class NotCondition
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.SyntaxObject |
---|
equals, equals, fromSyntax, fromSyntax, fromSyntax, fromSyntax, fromSyntax, isValid, toSyntax, 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 |
---|
public NotCondition(Condition baseCondition)
NotCondition
that negates
the value of the base condition.
baseCondition
- A Condition
that
evaluates to a Boolean or
unknown value.Method Detail |
---|
public java.lang.Object visit(SyntaxObjectVisitor visitor, java.lang.Object context)
visitNotCondition
method of the
SyntaxObjectVisitor
and passes that method this
NotCondition
and an Object
.
visit
in class SyntaxObject
visitor
- A SyntaxObjectVisitor
.context
- An Object
.
Object
returned by the
visitNotCondition
method.public Condition getBaseCondition()
NotCondition
.
Condition
to negate.
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |