|
Oracle® OLAP Java API Reference 12c Release 1 (12.1) E17708-05 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.olapi.metadata.mdm.MdmBaseObjectVisitor
public abstract class MdmBaseObjectVisitor
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 MdmMultiValuedAttribute. |
java.lang.Object |
visitMdmMultiValuedDerivedAttribute(MdmMultiValuedDerivedAttribute mdmObject, java.lang.Object context)Executes operations on the specified MdmMultiValuedDerivedAttribute. |
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 |
|---|
public java.lang.Object visitMdmAttribute(MdmAttribute mdmObject,
java.lang.Object context)
MdmAttribute. The default implementation of this method calls the visitMdmDimensionedObject method.visitMdmAttribute in interface MdmObjectVisitormdmObject - An MdmAttribute.context - An Object.Object.
public java.lang.Object visitMdmDimension(MdmDimension mdmObject,
java.lang.Object context)
MdmDimension. The default implementation of this method calls the visitMdmSource method.mdmObject - An MdmDimension.context - An Object.Object.
public java.lang.Object visitMdmDimensionedObject(MdmDimensionedObject mdmObject,
java.lang.Object context)
MdmDimensionedObject. The default implementation of this method calls the visitMdmSource method.mdmObject - An MdmDimensionedObject.context - An Object.Object.
public java.lang.Object visitMdmHierarchy(MdmHierarchy mdmObject,
java.lang.Object context)
MdmHierarchy. The default implementation of this method calls visitMdmSubDimension method.mdmObject - An MdmHierarchy.context - An Object.Object.
public java.lang.Object visitMdmLevel(MdmLevel mdmObject,
java.lang.Object context)
MdmLevel. The default implementation of this method calls visitMdmSubDimension method.visitMdmLevel in interface MdmObjectVisitormdmObject - An MdmLevel.context - An Object.Object.
public java.lang.Object visitMdmLevelHierarchy(MdmLevelHierarchy mdmObject,
java.lang.Object context)
MdmLevelHierarchy. The default implementation of this method calls the visitMdmHierarchy method.visitMdmLevelHierarchy in interface MdmObjectVisitormdmObject - An MdmLevelHierarchy.context - An Object.Object.
public java.lang.Object visitMdmMeasure(MdmMeasure mdmObject,
java.lang.Object context)
MdmMeasure. The default implementation of this method calls the visitMdmDimensionedObject method.visitMdmMeasure in interface MdmObjectVisitormdmObject - An MdmMeasure.context - An Object.Object.
public java.lang.Object visitMdmMeasureDimension(MdmMeasureDimension mdmObject,
java.lang.Object context)
MdmMeasureDimension. The default implementation of this method calls the visitMdmPrimaryDimension method.visitMdmMeasureDimension in interface MdmObjectVisitormdmObject - An MdmMeasureDimension.context - An Object.Object.
public java.lang.Object visitMdmObject(MdmObject mdmObject,
java.lang.Object context)
MdmObject, which is useful when you do not need subclass-specific information. The default implementation of this method returns null.mdmObject - An MdmObject.context - An Object.Object.
public java.lang.Object visitMdmPrimaryDimension(MdmPrimaryDimension mdmObject,
java.lang.Object context)
MdmPrimaryDimension. The default implementation of this method calls the visitMdmDimension method.mdmObject - An MdmPrimaryDimension.context - An Object.Object.
public java.lang.Object visitMdmSchema(MdmSchema mdmObject,
java.lang.Object context)
MdmSchema. The default implementation of this method calls the visitMdmObject method.visitMdmSchema in interface MdmObjectVisitormdmObject - An MdmSchema.context - An Object.Object.
public java.lang.Object visitMdmSource(MdmSource mdmObject,
java.lang.Object context)
MdmSource. The default implementation of this method calls the visitMdmObject method.mdmObject - An MdmSource.context - An Object.Object.
public java.lang.Object visitMdmStandardDimension(MdmStandardDimension mdmObject,
java.lang.Object context)
MdmStandardDimension. The default implementation of this method calls the visitMdmPrimaryDimension method.visitMdmStandardDimension in interface MdmObjectVisitormdmObject - An MdmStandardDimension.context - An Object.Object.
public java.lang.Object visitMdmSubDimension(MdmSubDimension mdmObject,
java.lang.Object context)
MdmSubDimension. The default implementation of this method calls the visitMdmDimension method.mdmObject - An MdmSubDimension.context - An Object.Object.
public java.lang.Object visitMdmTimeDimension(MdmTimeDimension mdmObject,
java.lang.Object context)
MdmTimeDimension. The default implementation of this method calls the visitMdmPrimaryDimension method.visitMdmTimeDimension in interface MdmObjectVisitormdmObject - An MdmTimeDimension.context - An Object.Object.
public java.lang.Object visitMdmValueHierarchy(MdmValueHierarchy mdmObject,
java.lang.Object context)
MdmValueHierarchy. The default implementation of this method calls the visitMdmHierarchy method.visitMdmValueHierarchy in interface MdmObjectVisitormdmObject - An MdmValueHierarchy.context - An Object.Object.
public java.lang.Object visitMdmModel(MdmModel mdmObject,
java.lang.Object context)
MdmModel.mdmObject - An MdmModel.context - An Object.Object.
public java.lang.Object visitMdmDimensionCalculationModel(MdmDimensionCalculationModel mdmObject,
java.lang.Object context)
MdmDimensionCalculationModel.visitMdmDimensionCalculationModel in interface Mdm10_1_0_3_ObjectVisitormdmObject - An MdmDimensionCalculationModel.context - An Object.Object.
public java.lang.Object visitMdmStandardMember(MdmStandardMember mdmObject,
java.lang.Object context)
MdmStandardMember.visitMdmStandardMember in interface Mdm10_1_0_3_ObjectVisitormdmObject - An MdmStandardMember.context - An Object.Object.
public java.lang.Object visitMdmTimeMember(MdmTimeMember mdmObject,
java.lang.Object context)
MdmTimeMember.visitMdmTimeMember in interface Mdm10_1_0_3_ObjectVisitormdmObject - An MdmTimeMember.context - An Object.Object.
public java.lang.Object visitMdmAssignment(MdmAssignment mdmObject,
java.lang.Object context)
MdmAssignment.visitMdmAssignment in interface Mdm11_ObjectVisitormdmObject - An MdmAssignment.context - An Object.Object.
public java.lang.Object visitMdmHierarchyLevel(MdmHierarchyLevel mdmObject,
java.lang.Object context)
MdmHierarchyLevel.visitMdmHierarchyLevel in interface Mdm11_ObjectVisitormdmObject - An MdmHierarchyLevel.context - An Object.Object.
public java.lang.Object visitMdmDimensionLevel(MdmDimensionLevel mdmObject,
java.lang.Object context)
MdmDimensionLevel.visitMdmDimensionLevel in interface Mdm11_ObjectVisitormdmObject - An MdmDimensionLevel.context - An Object.Object.
public java.lang.Object visitMdmCube(MdmCube mdmObject,
java.lang.Object context)
MdmCube.visitMdmCube in interface Mdm11_ObjectVisitormdmObject - An MdmCube.context - An Object.Object.
public java.lang.Object visitMdmCustomMember(MdmCustomMember mdmObject,
java.lang.Object context)
MdmCustomMember.visitMdmCustomMember in interface Mdm11_ObjectVisitormdmObject - An MdmCustomMember.context - An Object.Object.
public java.lang.Object visitMdmBaseMeasure(MdmBaseMeasure mdmObject,
java.lang.Object context)
MdmBaseMeasure.visitMdmBaseMeasure in interface Mdm11_ObjectVisitormdmObject - An MdmBaseMeasure.context - An Object.Object.
public java.lang.Object visitMdmBaseAttribute(MdmBaseAttribute mdmObject,
java.lang.Object context)
MdmBaseAttribute.visitMdmBaseAttribute in interface Mdm11_ObjectVisitormdmObject - An MdmBaseAttribute.context - An Object.Object.
public java.lang.Object visitMdmDerivedMeasure(MdmDerivedMeasure mdmObject,
java.lang.Object context)
MdmDerivedMeasure.visitMdmDerivedMeasure in interface Mdm11_ObjectVisitormdmObject - An MdmDerivedMeasure.context - An Object.Object.
public java.lang.Object visitMdmDerivedAttribute(MdmDerivedAttribute mdmObject,
java.lang.Object context)
MdmDerivedAttribute.visitMdmDerivedAttribute in interface Mdm11_ObjectVisitormdmObject - An MdmDerivedAttribute.context - An Object.Object.
public java.lang.Object visitMdmDescriptionType(MdmDescriptionType mdmObject,
java.lang.Object context)
MdmDescriptionType.visitMdmDescriptionType in interface Mdm11_ObjectVisitormdmObject - An MdmDescriptionType.context - An Object.Object.
public java.lang.Object visitMdmColumn(MdmColumn mdmObject,
java.lang.Object context)
MdmColumn.visitMdmColumn in interface Mdm11_ObjectVisitormdmObject - An MdmColumn.context - An Object.Object.
public java.lang.Object visitMdmTable(MdmTable mdmObject,
java.lang.Object context)
MdmTable.visitMdmTable in interface Mdm11_ObjectVisitormdmObject - An MdmTable.context - An Object.Object.
public java.lang.Object visitMdmDatabaseSchema(MdmDatabaseSchema mdmObject,
java.lang.Object context)
MdmDatabaseSchema.visitMdmDatabaseSchema in interface Mdm11_ObjectVisitormdmObject - An MdmDatabaseSchema.context - An Object.Object.
public java.lang.Object visitMdmRootSchema(MdmRootSchema mdmObject,
java.lang.Object context)
MdmRootSchema.visitMdmRootSchema in interface Mdm11_ObjectVisitormdmObject - An MdmRootSchema.context - An Object.Object.
public java.lang.Object visitMdmOrganizationalSchema(MdmOrganizationalSchema mdmObject,
java.lang.Object context)
MdmOrganizationalSchema.visitMdmOrganizationalSchema in interface Mdm11_ObjectVisitormdmObject - An MdmOrganizationalSchema.context - An Object.Object.
public java.lang.Object visitMdmNamedBuildProcess(MdmNamedBuildProcess mdmObject,
java.lang.Object context)
MdmNamedBuildProcess.visitMdmNamedBuildProcess in interface Mdm11_ObjectVisitormdmObject - An MdmNamedBuildProcess.context - An Object.Object.
public java.lang.Object visitMdmMultiValuedDerivedAttribute(MdmMultiValuedDerivedAttribute mdmObject,
java.lang.Object context)
MdmMultiValuedDerivedAttribute.visitMdmMultiValuedDerivedAttribute in interface Mdm11_2_ObjectVisitormdmObject - An MdmMultiValuedDerivedAttribute.context - An Object.Object.
public java.lang.Object visitMdmMultiValuedAttribute(MdmMultiValuedAttribute mdmObject,
java.lang.Object context)
MdmMultiValuedAttribute.mdmObject - An MdmMultiValuedAttribute.context - An Object.Object.
public java.lang.Object visitMdmSingleValuedAttribute(MdmSingleValuedAttribute mdmObject,
java.lang.Object context)
MdmSingleValuedAttribute.mdmObject - An MdmSingleValuedAttribute.context - An Object.Object.
public java.lang.Object visitMdmDimensionality(MdmDimensionality mdmObject,
java.lang.Object context)
MdmDimensionality.visitMdmDimensionality in interface Mdm11_2_ObjectVisitormdmObject - An MdmDimensionality.context - An Object.Object.
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||