public class MdmRootSchema extends MdmSchema
MdmSchema
of a MdmMetadataProvider
. An application gets the MdmRootSchema
by calling the getRootSchema
method of the MdmMetadataProvider
.Modifier and Type | Method and Description |
---|---|
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 . |
addCube, addDimension, addMeasure, getMeasureDimension, getOuterSchema, getSubSchemas, removeCube, removeDimension, removeMeasure
addDescription, addObjectClassification, findOrCreateDescription, getDescription, getDescription, getDescription, getDescriptions, getMetadataProvider, getObjectClassifications, getShortDescription, isClassifiedAs, removeDescription, removeObjectClassification, setDescription, setDescription, setDescription, setName, setShortDescription
getContainedByObject, getID, getName, getNewName
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 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.