Skip navigation links

Oracle® OLAP Java API Reference
11g Release 2 (11.2)

E10794-05


oracle.olapi.syntax
Class Qualifier

java.lang.Object
  extended by oracle.olapi.syntax.SyntaxObject
      extended by oracle.olapi.syntax.DataObject
          extended by oracle.olapi.syntax.Qualifier


public final class Qualifier
extends DataObject

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

Qualifier

public Qualifier(MdmPrimaryDimension dimension,
                 TypedExpression expression)
Creates a Qualifier that has the specified dimension member.
Parameters:
dimension - An MdmPrimaryDimension.
expression - A TypedExpression that evaluates to a member of the dimension.

Method Detail

visit

public 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.
Specified by:
visit in class SyntaxObject
Parameters:
visitor - A SyntaxObjectVisitor.
context - An Object.
Returns:
The Object returned by the visitQualifier method.

getDimension

public MdmPrimaryDimension getDimension()
Gets the dimension that is associated with this Qualifier.
Returns:
An MdmPrimaryDimension.

getExpression

public TypedExpression getExpression()
Gets the expression of this Qualifier, which evaluates to a dimension member.
Returns:
A TypedExpression that evaluates to a member of the specified dimension.

isCompositeObject

public boolean isCompositeObject()
Indicates whether this Qualifier contains other SyntaxObject objects. Because a Qualifier contains a TypedExpression, this method returns true.
Returns:
A boolean that is true if this Qualifier contains other SyntaxObject objects or false if it does not.

Skip navigation links

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