|
Oracle® OLAP Java API Reference 10g Release 2 (10.2.0.4) B14348-04 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
An interface for an object that provides a unique identification for a
custom BaseMetadataObject.
When an application creates a custom MdmObject or a custom
MtmObject, Oracle OLAP uses an
Mdm9iNamingConvention object to generate an identification
String for the custom metadata object.
The naming convention implemented by an Mdm9iNamingConvention
for a custom BaseMetadataObject has the form
objectType_ownerName_objectName.
For example, for a custom MdmMeasure named
MYSALES, the default Mdm9iNamingConvention
generates the object ID M_TRANSIENT_MYSALES.
If you want to have a different naming convention for custom metadata
objects, then you can implement this interface and use your
MdmNamingConvention as the input parameter to the
setMdmNamingConvention method of your
MdmMetadataProvider.
The methods of an MdmNamingConvention are not used by an
application; they are called internally by Oracle OLAP.
| Method Summary | |
java.lang.String |
generateAttributeID(MdmPrimaryDimension primaryDimension,
java.lang.String attributeName)
Generates a unique identification for a custom MdmAttribute. |
java.lang.String |
generateCloneID(MdmObject prototype)
Generates a unique identification for a custom MdmObject
that is a copy of an existing MdmObject. |
java.lang.String |
generateDerivedAttributeID(MdmPrimaryDimension primaryDimension,
java.lang.String derivedAttributeType)
Generates a unique identification for a custom derived MdmAttribute. |
java.lang.String |
generateHierarchyID(MdmPrimaryDimension primaryDimension,
java.lang.String hierarchyName)
Generates a unique identification for a custom MdmHierarchy. |
java.lang.String |
generateLevelID(MdmLevelHierarchy levelHierarchy,
java.lang.String levelName)
Generates a unique identification for a custom MdmLevel. |
java.lang.String |
generateMeasureDimensionID()
Generates a unique identification for a custom MdmMeasureDimension. |
java.lang.String |
generateMeasureID(MtmPartitionedCube cube,
java.lang.String measureName)
Generates a unique identification for a custom MdmMeasure. |
java.lang.String |
generatePrimaryDimensionID(java.lang.String dimensionName)
Generates a unique identification for a custom MdmPrimaryDimension. |
java.lang.String |
generateSchemaID(java.lang.String schemaName)
Generates a unique identification for a custom MdmSchema. |
| Method Detail |
public java.lang.String generateSchemaID(java.lang.String schemaName)
MdmSchema.
schemaName - A String that has the name of the
custom MdmSchema.
String that has the unique identification of
the custom MdmSchema.public java.lang.String generatePrimaryDimensionID(java.lang.String dimensionName)
MdmPrimaryDimension.
dimensionName - A String that has the name of the
custom MdmPrimaryDimension.
String that has the unique identification of
the custom MdmPrimaryDimension.
public java.lang.String generateHierarchyID(MdmPrimaryDimension primaryDimension,
java.lang.String hierarchyName)
MdmHierarchy.
primaryDimension - The MdmPrimaryDimension of which the
custom MdmHierarchy is a component.hierarchyName - A String that has the name of the
custom MdmHierarchy.
String that has the unique identification of
the custom MdmHierarchy.
public java.lang.String generateLevelID(MdmLevelHierarchy levelHierarchy,
java.lang.String levelName)
MdmLevel.
levelHierarchy - The MdmLevelHierarchy of which the
custom MdmLevel is a level.levelName - A String that has the name of the
custom MdmLevel.
String that has the unique identification of
the custom MdmLevel.
public java.lang.String generateAttributeID(MdmPrimaryDimension primaryDimension,
java.lang.String attributeName)
MdmAttribute.
primaryDimension - The MdmPrimaryDimension of which the
custom MdmAttribute is an attribute.attributeName - A String that has the name of the
custom MdmAttribute.
String that has the unique identification of
the custom MdmAttribute.
public java.lang.String generateDerivedAttributeID(MdmPrimaryDimension primaryDimension,
java.lang.String derivedAttributeType)
MdmAttribute.
primaryDimension - The MdmPrimaryDimension of which the
custom derived MdmAttribute is an
attribute.derivedAttributeType - A String that has the name of the
custom derived MdmAttribute.
String that has the unique identification of
the custom derived MdmAttribute.
public java.lang.String generateMeasureID(MtmPartitionedCube cube,
java.lang.String measureName)
MdmMeasure.
cube - The MtmPartitionedCube of which the custom
MdmMeasure is a measure.measureName - A String that has the name of the
custom MdmMeasure.
String that has the unique identification of
the custom MdmMeasure.public java.lang.String generateMeasureDimensionID()
MdmMeasureDimension.
String that has the unique identification of the
custom MdmMeasureDimension.public java.lang.String generateCloneID(MdmObject prototype)
MdmObject
that is a copy of an existing MdmObject.
For example, the MdmCustomObjectFactory.createValueHierarchy
method creates an MdmValueHierarchy that is a copy of an
existing MdmLevelHierarchy.
The MdmNamingConvention in use generates a unique
identification for the custom MdmValueHierarchy so that it
has a different ID from the original MdmLevelHierarchy.
prototype - The MdmObject that you want to clone.
String that has the unique identification of the
cloned MdmObject.
|
Oracle® OLAP Java API Reference 10g Release 2 (10.2.0.4) B14348-04 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||