|
Oracle® OLAP Java API Reference 12c Release 1 (12.1) E17708-05 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.olapi.metadata.BaseMetadataObject
public abstract class BaseMetadataObject
The abstract base class for Oracle OLAP metadata objects. A BaseMetadataObject has a unique identifier (ID). It can also have a name and an owner. Some BaseMetadataObject objects are contained by another BaseMetadataObject. For example, an MdmLevelHierarchy is contained by an MdmPrimaryDimension.
The owner of most metadata objects is an MdmDatabaseSchema. Exceptions are the MdmRootSchema and MdmMeasureDimension, which are owned by the MdmRootSchema.
The unique identifier has the form objectName, ownerName.objectName, or ownerName.containerName.objectName. For example, the MdmDatabaseSchema for the user GLOBAL has the unique identifier GLOBAL. For an MdmPrimaryDimension named PRODUCT_AWJ that was created by the GLOBAL database schema, the ID is GLOBAL.PRODUCT_AWJ. For an MdmLevelHierarchy named PRODUCT_PRIMARY that was created by the PRODUCT_AWJ dimension, the ID is GLOBAL.PRODUCT_AWJ.PRODUCT_PRIMARY.
| Method Summary | |
|---|---|
BaseMetadataObject |
getContainedByObject()Gets the BaseMetadataObject that is the container of this BaseMetadataObject. |
java.lang.String |
getID()Gets the unique identifier for the BaseMetadataObject. |
java.lang.String |
getName()Gets the name of the BaseMetadataObject. |
java.lang.String |
getNewName()Gets the new name specified for the BaseMetadataObject by the setName method of the object. |
MdmSchema |
getOwner()Gets the MdmSchema that owns the BaseMetadataObject. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public java.lang.String getID()
BaseMetadataObject.getID in interface MetadataObjectString that uniquely identifies the BaseMetadataObject.
public java.lang.String getName()
throws oracle.express.mdm.MetadataNotFoundException
BaseMetadataObject.String that contains the name of the BaseMetadataObject, or an empty string if the BaseMetadataObject has no name.oracle.express.mdm.MetadataNotFoundException - Indicates that the requested metadata object does not exist or is not available to the MdmMetadataProvider.public final java.lang.String getNewName()
BaseMetadataObject by the setName method of the object. The new name does not take effect until after you have committed the root transaction that contains the name change.
If you have changed the name of the object with the setName method of the object, but you have not committed the root transaction that contains the name change, then this method returns the name that this MdmObject will have after you have committed the root transaction. If you have not changed the name of this object since you last committed the root transaction, this method returns null.
null if you have not specified a new name by calling the setName method.public final BaseMetadataObject getContainedByObject()
BaseMetadataObject that is the container of this BaseMetadataObject. A top-level object does not have a container object. Top-level objects contain objects that they create. Those contained objects contain objects that they create. For example, an MdmStandardDimension is a top-level object. It can create an MdmLevelHierarchy. The MdmLevelHierarchy can create an MdmHierarchyLevel. The MdmHierarchyLevel is contained by the MdmLevelHierarchy, which is contained by the MdmStandardDimension.
For information on top-level objects, see MdmDatabaseSchema.
BaseMetadataObject that contains this metadata object.public MdmSchema getOwner()
MdmSchema that owns the BaseMetadataObject.MdmSchema that owns the BaseMetadataObject.
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||