public abstract class BaseMetadataObject extends java.lang.Object implements MetadataObject
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.
| Modifier and Type | Method and Description |
|---|---|
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. |
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.