|
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.Qualifier
public final class Qualifier
A DataObject
that represents a dimension member for a
QDRExpression
.
A Qualifier
has an associated MdmPrimaryDimension
and a TypedExpression
that evaluates to a member of the
dimension.
Constructor Summary | |
---|---|
Qualifier(MdmPrimaryDimension dimension,
TypedExpression expression)
Creates a Qualifier that has the specified
dimension member. |
Method Summary | |
---|---|
MdmPrimaryDimension |
getDimension()
Gets the dimension that is associated with this Qualifier . |
TypedExpression |
getExpression()
Gets the expression of this Qualifier , which evaluates to
a dimension member. |
boolean |
isCompositeObject()
Indicates whether this Qualifier contains other
SyntaxObject objects. |
java.lang.Object |
visit(SyntaxObjectVisitor visitor,
java.lang.Object context)
Calls the visitQualifier method of the
SyntaxObjectVisitor and passes that method this
Qualifier and an Object . |
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 Qualifier(MdmPrimaryDimension dimension, TypedExpression expression)
Qualifier
that has the specified
dimension member.
dimension
- An MdmPrimaryDimension
.expression
- A TypedExpression
that evaluates to a
member of the dimension.Method Detail |
---|
public java.lang.Object visit(SyntaxObjectVisitor visitor, java.lang.Object context)
visitQualifier
method of the
SyntaxObjectVisitor
and passes that method this
Qualifier
and an Object
.
visit
in class SyntaxObject
visitor
- A SyntaxObjectVisitor
.context
- An Object
.
Object
returned by the
visitQualifier
method.public MdmPrimaryDimension getDimension()
Qualifier
.
MdmPrimaryDimension
.public TypedExpression getExpression()
Qualifier
, which evaluates to
a dimension member.
TypedExpression
that evaluates to a member of
the specified dimension.public boolean isCompositeObject()
Qualifier
contains other
SyntaxObject
objects.
Because a Qualifier
contains a TypedExpression
,
this method returns true
.
boolean
that is true
if this
Qualifier
contains other SyntaxObject
objects or false
if it does not.
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |