Oracle OLAP Java API Reference
10g Release 1 (10.1)

B10994-01

oracle.olapi.metadata.mtm
Interface MtmObjectVisitor


public abstract interface MtmObjectVisitor

A visitor object that can execute operations on some of the classes in the MtmObject class hierarchy. With your visitor, you can implement polymorphic behavior without having access to the internal code of the MtmObject class or its subclasses.

MtmObjectVisitor has a visit method for most of the classes in the MtmObject class hierarchy. MtmObject and its subclasses have an acceptVisitor method. The acceptVisitor method takes as its input parameters an MtmObjectVisitor and a context object. When you call the acceptVisitor method on an MtmObject, the acceptVisitor method calls the corresponding visit method on your MtmObjectVisitor. The acceptVisitor method passes the MtmObject and the context to the visit method. For example, you could call the acceptVisitor method on an MtmSourceMap and pass it your MtmObjectVisitor and context objects. The acceptVisitor method would then pass the MtmSourceMap and the context you passed it to the MtmSourceMap method of your MtmObjectVisitor.

A visit method of your MtmObjectVisitor can perform whatever operations you want on the MtmObject it receives, and your context object can be anything you want it to be. For example, a visitMtmSourceMap method might call the getMdmSource method on the MtmSourceMap, and then call methods on the context object to format and display the resulting information. A visit method must return a Java Object, which can be whatever you want it to be.


Method Summary
 java.lang.Object visitMtmAggregationSpecification(MtmAggregationSpecification mtmObject, java.lang.Object context)
          Executes operations on the specified MtmAggregationSpecification.
 java.lang.Object visitMtmAWColumnExpression(MtmAWColumnExpression mtmObject, java.lang.Object context)
          Executes operations on the specified MtmAWColumnExpression.
 java.lang.Object visitMtmAWView(MtmAWView mtmObject, java.lang.Object context)
          Executes operations on the specified MtmAWView.
 java.lang.Object visitMtmCompoundExpression(MtmCompoundExpression mtmObject, java.lang.Object context)
          Executes operations on the specified MtmCompoundExpression.
 java.lang.Object visitMtmCompoundTable(MtmCompoundTable mtmObject, java.lang.Object context)
          Executes operations on the specified MtmCompoundTable.
 java.lang.Object visitMtmCustomExpression(MtmCustomExpression mtmObject, java.lang.Object context)
          Executes operations on the specified MtmCustomExpression.
 java.lang.Object visitMtmDerivedAttributeMap(MtmDerivedAttributeMap mtmObject, java.lang.Object context)
          Executes operations on the specified MtmDerivedAttributeMap.
 java.lang.Object visitMtmDimensionOrderSpecification(MtmDimensionOrderSpecification mtmObject, java.lang.Object context)
          Executes operations on the specified MtmDimensionOrderSpecification.
 java.lang.Object visitMtmFirstLastAggregationStep(MtmFirstLastAggregationStep mtmObject, java.lang.Object context)
          Executes operations on the specified MtmFirstLastAggregationStep.
 java.lang.Object visitMtmLevelMap(MtmLevelMap mtmObject, java.lang.Object context)
          Executes operations on the specified MtmLevelMap.
 java.lang.Object visitMtmLiteralExpression(MtmLiteralExpression mtmObject, java.lang.Object context)
          Executes operations on the specified MtmLiteralExpression.
 java.lang.Object visitMtmMeasureMap(MtmMeasureMap mtmObject, java.lang.Object context)
          Executes operations on the specified MtmMeasureMap.
 java.lang.Object visitMtmNoAggregationStep(MtmNoAggregationStep mtmObject, java.lang.Object context)
          Executes operations on the specified MtmNoAggregationStep.
 java.lang.Object visitMtmPartitionedCube(MtmPartitionedCube mtmObject, java.lang.Object context)
          Executes operations on the specified MtmPartitionedCube.
 java.lang.Object visitMtmPrimaryDimensionMap(MtmPrimaryDimensionMap mtmObject, java.lang.Object context)
          Executes operations on the specified MtmPrimaryDimensionMap.
 java.lang.Object visitMtmRDBMSColumnExpression(MtmRDBMSColumnExpression mtmObject, java.lang.Object context)
          Executes operations on the specified MtmRDBMSColumnExpression.
 java.lang.Object visitMtmRdbmsTableOrView(MtmRdbmsTableOrView mtmObject, java.lang.Object context)
          Executes operations on the specified MtmRdbmsTableOrView.
 java.lang.Object visitMtmSelectStatement(MtmSelectStatement mtmObject, java.lang.Object context)
          Executes operations on the specified MtmSelectStatement.
 java.lang.Object visitMtmSimpleAggregationStep(MtmSimpleAggregationStep mtmObject, java.lang.Object context)
          Executes operations on the specified MtmSimpleAggregationStep.
 java.lang.Object visitMtmSolvedCube(MtmSolvedCube mtmObject, java.lang.Object context)
          Executes operations on the specified MtmSolvedCube.
 java.lang.Object visitMtmSolvedETCubeDimensionality(MtmSolvedETCubeDimensionality mtmObject, java.lang.Object context)
          Executes operations on the specified MtmSolvedETCubeDimensionality.
 java.lang.Object visitMtmSolvedGroupingSetCubeDimensionality(MtmSolvedGroupingSetCubeDimensionality mtmObject, java.lang.Object context)
          Executes operations on the specified MtmSolvedGroupingSetCubeDimensionality.
 java.lang.Object visitMtmSolvedLevelHierarchyMap(MtmSolvedLevelHierarchyMap mtmObject, java.lang.Object context)
          Executes operations on the specified MtmSolvedLevelHierarchyMap.
 java.lang.Object visitMtmSolvedRollupCubeDimensionality(MtmSolvedRollupCubeDimensionality mtmObject, java.lang.Object context)
          Executes operations on the specified MtmSolvedRollupCubeDimensionality.
 java.lang.Object visitMtmStoredAttributeMap(MtmStoredAttributeMap mtmObject, java.lang.Object context)
          Executes operations on the specified MtmStoredAttributeMap.
 java.lang.Object visitMtmUnsolvedCube(MtmUnsolvedCube mtmObject, java.lang.Object context)
          Executes operations on the specified MtmUnsolvedCube.
 java.lang.Object visitMtmUnsolvedCubeDimensionality(MtmUnsolvedCubeDimensionality mtmObject, java.lang.Object context)
          Executes operations on the specified MtmUnsolvedCubeDimensionality.
 java.lang.Object visitMtmUnsolvedLevelHierarchyMap(MtmUnsolvedLevelHierarchyMap mtmObject, java.lang.Object context)
          Executes operations on the specified MtmUnsolvedLevelHierarchyMap.
 java.lang.Object visitMtmValueLevelHierarchyMap(MtmValueLevelHierarchyMap mtmObject, java.lang.Object context)
          Executes operations on the specified MtmValueLevelHierarchyMap.
 java.lang.Object visitMtmWeightedAverageAggregationStep(MtmWeightedAverageAggregationStep mtmObject, java.lang.Object context)
          Executes operations on the specified MtmWeightedAverageAggregationStep.

 

Method Detail

visitMtmStoredAttributeMap

public java.lang.Object visitMtmStoredAttributeMap(MtmStoredAttributeMap mtmObject,
                                                   java.lang.Object context)
Executes operations on the specified MtmStoredAttributeMap.
Parameters:
mtmObject - An MtmStoredAttributeMap.
context - An Object.
Returns:
An Object.

visitMtmRDBMSColumnExpression

public java.lang.Object visitMtmRDBMSColumnExpression(MtmRDBMSColumnExpression mtmObject,
                                                      java.lang.Object context)
Executes operations on the specified MtmRDBMSColumnExpression.
Parameters:
mtmObject - An MtmRDBMSColumnExpression.
context - An Object.
Returns:
An Object.

visitMtmAWColumnExpression

public java.lang.Object visitMtmAWColumnExpression(MtmAWColumnExpression mtmObject,
                                                   java.lang.Object context)
Executes operations on the specified MtmAWColumnExpression.
Parameters:
mtmObject - An MtmAWColumnExpression.
context - An Object.
Returns:
An Object.

visitMtmCompoundExpression

public java.lang.Object visitMtmCompoundExpression(MtmCompoundExpression mtmObject,
                                                   java.lang.Object context)
Executes operations on the specified MtmCompoundExpression.
Parameters:
mtmObject - An MtmCompoundExpression.
context - An Object.
Returns:
An Object.

visitMtmCompoundTable

public java.lang.Object visitMtmCompoundTable(MtmCompoundTable mtmObject,
                                              java.lang.Object context)
Executes operations on the specified MtmCompoundTable.
Parameters:
mtmObject - An MtmCompoundTable.
context - An Object.
Returns:
An Object.

visitMtmDerivedAttributeMap

public java.lang.Object visitMtmDerivedAttributeMap(MtmDerivedAttributeMap mtmObject,
                                                    java.lang.Object context)
Executes operations on the specified MtmDerivedAttributeMap.
Parameters:
mtmObject - An MtmDerivedAttributeMap.
context - An Object.
Returns:
An Object.

visitMtmDimensionOrderSpecification

public java.lang.Object visitMtmDimensionOrderSpecification(MtmDimensionOrderSpecification mtmObject,
                                                            java.lang.Object context)
Executes operations on the specified MtmDimensionOrderSpecification.
Parameters:
mtmObject - An MtmDimensionOrderSpecification.
context - An Object.
Returns:
An Object.

visitMtmLevelMap

public java.lang.Object visitMtmLevelMap(MtmLevelMap mtmObject,
                                         java.lang.Object context)
Executes operations on the specified MtmLevelMap.
Parameters:
mtmObject - An MtmLevelMap.
context - An Object.
Returns:
An Object.

visitMtmLiteralExpression

public java.lang.Object visitMtmLiteralExpression(MtmLiteralExpression mtmObject,
                                                  java.lang.Object context)
Executes operations on the specified MtmLiteralExpression.
Parameters:
mtmObject - An MtmLiteralExpression.
context - An Object.
Returns:
An Object.

visitMtmMeasureMap

public java.lang.Object visitMtmMeasureMap(MtmMeasureMap mtmObject,
                                           java.lang.Object context)
Executes operations on the specified MtmMeasureMap.
Parameters:
mtmObject - An MtmMeasureMap.
context - An Object.
Returns:
An Object.

visitMtmPartitionedCube

public java.lang.Object visitMtmPartitionedCube(MtmPartitionedCube mtmObject,
                                                java.lang.Object context)
Executes operations on the specified MtmPartitionedCube.
Parameters:
mtmObject - An MtmPartitionedCube.
context - An Object.
Returns:
An Object.

visitMtmSelectStatement

public java.lang.Object visitMtmSelectStatement(MtmSelectStatement mtmObject,
                                                java.lang.Object context)
Executes operations on the specified MtmSelectStatement.
Parameters:
mtmObject - An MtmSelectStatement.
context - An Object.
Returns:
An Object.

visitMtmSolvedCube

public java.lang.Object visitMtmSolvedCube(MtmSolvedCube mtmObject,
                                           java.lang.Object context)
Executes operations on the specified MtmSolvedCube.
Parameters:
mtmObject - An MtmSolvedCube.
context - An Object.
Returns:
An Object.

visitMtmSolvedETCubeDimensionality

public java.lang.Object visitMtmSolvedETCubeDimensionality(MtmSolvedETCubeDimensionality mtmObject,
                                                           java.lang.Object context)
Executes operations on the specified MtmSolvedETCubeDimensionality.
Parameters:
mtmObject - An MtmSolvedETCubeDimensionality.
context - An Object.
Returns:
An Object.

visitMtmSolvedGroupingSetCubeDimensionality

public java.lang.Object visitMtmSolvedGroupingSetCubeDimensionality(MtmSolvedGroupingSetCubeDimensionality mtmObject,
                                                                    java.lang.Object context)
Executes operations on the specified MtmSolvedGroupingSetCubeDimensionality.
Parameters:
mtmObject - An MtmSolvedGroupingSetCubeDimensionality.
context - An Object.
Returns:
An Object.

visitMtmSolvedLevelHierarchyMap

public java.lang.Object visitMtmSolvedLevelHierarchyMap(MtmSolvedLevelHierarchyMap mtmObject,
                                                        java.lang.Object context)
Executes operations on the specified MtmSolvedLevelHierarchyMap.
Parameters:
mtmObject - An MtmSolvedLevelHierarchyMap.
context - An Object.
Returns:
An Object.

visitMtmSolvedRollupCubeDimensionality

public java.lang.Object visitMtmSolvedRollupCubeDimensionality(MtmSolvedRollupCubeDimensionality mtmObject,
                                                               java.lang.Object context)
Executes operations on the specified MtmSolvedRollupCubeDimensionality.
Parameters:
mtmObject - An MtmSolvedRollupCubeDimensionality.
context - An Object.
Returns:
An Object.

visitMtmAWView

public java.lang.Object visitMtmAWView(MtmAWView mtmObject,
                                       java.lang.Object context)
Executes operations on the specified MtmAWView.
Parameters:
mtmObject - An MtmAWView.
context - An Object.
Returns:
An Object.

visitMtmRdbmsTableOrView

public java.lang.Object visitMtmRdbmsTableOrView(MtmRdbmsTableOrView mtmObject,
                                                 java.lang.Object context)
Executes operations on the specified MtmRdbmsTableOrView.
Parameters:
mtmObject - An MtmRdbmsTableOrView.
context - An Object.
Returns:
An Object.

visitMtmUnsolvedCube

public java.lang.Object visitMtmUnsolvedCube(MtmUnsolvedCube mtmObject,
                                             java.lang.Object context)
Executes operations on the specified MtmUnsolvedCube.
Parameters:
mtmObject - An MtmUnsolvedCube.
context - An Object.
Returns:
An Object.

visitMtmUnsolvedCubeDimensionality

public java.lang.Object visitMtmUnsolvedCubeDimensionality(MtmUnsolvedCubeDimensionality mtmObject,
                                                           java.lang.Object context)
Executes operations on the specified MtmUnsolvedCubeDimensionality.
Parameters:
mtmObject - An MtmUnsolvedCubeDimensionality.
context - An Object.
Returns:
An Object.

visitMtmUnsolvedLevelHierarchyMap

public java.lang.Object visitMtmUnsolvedLevelHierarchyMap(MtmUnsolvedLevelHierarchyMap mtmObject,
                                                          java.lang.Object context)
Executes operations on the specified MtmUnsolvedLevelHierarchyMap.
Parameters:
mtmObject - An MtmUnsolvedLevelHierarchyMap.
context - An Object.
Returns:
An Object.

visitMtmCustomExpression

public java.lang.Object visitMtmCustomExpression(MtmCustomExpression mtmObject,
                                                 java.lang.Object context)
Executes operations on the specified MtmCustomExpression.
Parameters:
mtmObject - An MtmCustomExpression.
context - An Object.
Returns:
An Object.

visitMtmValueLevelHierarchyMap

public java.lang.Object visitMtmValueLevelHierarchyMap(MtmValueLevelHierarchyMap mtmObject,
                                                       java.lang.Object context)
Executes operations on the specified MtmValueLevelHierarchyMap.
Parameters:
mtmObject - An MtmValueLevelHierarchyMap.
context - An Object.
Returns:
An Object.

visitMtmPrimaryDimensionMap

public java.lang.Object visitMtmPrimaryDimensionMap(MtmPrimaryDimensionMap mtmObject,
                                                    java.lang.Object context)
Executes operations on the specified MtmPrimaryDimensionMap.
Parameters:
mtmObject - An MtmPrimaryDimensionMap.
context - An Object.
Returns:
An Object.

visitMtmAggregationSpecification

public java.lang.Object visitMtmAggregationSpecification(MtmAggregationSpecification mtmObject,
                                                         java.lang.Object context)
Executes operations on the specified MtmAggregationSpecification.
Parameters:
mtmObject - An MtmAggregationSpecification.
context - An Object.
Returns:
An Object.

visitMtmNoAggregationStep

public java.lang.Object visitMtmNoAggregationStep(MtmNoAggregationStep mtmObject,
                                                  java.lang.Object context)
Executes operations on the specified MtmNoAggregationStep.
Parameters:
mtmObject - An MtmNoAggregationStep.
context - An Object.
Returns:
An Object.

visitMtmSimpleAggregationStep

public java.lang.Object visitMtmSimpleAggregationStep(MtmSimpleAggregationStep mtmObject,
                                                      java.lang.Object context)
Executes operations on the specified MtmSimpleAggregationStep.
Parameters:
mtmObject - An MtmSimpleAggregationStep.
context - An Object.
Returns:
An Object.

visitMtmWeightedAverageAggregationStep

public java.lang.Object visitMtmWeightedAverageAggregationStep(MtmWeightedAverageAggregationStep mtmObject,
                                                               java.lang.Object context)
Executes operations on the specified MtmWeightedAverageAggregationStep.
Parameters:
mtmObject - An MtmWeightedAverageAggregationStep.
context - An Object.
Returns:
An Object.

visitMtmFirstLastAggregationStep

public java.lang.Object visitMtmFirstLastAggregationStep(MtmFirstLastAggregationStep mtmObject,
                                                         java.lang.Object context)
Executes operations on the specified MtmFirstLastAggregationStep.
Parameters:
mtmObject - An MtmFirstLastAggregationStep.
context - An Object.
Returns:
An Object.

Oracle OLAP Java API Reference
10g Release 1 (10.1)

B10994-01

Copyright © 2002, 2003, Oracle. All Rights Reserved.