Skip navigation links

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

E10794-05


oracle.olapi.metadata.mdm
Class MdmBaseObjectVisitor

java.lang.Object
  extended by oracle.olapi.metadata.mdm.MdmBaseObjectVisitor

All Implemented Interfaces:
Mdm10_1_0_3_ObjectVisitor, Mdm11_2_ObjectVisitor, Mdm11_ObjectVisitor, MdmObjectVisitor

public abstract class MdmBaseObjectVisitor
extends java.lang.Object
implements Mdm11_2_ObjectVisitor

An implementation of the MdmObjectVisitor interface that adds methods for visiting more classes in the MdmObject class hierarchy. With your visitor, you can implement polymorphic behavior without having access to the internal code of MdmObject or its subclasses.

MdmBaseObjectVisitor has a visit method for each of the classes in the MdmObject class hierarchy. MdmObject and its subclasses have an acceptVisitor method. The parameters of an acceptVisitor method are an MdmObjectVisitor and a java.lang.Object. When you call the acceptVisitor method of an MdmObject, the acceptVisitor method calls the corresponding visit method of your MdmBaseObjectVisitor. The acceptVisitor method passes the MdmObject and the Object to the visit method. For example, you could call the acceptVisitor method of an MdmMeasure and pass it your MdmBaseObjectVisitor and an Object. The acceptVisitor method would then pass the MdmMeasure and the Object to the visitMdmMeasure method of your MdmObjectVisitor.

A visit method of your MdmBaseObjectVisitor can perform whatever operations you want it to on the MdmObject it receives. For example, a visitMdmMeasure method might call the getDimensions method of the MdmMeasure, and then call methods of the Object to format and display the resulting information. A visit method must return a java.lang.Object.


Method Summary
 java.lang.Object visitMdmAssignment(MdmAssignment mdmObject, java.lang.Object context)
          Executes operations on the specified MdmAssignment.
 java.lang.Object visitMdmAttribute(MdmAttribute mdmObject, java.lang.Object context)
          Executes operations on the specified MdmAttribute.
 java.lang.Object visitMdmBaseAttribute(MdmBaseAttribute mdmObject, java.lang.Object context)
          Executes operations on the specified MdmBaseAttribute.
 java.lang.Object visitMdmBaseMeasure(MdmBaseMeasure mdmObject, java.lang.Object context)
          Executes operations on the specified MdmBaseMeasure.
 java.lang.Object visitMdmColumn(MdmColumn mdmObject, java.lang.Object context)
          Executes operations on the specified MdmColumn.
 java.lang.Object visitMdmCube(MdmCube mdmObject, java.lang.Object context)
          Executes operations on the specified MdmCube.
 java.lang.Object visitMdmCustomMember(MdmCustomMember mdmObject, java.lang.Object context)
          Executes operations on the specified MdmCustomMember.
 java.lang.Object visitMdmDatabaseSchema(MdmDatabaseSchema mdmObject, java.lang.Object context)
          Executes operations on the specified MdmDatabaseSchema.
 java.lang.Object visitMdmDerivedAttribute(MdmDerivedAttribute mdmObject, java.lang.Object context)
          Executes operations on the specified MdmDerivedAttribute.
 java.lang.Object visitMdmDerivedMeasure(MdmDerivedMeasure mdmObject, java.lang.Object context)
          Executes operations on the specified MdmDerivedMeasure.
 java.lang.Object visitMdmDescriptionType(MdmDescriptionType mdmObject, java.lang.Object context)
          Executes operations on the specified MdmDescriptionType.
 java.lang.Object visitMdmDimension(MdmDimension mdmObject, java.lang.Object context)
          Executes operations on the specified MdmDimension.
 java.lang.Object visitMdmDimensionality(MdmDimensionality mdmObject, java.lang.Object context)
          Executes operations on the specified MdmDimensionality.
 java.lang.Object visitMdmDimensionCalculationModel(MdmDimensionCalculationModel mdmObject, java.lang.Object context)
          Executes operations on the specified MdmDimensionCalculationModel.
 java.lang.Object visitMdmDimensionedObject(MdmDimensionedObject mdmObject, java.lang.Object context)
          Executes operations on the specified MdmDimensionedObject.
 java.lang.Object visitMdmDimensionLevel(MdmDimensionLevel mdmObject, java.lang.Object context)
          Executes operations on the specified MdmDimensionLevel.
 java.lang.Object visitMdmHierarchy(MdmHierarchy mdmObject, java.lang.Object context)
          Executes operations on the specified MdmHierarchy.
 java.lang.Object visitMdmHierarchyLevel(MdmHierarchyLevel mdmObject, java.lang.Object context)
          Executes operations on the specified MdmHierarchyLevel.
 java.lang.Object visitMdmLevel(MdmLevel mdmObject, java.lang.Object context)
          Executes operations on the specified MdmLevel.
 java.lang.Object visitMdmLevelHierarchy(MdmLevelHierarchy mdmObject, java.lang.Object context)
          Executes operations on the specified MdmLevelHierarchy.
 java.lang.Object visitMdmMeasure(MdmMeasure mdmObject, java.lang.Object context)
          Executes operations on the specified MdmMeasure.
 java.lang.Object visitMdmMeasureDimension(MdmMeasureDimension mdmObject, java.lang.Object context)
          Executes operations on the specified MdmMeasureDimension.
 java.lang.Object visitMdmModel(MdmModel mdmObject, java.lang.Object context)
          Executes operations on the specified MdmModel.
 java.lang.Object visitMdmMultiValuedAttribute(MdmMultiValuedAttribute mdmObject, java.lang.Object context)
          Executes operations on the specified MdmMulitValuedAttribute.
 java.lang.Object visitMdmMultiValuedDerivedAttribute(MdmMultiValuedDerivedAttribute mdmObject, java.lang.Object context)
          Executes operations on the specified MdmMulitValuedDerivedAttribute.
 java.lang.Object visitMdmNamedBuildProcess(MdmNamedBuildProcess mdmObject, java.lang.Object context)
          Executes operations on the specified MdmNamedBuildProcess.
 java.lang.Object visitMdmObject(MdmObject mdmObject, java.lang.Object context)
          Executes operations on any object that is a subclass of MdmObject, which is useful when you do not need subclass-specific information.
 java.lang.Object visitMdmOrganizationalSchema(MdmOrganizationalSchema mdmObject, java.lang.Object context)
          Executes operations on the specified MdmOrganizationalSchema.
 java.lang.Object visitMdmPrimaryDimension(MdmPrimaryDimension mdmObject, java.lang.Object context)
          Executes operations on the specified MdmPrimaryDimension.
 java.lang.Object visitMdmRootSchema(MdmRootSchema mdmObject, java.lang.Object context)
          Executes operations on the specified MdmRootSchema.
 java.lang.Object visitMdmSchema(MdmSchema mdmObject, java.lang.Object context)
          Executes operations on the specified MdmSchema.
 java.lang.Object visitMdmSingleValuedAttribute(MdmSingleValuedAttribute mdmObject, java.lang.Object context)
          Executes operations on the specified MdmSingleValuedAttribute.
 java.lang.Object visitMdmSource(MdmSource mdmObject, java.lang.Object context)
          Executes operations on the specified MdmSource.
 java.lang.Object visitMdmStandardDimension(MdmStandardDimension mdmObject, java.lang.Object context)
          Executes operations on the specified MdmStandardDimension.
 java.lang.Object visitMdmStandardMember(MdmStandardMember mdmObject, java.lang.Object context)
          Executes operations on the specified MdmStandardMember.
 java.lang.Object visitMdmSubDimension(MdmSubDimension mdmObject, java.lang.Object context)
          Executes operations on the specified MdmSubDimension.
 java.lang.Object visitMdmTable(MdmTable mdmObject, java.lang.Object context)
          Executes operations on the specified MdmTable.
 java.lang.Object visitMdmTimeDimension(MdmTimeDimension mdmObject, java.lang.Object context)
          Executes operations on the specified MdmTimeDimension.
 java.lang.Object visitMdmTimeMember(MdmTimeMember mdmObject, java.lang.Object context)
          Executes operations on the specified MdmTimeMember.
 java.lang.Object visitMdmValueHierarchy(MdmValueHierarchy mdmObject, java.lang.Object context)
          Executes operations on the specified MdmValueHierarchy.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Methods inherited from interface oracle.olapi.metadata.mdm.Mdm10_1_0_3_ObjectVisitor
visitMdmAttributeModel, visitMdmMeasureModel

 

Method Detail

visitMdmAttribute

public java.lang.Object visitMdmAttribute(MdmAttribute mdmObject,
                                          java.lang.Object context)
Executes operations on the specified MdmAttribute. The default implementation of this method calls the visitMdmDimensionedObject method.
Specified by:
visitMdmAttribute in interface MdmObjectVisitor
Parameters:
mdmObject - An MdmAttribute.
context - An Object.
Returns:
An Object.

visitMdmDimension

public java.lang.Object visitMdmDimension(MdmDimension mdmObject,
                                          java.lang.Object context)
Executes operations on the specified MdmDimension. The default implementation of this method calls the visitMdmSource method.
Parameters:
mdmObject - An MdmDimension.
context - An Object.
Returns:
An Object.

visitMdmDimensionedObject

public java.lang.Object visitMdmDimensionedObject(MdmDimensionedObject mdmObject,
                                                  java.lang.Object context)
Executes operations on the specified MdmDimensionedObject. The default implementation of this method calls the visitMdmSource method.
Parameters:
mdmObject - An MdmDimensionedObject.
context - An Object.
Returns:
An Object.

visitMdmHierarchy

public java.lang.Object visitMdmHierarchy(MdmHierarchy mdmObject,
                                          java.lang.Object context)
Executes operations on the specified MdmHierarchy. The default implementation of this method calls visitMdmSubDimension method.
Parameters:
mdmObject - An MdmHierarchy.
context - An Object.
Returns:
An Object.

visitMdmLevel

public java.lang.Object visitMdmLevel(MdmLevel mdmObject,
                                      java.lang.Object context)
Executes operations on the specified MdmLevel. The default implementation of this method calls visitMdmSubDimension method.
Specified by:
visitMdmLevel in interface MdmObjectVisitor
Parameters:
mdmObject - An MdmLevel.
context - An Object.
Returns:
An Object.

visitMdmLevelHierarchy

public java.lang.Object visitMdmLevelHierarchy(MdmLevelHierarchy mdmObject,
                                               java.lang.Object context)
Executes operations on the specified MdmLevelHierarchy. The default implementation of this method calls the visitMdmHierarchy method.
Specified by:
visitMdmLevelHierarchy in interface MdmObjectVisitor
Parameters:
mdmObject - An MdmLevelHierarchy.
context - An Object.
Returns:
An Object.

visitMdmMeasure

public java.lang.Object visitMdmMeasure(MdmMeasure mdmObject,
                                        java.lang.Object context)
Executes operations on the specified MdmMeasure. The default implementation of this method calls the visitMdmDimensionedObject method.
Specified by:
visitMdmMeasure in interface MdmObjectVisitor
Parameters:
mdmObject - An MdmMeasure.
context - An Object.
Returns:
An Object.

visitMdmMeasureDimension

public java.lang.Object visitMdmMeasureDimension(MdmMeasureDimension mdmObject,
                                                 java.lang.Object context)
Executes operations on the specified MdmMeasureDimension. The default implementation of this method calls the visitMdmPrimaryDimension method.
Specified by:
visitMdmMeasureDimension in interface MdmObjectVisitor
Parameters:
mdmObject - An MdmMeasureDimension.
context - An Object.
Returns:
An Object.

visitMdmObject

public java.lang.Object visitMdmObject(MdmObject mdmObject,
                                       java.lang.Object context)
Executes operations on any object that is a subclass of MdmObject, which is useful when you do not need subclass-specific information. The default implementation of this method returns null.
Parameters:
mdmObject - An MdmObject.
context - An Object.
Returns:
An Object.

visitMdmPrimaryDimension

public java.lang.Object visitMdmPrimaryDimension(MdmPrimaryDimension mdmObject,
                                                 java.lang.Object context)
Executes operations on the specified MdmPrimaryDimension. The default implementation of this method calls the visitMdmDimension method.
Parameters:
mdmObject - An MdmPrimaryDimension.
context - An Object.
Returns:
An Object.

visitMdmSchema

public java.lang.Object visitMdmSchema(MdmSchema mdmObject,
                                       java.lang.Object context)
Executes operations on the specified MdmSchema. The default implementation of this method calls the visitMdmObject method.
Specified by:
visitMdmSchema in interface MdmObjectVisitor
Parameters:
mdmObject - An MdmSchema.
context - An Object.
Returns:
An Object.

visitMdmSource

public java.lang.Object visitMdmSource(MdmSource mdmObject,
                                       java.lang.Object context)
Executes operations on the specified MdmSource. The default implementation of this method calls the visitMdmObject method.
Parameters:
mdmObject - An MdmSource.
context - An Object.
Returns:
An Object.

visitMdmStandardDimension

public java.lang.Object visitMdmStandardDimension(MdmStandardDimension mdmObject,
                                                  java.lang.Object context)
Executes operations on the specified MdmStandardDimension. The default implementation of this method calls the visitMdmPrimaryDimension method.
Specified by:
visitMdmStandardDimension in interface MdmObjectVisitor
Parameters:
mdmObject - An MdmStandardDimension.
context - An Object.
Returns:
An Object.

visitMdmSubDimension

public java.lang.Object visitMdmSubDimension(MdmSubDimension mdmObject,
                                             java.lang.Object context)
Executes operations on the specified MdmSubDimension. The default implementation of this method calls the visitMdmDimension method.
Parameters:
mdmObject - An MdmSubDimension.
context - An Object.
Returns:
An Object.

visitMdmTimeDimension

public java.lang.Object visitMdmTimeDimension(MdmTimeDimension mdmObject,
                                              java.lang.Object context)
Executes operations on the specified MdmTimeDimension. The default implementation of this method calls the visitMdmPrimaryDimension method.
Specified by:
visitMdmTimeDimension in interface MdmObjectVisitor
Parameters:
mdmObject - An MdmTimeDimension.
context - An Object.
Returns:
An Object.

visitMdmValueHierarchy

public java.lang.Object visitMdmValueHierarchy(MdmValueHierarchy mdmObject,
                                               java.lang.Object context)
Executes operations on the specified MdmValueHierarchy. The default implementation of this method calls the visitMdmHierarchy method.
Specified by:
visitMdmValueHierarchy in interface MdmObjectVisitor
Parameters:
mdmObject - An MdmValueHierarchy.
context - An Object.
Returns:
An Object.

visitMdmModel

public java.lang.Object visitMdmModel(MdmModel mdmObject,
                                      java.lang.Object context)
Executes operations on the specified MdmModel.
Parameters:
mdmObject - An MdmModel.
context - An Object.
Returns:
An Object.

visitMdmDimensionCalculationModel

public java.lang.Object visitMdmDimensionCalculationModel(MdmDimensionCalculationModel mdmObject,
                                                          java.lang.Object context)
Executes operations on the specified MdmDimensionCalculationModel.
Specified by:
visitMdmDimensionCalculationModel in interface Mdm10_1_0_3_ObjectVisitor
Parameters:
mdmObject - An MdmDimensionCalculationModel.
context - An Object.
Returns:
An Object.

visitMdmStandardMember

public java.lang.Object visitMdmStandardMember(MdmStandardMember mdmObject,
                                               java.lang.Object context)
Executes operations on the specified MdmStandardMember.
Specified by:
visitMdmStandardMember in interface Mdm10_1_0_3_ObjectVisitor
Parameters:
mdmObject - An MdmStandardMember.
context - An Object.
Returns:
An Object.

visitMdmTimeMember

public java.lang.Object visitMdmTimeMember(MdmTimeMember mdmObject,
                                           java.lang.Object context)
Executes operations on the specified MdmTimeMember.
Specified by:
visitMdmTimeMember in interface Mdm10_1_0_3_ObjectVisitor
Parameters:
mdmObject - An MdmTimeMember.
context - An Object.
Returns:
An Object.

visitMdmAssignment

public java.lang.Object visitMdmAssignment(MdmAssignment mdmObject,
                                           java.lang.Object context)
Executes operations on the specified MdmAssignment.
Specified by:
visitMdmAssignment in interface Mdm11_ObjectVisitor
Parameters:
mdmObject - An MdmAssignment.
context - An Object.
Returns:
An Object.

visitMdmHierarchyLevel

public java.lang.Object visitMdmHierarchyLevel(MdmHierarchyLevel mdmObject,
                                               java.lang.Object context)
Executes operations on the specified MdmHierarchyLevel.
Specified by:
visitMdmHierarchyLevel in interface Mdm11_ObjectVisitor
Parameters:
mdmObject - An MdmHierarchyLevel.
context - An Object.
Returns:
An Object.

visitMdmDimensionLevel

public java.lang.Object visitMdmDimensionLevel(MdmDimensionLevel mdmObject,
                                               java.lang.Object context)
Executes operations on the specified MdmDimensionLevel.
Specified by:
visitMdmDimensionLevel in interface Mdm11_ObjectVisitor
Parameters:
mdmObject - An MdmDimensionLevel.
context - An Object.
Returns:
An Object.

visitMdmCube

public java.lang.Object visitMdmCube(MdmCube mdmObject,
                                     java.lang.Object context)
Executes operations on the specified MdmCube.
Specified by:
visitMdmCube in interface Mdm11_ObjectVisitor
Parameters:
mdmObject - An MdmCube.
context - An Object.
Returns:
An Object.

visitMdmCustomMember

public java.lang.Object visitMdmCustomMember(MdmCustomMember mdmObject,
                                             java.lang.Object context)
Executes operations on the specified MdmCustomMember.
Specified by:
visitMdmCustomMember in interface Mdm11_ObjectVisitor
Parameters:
mdmObject - An MdmCustomMember.
context - An Object.
Returns:
An Object.

visitMdmBaseMeasure

public java.lang.Object visitMdmBaseMeasure(MdmBaseMeasure mdmObject,
                                            java.lang.Object context)
Executes operations on the specified MdmBaseMeasure.
Specified by:
visitMdmBaseMeasure in interface Mdm11_ObjectVisitor
Parameters:
mdmObject - An MdmBaseMeasure.
context - An Object.
Returns:
An Object.

visitMdmBaseAttribute

public java.lang.Object visitMdmBaseAttribute(MdmBaseAttribute mdmObject,
                                              java.lang.Object context)
Executes operations on the specified MdmBaseAttribute.
Specified by:
visitMdmBaseAttribute in interface Mdm11_ObjectVisitor
Parameters:
mdmObject - An MdmBaseAttribute.
context - An Object.
Returns:
An Object.

visitMdmDerivedMeasure

public java.lang.Object visitMdmDerivedMeasure(MdmDerivedMeasure mdmObject,
                                               java.lang.Object context)
Executes operations on the specified MdmDerivedMeasure.
Specified by:
visitMdmDerivedMeasure in interface Mdm11_ObjectVisitor
Parameters:
mdmObject - An MdmDerivedMeasure.
context - An Object.
Returns:
An Object.

visitMdmDerivedAttribute

public java.lang.Object visitMdmDerivedAttribute(MdmDerivedAttribute mdmObject,
                                                 java.lang.Object context)
Executes operations on the specified MdmDerivedAttribute.
Specified by:
visitMdmDerivedAttribute in interface Mdm11_ObjectVisitor
Parameters:
mdmObject - An MdmDerivedAttribute.
context - An Object.
Returns:
An Object.

visitMdmDescriptionType

public java.lang.Object visitMdmDescriptionType(MdmDescriptionType mdmObject,
                                                java.lang.Object context)
Executes operations on the specified MdmDescriptionType.
Specified by:
visitMdmDescriptionType in interface Mdm11_ObjectVisitor
Parameters:
mdmObject - An MdmDescriptionType.
context - An Object.
Returns:
An Object.

visitMdmColumn

public java.lang.Object visitMdmColumn(MdmColumn mdmObject,
                                       java.lang.Object context)
Executes operations on the specified MdmColumn.
Specified by:
visitMdmColumn in interface Mdm11_ObjectVisitor
Parameters:
mdmObject - An MdmColumn.
context - An Object.
Returns:
An Object.

visitMdmTable

public java.lang.Object visitMdmTable(MdmTable mdmObject,
                                      java.lang.Object context)
Executes operations on the specified MdmTable.
Specified by:
visitMdmTable in interface Mdm11_ObjectVisitor
Parameters:
mdmObject - An MdmTable.
context - An Object.
Returns:
An Object.

visitMdmDatabaseSchema

public java.lang.Object visitMdmDatabaseSchema(MdmDatabaseSchema mdmObject,
                                               java.lang.Object context)
Executes operations on the specified MdmDatabaseSchema.
Specified by:
visitMdmDatabaseSchema in interface Mdm11_ObjectVisitor
Parameters:
mdmObject - An MdmDatabaseSchema.
context - An Object.
Returns:
An Object.

visitMdmRootSchema

public java.lang.Object visitMdmRootSchema(MdmRootSchema mdmObject,
                                           java.lang.Object context)
Executes operations on the specified MdmRootSchema.
Specified by:
visitMdmRootSchema in interface Mdm11_ObjectVisitor
Parameters:
mdmObject - An MdmRootSchema.
context - An Object.
Returns:
An Object.

visitMdmOrganizationalSchema

public java.lang.Object visitMdmOrganizationalSchema(MdmOrganizationalSchema mdmObject,
                                                     java.lang.Object context)
Executes operations on the specified MdmOrganizationalSchema.
Specified by:
visitMdmOrganizationalSchema in interface Mdm11_ObjectVisitor
Parameters:
mdmObject - An MdmOrganizationalSchema.
context - An Object.
Returns:
An Object.

visitMdmNamedBuildProcess

public java.lang.Object visitMdmNamedBuildProcess(MdmNamedBuildProcess mdmObject,
                                                  java.lang.Object context)
Executes operations on the specified MdmNamedBuildProcess.
Specified by:
visitMdmNamedBuildProcess in interface Mdm11_ObjectVisitor
Parameters:
mdmObject - An MdmNamedBuildProcess.
context - An Object.
Returns:
An Object.

visitMdmMultiValuedDerivedAttribute

public java.lang.Object visitMdmMultiValuedDerivedAttribute(MdmMultiValuedDerivedAttribute mdmObject,
                                                            java.lang.Object context)
Executes operations on the specified MdmMulitValuedDerivedAttribute.
Specified by:
visitMdmMultiValuedDerivedAttribute in interface Mdm11_2_ObjectVisitor
Parameters:
mdmObject - An MdmMultiValuedDerivedAttribute.
context - An Object.
Returns:
An Object.

visitMdmMultiValuedAttribute

public java.lang.Object visitMdmMultiValuedAttribute(MdmMultiValuedAttribute mdmObject,
                                                     java.lang.Object context)
Executes operations on the specified MdmMulitValuedAttribute.
Parameters:
mdmObject - An MdmMultiValuedAttribute.
context - An Object.
Returns:
An Object.

visitMdmSingleValuedAttribute

public java.lang.Object visitMdmSingleValuedAttribute(MdmSingleValuedAttribute mdmObject,
                                                      java.lang.Object context)
Executes operations on the specified MdmSingleValuedAttribute.
Parameters:
mdmObject - An MdmSingleValuedAttribute.
context - An Object.
Returns:
An Object.

visitMdmDimensionality

public java.lang.Object visitMdmDimensionality(MdmDimensionality mdmObject,
                                               java.lang.Object context)
Executes operations on the specified MdmDimensionality.
Specified by:
visitMdmDimensionality in interface Mdm11_2_ObjectVisitor
Parameters:
mdmObject - An MdmDimensionality.
context - An Object.
Returns:
An Object.

Skip navigation links

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