Skip navigation links

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

E10794-06


oracle.olapi.metadata.mdm
Class MdmRootSchema

java.lang.Object
  extended by oracle.olapi.metadata.BaseMetadataObject
      extended by oracle.olapi.metadata.mdm.MdmObject
          extended by oracle.olapi.metadata.mdm.MdmSchema
              extended by oracle.olapi.metadata.mdm.MdmRootSchema

All Implemented Interfaces:
MetadataObject

public class MdmRootSchema
extends MdmSchema

The top-level MdmSchema of a MdmMetadataProvider. An application gets the MdmRootSchema by calling the getRootSchema method of the MdmMetadataProvider.


Method Summary
 java.lang.Object acceptVisitor(MdmObjectVisitor visitor, java.lang.Object context)
          Calls the visitMdmRootSchema method of the MdmObjectVisitor and passes that method this MdmRootSchema and an Object.
 void addDatabaseSchema(MdmDatabaseSchema subschema)
          Adds the specified MdmDatabaseSchema to this MdmRootSchema.
 void addSubSchema(MdmSchema subschema)
          Adds the specified MdmSchema to this MdmRootSchema.
 java.util.List getCubes()
          Gets the MdmCube objects that the MdmRootSchema contains.
 MdmDatabaseSchema getDatabaseSchema(java.lang.String name)
          Gets the specified MdmDatabaseSchema contained by this MdmRootSchema.
 java.util.List<MdmDatabaseSchema> getDatabaseSchemas()
          Gets the MdmDatabaseSchema objects that this MdmRootSchema contains.
 java.util.List getDimensions()
          Gets the MdmDimension objects that the MdmRootSchema contains.
 java.util.List getMeasures()
          Gets the MdmMeasure objects that the MdmRootSchema contains.
 MdmSchema getOwner()
          Gets this MdmRootSchema because it is the top-level MdmSchema.
 void removeDatabaseSchema(MdmDatabaseSchema subschema)
          Removes the specified MdmDatabaseSchema from this MdmRootSchema.
 void removeSubSchema(MdmSchema subschema)
          Removes the specified MdmSchema from this MdmRootSchema.

 

Methods inherited from class oracle.olapi.metadata.mdm.MdmSchema
addCube, addDimension, addMeasure, getMeasureDimension, getOuterSchema, getSubSchemas, removeCube, removeDimension, removeMeasure

 

Methods inherited from class oracle.olapi.metadata.mdm.MdmObject
addDescription, addObjectClassification, findOrCreateDescription, getDescription, getDescription, getDescription, getDescriptions, getMetadataProvider, getName, getNewName, getObjectClassifications, getShortDescription, isClassifiedAs, removeDescription, removeObjectClassification, setDescription, setDescription, setDescription, setName, setShortDescription

 

Methods inherited from class oracle.olapi.metadata.BaseMetadataObject
getContainedByObject, getID

 

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

 

Method Detail

acceptVisitor

public java.lang.Object acceptVisitor(MdmObjectVisitor visitor,
                                      java.lang.Object context)
Calls the visitMdmRootSchema method of the MdmObjectVisitor and passes that method this MdmRootSchema and an Object.
Overrides:
acceptVisitor in class MdmSchema
Parameters:
visitor - An MdmObjectVisitor that implements the Mdm11_ObjectVisitor interface.
context - An Object.
Returns:
The Object returned by the visitMdmMeasure method.

addDatabaseSchema

public final void addDatabaseSchema(MdmDatabaseSchema subschema)
Adds the specified MdmDatabaseSchema to this MdmRootSchema.
Parameters:
subschema - The MdmDatabaseSchema to add to this MdmRootSchema.

addSubSchema

public final void addSubSchema(MdmSchema subschema)
Adds the specified MdmSchema to this MdmRootSchema. The MdmSchema must be an instance of an MdmDatabaseSchema.
Overrides:
addSubSchema in class MdmSchema
Parameters:
subschema - The MdmSchema to add to this MdmRootSchema.

removeDatabaseSchema

public final void removeDatabaseSchema(MdmDatabaseSchema subschema)
Removes the specified MdmDatabaseSchema from this MdmRootSchema.
Parameters:
subschema - The MdmDatabaseSchema to remove from this MdmRootSchema.

removeSubSchema

public final void removeSubSchema(MdmSchema subschema)
Removes the specified MdmSchema from this MdmRootSchema. The MdmSchema must be an instance of an MdmDatabaseSchema.
Overrides:
removeSubSchema in class MdmSchema
Parameters:
subschema - The MdmSchema to remove from this MdmRootSchema.

getDatabaseSchemas

public final java.util.List<MdmDatabaseSchema> getDatabaseSchemas()
Gets the MdmDatabaseSchema objects that this MdmRootSchema contains.
Returns:
A List of the MdmDatabaseSchema objects that this MdmRootSchema contains.

getDatabaseSchema

public final MdmDatabaseSchema getDatabaseSchema(java.lang.String name)
Gets the specified MdmDatabaseSchema contained by this MdmRootSchema.
Returns:
The specified MdmDatabaseSchema.

getOwner

public final MdmSchema getOwner()
Gets this MdmRootSchema because it is the top-level MdmSchema.
Overrides:
getOwner in class BaseMetadataObject
Returns:
This MdmRootSchema.

getMeasures

public java.util.List getMeasures()
Gets the MdmMeasure objects that the MdmRootSchema contains.
Overrides:
getMeasures in class MdmSchema
Returns:
A List of MdmMeasure objects that the MdmRootSchema contains.

getDimensions

public java.util.List getDimensions()
Gets the MdmDimension objects that the MdmRootSchema contains.
Overrides:
getDimensions in class MdmSchema
Returns:
A List of MdmDimension objects that the MdmRootSchema contains.

getCubes

public java.util.List getCubes()
Gets the MdmCube objects that the MdmRootSchema contains.
Overrides:
getCubes in class MdmSchema
Returns:
A List of MdmCube objects that the MdmRootSchema contains.

Skip navigation links

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