|
Oracle® OLAP Java API Reference 11g Release 1 (11.1) B28128-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.olapi.metadata.BaseMetadataObject
oracle.olapi.metadata.mdm.MdmObject
oracle.olapi.metadata.mdm.MdmSchema
oracle.olapi.metadata.mdm.MdmRootSchema
public class MdmRootSchema
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 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 |
---|
public java.lang.Object acceptVisitor(MdmObjectVisitor visitor, java.lang.Object context)
visitMdmRootSchema
method of the MdmObjectVisitor
and passes that method this MdmRootSchema
and an Object
.acceptVisitor
in class MdmSchema
visitor
- An MdmObjectVisitor
that implements the Mdm11_ObjectVisitor
interface.context
- An Object
.Object
returned by the visitMdmMeasure
method.public final void addDatabaseSchema(MdmDatabaseSchema subschema)
MdmDatabaseSchema
to this MdmRootSchema
.subschema
- The MdmDatabaseSchema
to add to this MdmRootSchema
.public final void addSubSchema(MdmSchema subschema)
MdmSchema
to this MdmRootSchema
. The MdmSchema
must be an instance of an MdmDatabaseSchema
.addSubSchema
in class MdmSchema
subschema
- The MdmSchema
to add to this MdmRootSchema
.public final void removeDatabaseSchema(MdmDatabaseSchema subschema)
MdmDatabaseSchema
from this MdmRootSchema
.subschema
- The MdmDatabaseSchema
to remove from this MdmRootSchema
.public final void removeSubSchema(MdmSchema subschema)
MdmSchema
from this MdmRootSchema
. The MdmSchema
must be an instance of an MdmDatabaseSchema
.removeSubSchema
in class MdmSchema
subschema
- The MdmSchema
to remove from this MdmRootSchema
.public final java.util.List<MdmDatabaseSchema> getDatabaseSchemas()
MdmDatabaseSchema
objects that this MdmRootSchema
contains.List
of the MdmDatabaseSchema
objects that this MdmRootSchema
contains.public final MdmDatabaseSchema getDatabaseSchema(java.lang.String name)
MdmDatabaseSchema
contained by this MdmRootSchema
.MdmDatabaseSchema
.public final java.util.List getSubSchemas()
getDatabaseSchemas
method.MdmSchema
List
of the subschemas of the MdmSchema
. The List
contains instances of MdmOrganizationalSchema
.getSubSchemas
in class MdmSchema
List
of the subschemas of the MdmSchema
.public final MdmSchema getOwner()
MdmRootSchema
because it is the top-level MdmSchema
.getOwner
in class BaseMetadataObject
MdmRootSchema
.public java.util.List getMeasures()
MdmMeasure
objects that the MdmRootSchema
contains.getMeasures
in class MdmSchema
List
of MdmMeasure
objects that the MdmRootSchema
contains.public java.util.List getDimensions()
MdmDimension
objects that the MdmRootSchema
contains.getDimensions
in class MdmSchema
List
of MdmDimension
objects that the MdmRootSchema
contains.public java.util.List getCubes()
MdmCube
objects that the MdmRootSchema
contains.getCubes
in class MdmSchema
List
of MdmCube
objects that the MdmRootSchema
contains.
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |