|
Oracle® OLAP Java API Reference 11g Release 1 (11.1) B28128-01 |
||||||||
| 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.MdmDatabaseSchema
public class MdmDatabaseSchema
An MdmSchema that represents a relational database schema. A schema is a collection of logical structures of data, or schema objects. The following objects are top-level objects of an MdmDatabaseSchema:
AW
MdmCube
MdmNamedBuildProcess
MdmOrganizationalSchema
MdmPrimaryDimension
MdmTable
A schema is owned by a database user and has the same name as that user. Each user owns a single schema.
| Method Summary | |
|---|---|
java.lang.Object |
acceptVisitor(MdmObjectVisitor visitor, java.lang.Object context)Calls the visitMdmDatabaseSchema method of the MdmObjectVisitor and passes that method this MdmDatabaseSchema and an Object. |
void |
addAW(AW obj)Adds the specified AW to this MdmDatabaseSchema. |
void |
addNamedBuildProcess(MdmNamedBuildProcess namedBuildProc)Adds the specified MdmNamedBuildProcess to this MdmDatabaseSchema. |
void |
addOrganizationalSchema(MdmOrganizationalSchema subschema)Adds the specified MdmOrganizationalSchema to this MdmDatabaseSchema. |
void |
addSchemaObject(BaseMetadataObject obj)Add the specified BaseMetadataObject to this MdmDatabaseSchema. |
void |
addSubSchema(MdmSchema subschema)Adds the specified MdmSchema to this MdmDatabaseSchema. |
AW |
findOrCreateAW(java.lang.String publicName)Gets the specified AW or, if it does not already exist, creates a new AW for this MdmDatabaseSchema. |
MdmCube |
findOrCreateCube(java.lang.String publicName)Gets the specified MdmCube or, if it does not already exist, creates a new MdmCube for this MdmDatabaseSchema. |
MdmNamedBuildProcess |
findOrCreateNamedBuildProcess(java.lang.String publicName)Gets the specified MdmNamedBuildProcess or, if it does not already exist, creates a new MdmNamedBuildProcess for this MdmDatabaseSchema. |
MdmOrganizationalSchema |
findOrCreateOrganizationalSchema(java.lang.String publicName)Gets the specified MdmOrganizationalSchema or, if it does not already exist, creates a new MdmOrganizationalSchema for this MdmDatabaseSchema. |
MdmStandardDimension |
findOrCreateStandardDimension(java.lang.String publicName)Gets the specified MdmStandardDimension or, if it does not already exist, creates a new MdmStandardDimension for this MdmDatabaseSchema. |
MdmTimeDimension |
findOrCreateTimeDimension(java.lang.String publicName)Gets the specified MdmTimeDimension or, if it does not already exist, creates a new MdmTimeDimension for this MdmDatabaseSchema. |
java.util.List<AW> |
getAWs()Gets the AW objects that this MdmDatabaseSchema contains. |
java.util.List |
getMeasures()Gets the MdmMeasure objects that the MdmDatabaseSchema contains. |
java.util.List |
getNamedBuildProcesses()Gets the MdmNamedBuildProcess objects that this MdmDatabaseSchema contains. |
java.util.List |
getOrganizationalSchemas()Gets the MdmOrganizationalSchema objects that this MdmDatabaseSchema contains. |
MdmDatabaseSchema |
getOwner()Gets this MdmDatabaseSchema. |
java.util.List |
getPersistentLanguages()Returns the list of all languages used for descriptions of objects contained within this MdmDatabaseSchema. |
java.util.List<BaseMetadataObject> |
getSchemaObjects()Gets all of the BaseMetadataObject objects that are owned by this MdmDatabaseSchema. |
java.util.List |
getSubSchemas()Gets the MdmSchema objects that are subschemas of this MdmDatabaseSchema. |
BaseMetadataObject |
getTopLevelObject(java.lang.String name)Gets the top-level object that has the specified name. |
void |
removeAW(AW aw)Removes the specified AW from this MdmDatabaseSchema. |
void |
removeAW(AW aw, boolean bRemoveAllSubObjects)Removes the specified AW from this MdmDatabaseSchema. |
void |
removeNamedBuildProcess(MdmNamedBuildProcess namedBuildProc)Removes the specified MdmNamedBuildProcess from this MdmDatabaseSchema. |
void |
removeOrganizationalSchema(MdmOrganizationalSchema subschema)Removes the specified MdmOrganizationalSchema from this MdmDatabaseSchema. |
void |
removeSchemaObject(BaseMetadataObject obj)Remove the specified BaseMetadataObject from this MdmDatabaseSchema. |
void |
removeSubSchema(MdmSchema subschema)Removes the specified MdmSchema from this MdmDatabaseSchema. |
| Methods inherited from class oracle.olapi.metadata.mdm.MdmSchema |
|---|
addCube, addDimension, addMeasure, getCubes, getDimensions, 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)
visitMdmDatabaseSchema method of the MdmObjectVisitor and passes that method this MdmDatabaseSchema and an Object.acceptVisitor in class MdmSchemavisitor - An MdmObjectVisitor that implements the Mdm11_ObjectVisitor interface.context - An Object.Object returned by the visitMdmDatabaseSchema method.public BaseMetadataObject getTopLevelObject(java.lang.String name)
AW, MdmCube, and MdmPrimaryDimension.name - A String that contains the name of the object to get.MdmSource that has the specified name.public final void addOrganizationalSchema(MdmOrganizationalSchema subschema)
MdmOrganizationalSchema to this MdmDatabaseSchema.subschema - The MdmOrganizationalSchema to add to this MdmDatabaseSchema.public final void addSubSchema(MdmSchema subschema)
MdmSchema to this MdmDatabaseSchema. The MdmSchema must be an instance of MdmOrganizationalSchema.addSubSchema in class MdmSchemasubschema - The MdmSchema to add to this MdmDatabaseSchema.public final void addNamedBuildProcess(MdmNamedBuildProcess namedBuildProc)
MdmNamedBuildProcess to this MdmDatabaseSchema.namedBuildProc - The MdmNamedBuildProcess to add to this MdmDatabaseSchema.public final void removeOrganizationalSchema(MdmOrganizationalSchema subschema)
MdmOrganizationalSchema from this MdmDatabaseSchema.subschema - The MdmOrganizationalSchema to remove from this MdmDatabaseSchema.public final void removeSubSchema(MdmSchema subschema)
MdmSchema from this MdmDatabaseSchema. The MdmSchema must be an instance of MdmOrganizationalSchema.removeSubSchema in class MdmSchemasubschema - The MdmSchema to remove from this MdmDatabaseSchema.public final void removeNamedBuildProcess(MdmNamedBuildProcess namedBuildProc)
MdmNamedBuildProcess from this MdmDatabaseSchema.namedBuildProc - The MdmNamedBuildProcess to remove from this MdmDatabaseSchema.public final java.util.List getOrganizationalSchemas()
MdmOrganizationalSchema objects that this MdmDatabaseSchema contains.List of MdmOrganizationalSchema objects that this MdmDatabaseSchema contains.public final java.util.List getSubSchemas()
MdmSchema objects that are subschemas of this MdmDatabaseSchema. The subschemas are instances of MdmOrganizationalSchema.getSubSchemas in class MdmSchemaList of MdmOrganizationalSchema objects that this MdmDatabaseSchema contains.public final java.util.List getNamedBuildProcesses()
MdmNamedBuildProcess objects that this MdmDatabaseSchema contains.List of MdmNamedBuildProcess objects that this MdmDatabaseSchema contains.public final MdmDatabaseSchema getOwner()
MdmDatabaseSchema.getOwner in class BaseMetadataObjectMdmDatabaseSchema.public final void addSchemaObject(BaseMetadataObject obj)
BaseMetadataObject to this MdmDatabaseSchema.obj - The BaseMetadataObject to add to this MdmDatabaseSchema.public final void removeSchemaObject(BaseMetadataObject obj)
BaseMetadataObject from this MdmDatabaseSchema.obj - The BaseMetadataObject to remove from this MdmDatabaseSchema.public final java.util.List<BaseMetadataObject> getSchemaObjects()
BaseMetadataObject objects that are owned by this MdmDatabaseSchema.List of the BaseMetadataObject objects owned by this MdmDatabaseSchema.public MdmOrganizationalSchema findOrCreateOrganizationalSchema(java.lang.String publicName)
MdmOrganizationalSchema or, if it does not already exist, creates a new MdmOrganizationalSchema for this MdmDatabaseSchema.publicName - A String that contains the name of the MdmOrganizationalSchema to get or create.MdmOrganizationalSchema or a new one with the specified name.public AW findOrCreateAW(java.lang.String publicName)
AW or, if it does not already exist, creates a new AW for this MdmDatabaseSchema.publicName - A String that contains the name of the AW to get or create.AW or a new one with the specified name.public MdmStandardDimension findOrCreateStandardDimension(java.lang.String publicName)
MdmStandardDimension or, if it does not already exist, creates a new MdmStandardDimension for this MdmDatabaseSchema.publicName - A String that contains the name of the MdmStandardDimension to get or create.MdmStandardDimension or a new one with the specified name.public MdmTimeDimension findOrCreateTimeDimension(java.lang.String publicName)
MdmTimeDimension or, if it does not already exist, creates a new MdmTimeDimension for this MdmDatabaseSchema.publicName - A String that contains the name of the MdmTimeDimension to get or create.MdmTimeDimension or a new one with the specified name.public MdmCube findOrCreateCube(java.lang.String publicName)
MdmCube or, if it does not already exist, creates a new MdmCube for this MdmDatabaseSchema.publicName - A String that contains the name of the MdmCube to get or create.MdmCube or a new one with the specified name.public MdmNamedBuildProcess findOrCreateNamedBuildProcess(java.lang.String publicName)
MdmNamedBuildProcess or, if it does not already exist, creates a new MdmNamedBuildProcess for this MdmDatabaseSchema.publicName - A String that contains the name of the MdmNamedBuildProcess to get or create.MdmNamedBuildProcess or a new one with the specified name.public final java.util.List<AW> getAWs()
AW objects that this MdmDatabaseSchema contains.List of the AW objects in this MdmDatabaseSchema.public final void addAW(AW obj)
AW to this MdmDatabaseSchema.obj - The AW to add to this MdmDatabaseSchema.public final void removeAW(AW aw)
AW from this MdmDatabaseSchema.aw - The AW to remove from this MdmDatabaseSchema.
public final void removeAW(AW aw,
boolean bRemoveAllSubObjects)
AW from this MdmDatabaseSchema.aw - The AW to remove from this MdmDatabaseSchema.bRemoveAllSubObjects - If true, remove all subobjects of the AWpublic java.util.List getMeasures()
MdmMeasure objects that the MdmDatabaseSchema contains.getMeasures in class MdmSchemaList of MdmMeasure objects that the MdmDatabaseSchema contains.public java.util.List getPersistentLanguages()
MdmDatabaseSchema. In addition, for contained MdmPrimaryDimension objects, the list also includes languages for AttributeMap objects contained within any DimensionMap objects owned directly or indirectly by that MdmPrimaryDimension.
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||