Skip navigation links

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

B28128-03


oracle.olapi.syntax
Class AggregationCase

java.lang.Object
  extended by oracle.olapi.syntax.SyntaxObject
      extended by oracle.olapi.syntax.AggregationCase


public final class AggregationCase
extends SyntaxObject

A SyntaxObject that represents an aggregation case for an AggregationCommand. An AggregationCase specifies a method of aggregation for a measure.


Constructor Summary
AggregationCase(java.lang.String functionName, FunctionArgument[] args, MdmBaseMeasure measure)
          Creates an AggregationCase that has the specified function, with function arguments, as the aggregation method for the specified measure.
AggregationCase(java.lang.String functionName, java.util.List<FunctionArgument> args, MdmBaseMeasure measure)
          Creates an AggregationCase that has the specified function, with function arguments, as the aggregation method for the specified measure.

 

Method Summary
 FunctionArgument[] getArguments()
          Gets the function arguments contained by this AggregationCase.
 FunctionDescriptor getFunctionDescriptor()
          Gets the function descriptor associated with this AggregationCase.
 java.lang.String getFunctionName()
          Gets the name of the function for this AggregationCase.
 MdmBaseMeasure getMeasure()
          Gets the measure that is associated with this AggregationCase.
 java.lang.Object visit(SyntaxObjectVisitor visitor, java.lang.Object context)
          Calls the visitAggregationCase method of the SyntaxObjectVisitor and passes that method this AggregationCase and an Object.

 

Methods inherited from class oracle.olapi.syntax.SyntaxObject
equals, equals, 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

AggregationCase

public AggregationCase(java.lang.String functionName,
                       java.util.List<FunctionArgument> args,
                       MdmBaseMeasure measure)
Creates an AggregationCase that has the specified function, with function arguments, as the aggregation method for the specified measure.
Parameters:
functionName - A String that contains the name of the function to use to aggregate the data of the measure.
args - A List of FunctionArgument objects that modify the function.
measure - The MdmBaseMeasure to which to apply the aggregation.

AggregationCase

public AggregationCase(java.lang.String functionName,
                       FunctionArgument[] args,
                       MdmBaseMeasure measure)
Creates an AggregationCase that has the specified function, with function arguments, as the aggregation method for the specified measure.
Parameters:
functionName - A String that contains the name of the function to use to aggregate the data of the measure.
args - An array of FunctionArgument objects that modify the function.
measure - The MdmBaseMeasure to which to apply the aggregation.

Method Detail

getArguments

public FunctionArgument[] getArguments()
Gets the function arguments contained by this AggregationCase.
Returns:
An array of the FunctionArgument of this AggregationCase.

getFunctionDescriptor

public FunctionDescriptor getFunctionDescriptor()
Gets the function descriptor associated with this AggregationCase.
Returns:
The FunctionDescriptor for this AggregationCase.

getFunctionName

public java.lang.String getFunctionName()
Gets the name of the function for this AggregationCase.
Returns:
A String that contains the name of the function for this AggregationCase.

getMeasure

public MdmBaseMeasure getMeasure()
Gets the measure that is associated with this AggregationCase.
Returns:
The MdmBaseMeasure associated with this AggregationCase.

visit

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

Skip navigation links

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