|
Oracle® OLAP Java API Reference 10g Release 2 (10.2) B14348-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 the values of its input parameters an MtmObjectVisitor
and a java.lang.Object
. When you call the acceptVisitor
method on an MtmObject
, the acceptVisitor
method calls the corresponding visit method of your MtmObjectVisitor
. The acceptVisitor
method passes the MtmObject
and the Object
to the visit method. For example, you could call the acceptVisitor
method of an MtmSourceMap
and pass it your MtmObjectVisitor
and an Object
. The acceptVisitor
method would then pass the MtmSourceMap
and the Object
you passed it to the MtmSourceMap
method of your MtmObjectVisitor
.
A visit method of your MtmObjectVisitor
can perform whatever operations you want it to on the MtmObject
it receives. For example, a visitMtmSourceMap
method might call the getMdmSource
method of the MtmSourceMap
, resulting and then call methods of the Object
to format and display the information. A visit method must return a java.lang.Object
.
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 |
public java.lang.Object visitMtmStoredAttributeMap(MtmStoredAttributeMap mtmObject, java.lang.Object context)
MtmStoredAttributeMap
.mtmObject
- An MtmStoredAttributeMap
.context
- An Object
.Object
.public java.lang.Object visitMtmRDBMSColumnExpression(MtmRDBMSColumnExpression mtmObject, java.lang.Object context)
MtmRDBMSColumnExpression
.mtmObject
- An MtmRDBMSColumnExpression
.context
- An Object
.Object
.public java.lang.Object visitMtmAWColumnExpression(MtmAWColumnExpression mtmObject, java.lang.Object context)
MtmAWColumnExpression
.mtmObject
- An MtmAWColumnExpression
.context
- An Object
.Object
.public java.lang.Object visitMtmCompoundExpression(MtmCompoundExpression mtmObject, java.lang.Object context)
MtmCompoundExpression
.mtmObject
- An MtmCompoundExpression
.context
- An Object
.Object
.public java.lang.Object visitMtmCompoundTable(MtmCompoundTable mtmObject, java.lang.Object context)
MtmCompoundTable
.mtmObject
- An MtmCompoundTable
.context
- An Object
.Object
.public java.lang.Object visitMtmDerivedAttributeMap(MtmDerivedAttributeMap mtmObject, java.lang.Object context)
MtmDerivedAttributeMap
.mtmObject
- An MtmDerivedAttributeMap
.context
- An Object
.Object
.public java.lang.Object visitMtmDimensionOrderSpecification(MtmDimensionOrderSpecification mtmObject, java.lang.Object context)
MtmDimensionOrderSpecification
.mtmObject
- An MtmDimensionOrderSpecification
.context
- An Object
.Object
.public java.lang.Object visitMtmLevelMap(MtmLevelMap mtmObject, java.lang.Object context)
MtmLevelMap
.mtmObject
- An MtmLevelMap
.context
- An Object
.Object
.public java.lang.Object visitMtmLiteralExpression(MtmLiteralExpression mtmObject, java.lang.Object context)
MtmLiteralExpression
.mtmObject
- An MtmLiteralExpression
.context
- An Object
.Object
.public java.lang.Object visitMtmMeasureMap(MtmMeasureMap mtmObject, java.lang.Object context)
MtmMeasureMap
.mtmObject
- An MtmMeasureMap
.context
- An Object
.Object
.public java.lang.Object visitMtmPartitionedCube(MtmPartitionedCube mtmObject, java.lang.Object context)
MtmPartitionedCube
.mtmObject
- An MtmPartitionedCube
.context
- An Object
.Object
.public java.lang.Object visitMtmSelectStatement(MtmSelectStatement mtmObject, java.lang.Object context)
MtmSelectStatement
.mtmObject
- An MtmSelectStatement
.context
- An Object
.Object
.public java.lang.Object visitMtmSolvedCube(MtmSolvedCube mtmObject, java.lang.Object context)
MtmSolvedCube
.mtmObject
- An MtmSolvedCube
.context
- An Object
.Object
.public java.lang.Object visitMtmSolvedETCubeDimensionality(MtmSolvedETCubeDimensionality mtmObject, java.lang.Object context)
MtmSolvedETCubeDimensionality
.mtmObject
- An MtmSolvedETCubeDimensionality
.context
- An Object
.Object
.public java.lang.Object visitMtmSolvedGroupingSetCubeDimensionality(MtmSolvedGroupingSetCubeDimensionality mtmObject, java.lang.Object context)
MtmSolvedGroupingSetCubeDimensionality
.mtmObject
- An MtmSolvedGroupingSetCubeDimensionality
.context
- An Object
.Object
.public java.lang.Object visitMtmSolvedLevelHierarchyMap(MtmSolvedLevelHierarchyMap mtmObject, java.lang.Object context)
MtmSolvedLevelHierarchyMap
.mtmObject
- An MtmSolvedLevelHierarchyMap
.context
- An Object
.Object
.public java.lang.Object visitMtmSolvedRollupCubeDimensionality(MtmSolvedRollupCubeDimensionality mtmObject, java.lang.Object context)
MtmSolvedRollupCubeDimensionality
.mtmObject
- An MtmSolvedRollupCubeDimensionality
.context
- An Object
.Object
.public java.lang.Object visitMtmAWView(MtmAWView mtmObject, java.lang.Object context)
MtmAWView
.mtmObject
- An MtmAWView
.context
- An Object
.Object
.public java.lang.Object visitMtmRdbmsTableOrView(MtmRdbmsTableOrView mtmObject, java.lang.Object context)
MtmRdbmsTableOrView
.mtmObject
- An MtmRdbmsTableOrView
.context
- An Object
.Object
.public java.lang.Object visitMtmUnsolvedCube(MtmUnsolvedCube mtmObject, java.lang.Object context)
MtmUnsolvedCube
.mtmObject
- An MtmUnsolvedCube
.context
- An Object
.Object
.public java.lang.Object visitMtmUnsolvedCubeDimensionality(MtmUnsolvedCubeDimensionality mtmObject, java.lang.Object context)
MtmUnsolvedCubeDimensionality
.mtmObject
- An MtmUnsolvedCubeDimensionality
.context
- An Object
.Object
.public java.lang.Object visitMtmUnsolvedLevelHierarchyMap(MtmUnsolvedLevelHierarchyMap mtmObject, java.lang.Object context)
MtmUnsolvedLevelHierarchyMap
.mtmObject
- An MtmUnsolvedLevelHierarchyMap
.context
- An Object
.Object
.public java.lang.Object visitMtmCustomExpression(MtmCustomExpression mtmObject, java.lang.Object context)
MtmCustomExpression
.mtmObject
- An MtmCustomExpression
.context
- An Object
.Object
.public java.lang.Object visitMtmValueLevelHierarchyMap(MtmValueLevelHierarchyMap mtmObject, java.lang.Object context)
MtmValueLevelHierarchyMap
.mtmObject
- An MtmValueLevelHierarchyMap
.context
- An Object
.Object
.public java.lang.Object visitMtmPrimaryDimensionMap(MtmPrimaryDimensionMap mtmObject, java.lang.Object context)
MtmPrimaryDimensionMap
.mtmObject
- An MtmPrimaryDimensionMap
.context
- An Object
.Object
.public java.lang.Object visitMtmAggregationSpecification(MtmAggregationSpecification mtmObject, java.lang.Object context)
MtmAggregationSpecification
.mtmObject
- An MtmAggregationSpecification
.context
- An Object
.Object
.public java.lang.Object visitMtmNoAggregationStep(MtmNoAggregationStep mtmObject, java.lang.Object context)
MtmNoAggregationStep
.mtmObject
- An MtmNoAggregationStep
.context
- An Object
.Object
.public java.lang.Object visitMtmSimpleAggregationStep(MtmSimpleAggregationStep mtmObject, java.lang.Object context)
MtmSimpleAggregationStep
.mtmObject
- An MtmSimpleAggregationStep
.context
- An Object
.Object
.public java.lang.Object visitMtmWeightedAverageAggregationStep(MtmWeightedAverageAggregationStep mtmObject, java.lang.Object context)
MtmWeightedAverageAggregationStep
.mtmObject
- An MtmWeightedAverageAggregationStep
.context
- An Object
.Object
.public java.lang.Object visitMtmFirstLastAggregationStep(MtmFirstLastAggregationStep mtmObject, java.lang.Object context)
MtmFirstLastAggregationStep
.mtmObject
- An MtmFirstLastAggregationStep
.context
- An Object
.Object
.
|
Oracle® OLAP Java API Reference 10g Release 2 (10.2) B14348-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |