Skip navigation links

Oracle® OLAP Java API Reference
11g Release 1 (11.1)

B28128-02


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.
 java.util.List getSubSchemas()
          Deprecated. As of Oracle 11g, Release 1 (11.1); replaced by the getDatabaseSchemas method.
 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, removeCube, removeDimension, removeMeasure

 

Methods inherited from class oracle.olapi.metadata.mdm.MdmObject
findOrCreateDescription, getDescription, getDescription, getDescription, getMetadataProvider, getName, getShortDescription, setDescription, setDescription, setDescription, setName, setShortDescription

 

Methods inherited from class oracle.olapi.metadata.BaseMetadataObject
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.

getSubSchemas

public final java.util.List getSubSchemas()
Deprecated. As of Oracle 11g, Release 1 (11.1); replaced by the getDatabaseSchemas method.
Description copied from class: MdmSchema
Gets a List of the subschemas of the MdmSchema. The List contains instances of MdmOrganizationalSchema.
Overrides:
getSubSchemas in class MdmSchema
Returns:
A List of the subschemas of the MdmSchema.

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, 2007, Oracle. All rights reserved.