|
Oracle® OLAP Java API Reference 11g Release 2 (11.2) E10794-01 Beta Draft |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.olapi.metadata.BaseMetadataObject
oracle.olapi.metadata.mdm.MdmObject
oracle.olapi.metadata.mdm.MdmSource
oracle.olapi.metadata.mdm.MdmDimensionedObject
oracle.olapi.metadata.mdm.MdmMeasure
public abstract class MdmMeasure
An MdmDimensionedObject
that represents a set of data
to use in analytical processing.
An MdmMeasure
is owned by an MdmCube
.
The dimensionality of the MdmMeasure
is defined by the
MdmCube
.
The type of an MdmMeasure
is based on the data type of the
information that the MdmMeasure
represents.
Method Summary | |
---|---|
void |
addDimensionality(MdmDimensionality value)
Adds an MdmDimensionality to the MdmMeasure . |
MdmCube |
getCube()
Gets the MdmCube that is associated with this
MdmMeasure . |
java.util.List |
getDimensionality()
Gets the MdmDimensionality objects that are associated
with the MdmMeasure . |
MdmViewColumn |
getETMeasureColumn()
Gets the ET (Embedded Totals) column for the MdmMeasure . |
MdmLevel |
getLevel()
Gets the MdmLevel of the MdmMeasureDimension
of which the MdmMeasure is a member. |
int |
getLevelDepth()
Because an MdmMeasureDimension has only one level, this method
returns 0 . |
java.lang.String |
getLocalValue()
Gets the local value of this MdmMeasure , which is its name. |
MdmMeasureDimension |
getMeasureDimension()
Gets the MdmMeasureDimension of the
MdmRootSchema . |
MdmMeasureModel |
getMeasureModel()
Gets the MdmMeasureModel for the MdmMeasure . |
MdmModel |
getModel()
Gets the MdmModel for the MdmMeasure . |
MdmPrimaryDimension |
getOwnerDimension()
Gets the MdmPrimaryDimension of which this
MdmMeasure is a member. |
MdmLevel |
getParentLevel()
Because an MdmMeasure does not have a parent in a dimension
hierarchy, this method returns null . |
java.lang.String |
getParentLocalValue()
Because an MdmMeasure does not have a parent in a dimension
hierarchy, this method returns null . |
java.lang.String |
getParentValue()
Because an MdmMeasure does not have a parent in a dimension
hierarchy, this method returns null . |
int |
getPrecedence()
Gets the precedence of this MdmMeasure . |
MetadataObject |
getType()
Gets the OLAP Java API data type for the MdmMeasure . |
java.lang.String |
getUnits()
Gets the type of units specified for this MdmMeasure . |
java.lang.String |
getValue()
Gets the value of this MdmMeasure , which is the identifier
for the Source for this MdmMeasure . |
java.lang.String |
getValueFormat()
Gets the format specified for the values of this MdmMeasure . |
void |
removeDimensionality(MdmDimensionality value)
Removes an MdmDimensionality from the
MdmMeasure . |
void |
setCube(MdmCube input)
Specifies the MdmCube to associate with this
MdmMeasure . |
void |
setMeasureModel(MdmMeasureModel model)
Specifies an MdmMeasureModel for the
MdmMeasure . |
void |
setModel(MdmModel model)
Specifies an MdmModel for the MdmMeasure . |
void |
setPrecedence(int precedence)
Specifies a precedence to use as the default precedence for the Assignment objects of the
MdmMeasureModel for the MdmMeasure , with
the higher integer value indicating a higher precedence. |
void |
setUnits(java.lang.String newUnits)
Specifies a type of units for the values of this MdmMeasure . |
void |
setValueFormat(java.lang.String formatString)
Specifies a format for the values of this MdmMeasure . |
Methods inherited from class oracle.olapi.metadata.mdm.MdmDimensionedObject |
---|
addDimension, getDimensions, isBooleanValued, setBooleanValued |
Methods inherited from class oracle.olapi.metadata.mdm.MdmSource |
---|
getDataType, getSource |
Methods inherited from class oracle.olapi.metadata.mdm.MdmObject |
---|
acceptVisitor, addDescription, addObjectClassification, findOrCreateDescription, getDescription, getDescription, getDescription, getDescriptions, getMetadataProvider, getName, getNewName, getObjectClassifications, getShortDescription, isClassifiedAs, removeDescription, removeObjectClassification, setDescription, setDescription, setDescription, setName, setShortDescription |
Methods inherited from class oracle.olapi.metadata.BaseMetadataObject |
---|
getContainedByObject, getID, getOwner |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.olapi.metadata.mdm.MdmMember |
---|
getDataType, getDescription, getShortDescription, getSource |
Method Detail |
---|
public java.lang.String getValue()
MdmMeasure
, which is the identifier
for the Source
for this MdmMeasure
.
getValue
in interface MdmMember
String
that is the identifier for the
Source
for this MdmMeasure
.public java.lang.String getLocalValue()
MdmMeasure
, which is its name.
getLocalValue
in interface MdmMember
String
that contains the local value of
this MdmMeasure
.public MdmPrimaryDimension getOwnerDimension()
MdmPrimaryDimension
of which this
MdmMeasure
is a member.
An MdmMeasure
can be a member of an
MdmMeasureDimension
.
getOwnerDimension
in interface MdmMember
MdmPrimaryDimension
of which this
MdmMeasure
is a member.public MdmMeasureDimension getMeasureDimension()
MdmMeasureDimension
of the
MdmRootSchema
.
All MdmMeasure
objects provided by the
MdmMetadataProvider
are members of that
MdmMeasureDimension
.
MdmMeasureDimension
of the
MdmRootSchema
.public MdmLevel getLevel()
MdmLevel
of the MdmMeasureDimension
of which the MdmMeasure
is a member.
getLevel
in interface MdmMember
MdmLevel
of the MdmMeasureDimension
.public int getLevelDepth()
MdmMeasureDimension
has only one level, this method
returns 0
.
getLevelDepth
in interface MdmMember
MdmMeasure
in the MdmMeasureDimension
.public java.lang.String getParentValue()
MdmMeasure
does not have a parent in a dimension
hierarchy, this method returns null
.
getParentValue
in interface MdmMember
null
.public java.lang.String getParentLocalValue()
MdmMeasure
does not have a parent in a dimension
hierarchy, this method returns null
.
getParentLocalValue
in interface MdmMember
null
.public MdmLevel getParentLevel()
MdmMeasure
does not have a parent in a dimension
hierarchy, this method returns null
.
getParentLevel
in interface MdmMember
null
.public int getPrecedence()
MdmMeasure
.
getPrecedence
in interface MdmMember
MdmMeasure
.public java.lang.String getValueFormat()
MdmMeasure
.
String
that specifes an Oracle
COLUMN FORMAT
for the values
of this MdmMeasure
.public void setValueFormat(java.lang.String formatString)
MdmMeasure
.
formatString
- A String
that specifes an Oracle
COLUMN FORMAT
to use for the values
of this MdmMeasure
.public java.lang.String getUnits()
MdmMeasure
.
String
that indicates the type of units for the
values of this MdmMeasure
.public void setUnits(java.lang.String newUnits)
MdmMeasure
.
For example, the following code specifies kilograms
as the type of units for the values of the MdmMeasure
mdmWeight
.
mdmWeight.setUnits("kilograms");
newUnits
- A String
that indicates the type of units
for the values of this MdmMeasure
.public void setPrecedence(int precedence)
Assignment
objects of the
MdmMeasureModel
for the MdmMeasure
, with
the higher integer value indicating a higher precedence.
Oracle OLAP uses the precedence value in determining the order
in which it evaluates the Assignment
objects in
calculations that involve more than one measure.
precedence
- An integer that specifies the precedence for this
MdmMeasure
.public final MdmCube getCube()
MdmCube
that is associated with this
MdmMeasure
.
MdmCube
associated with this
MdmMeasure
.public final void setCube(MdmCube input)
MdmCube
to associate with this
MdmMeasure
.
input
- The MdmCube
to associate with this
MdmMeasure
.public final java.util.List getDimensionality()
MdmDimensionality
objects that are associated
with the MdmMeasure
.
An MdmDimensionality
contains a reference to an
MdmDimension
.
getDimensionality
in class MdmDimensionedObject
List
of the MdmDimensionality
objects associated with the MdmMeasure
.public final void addDimensionality(MdmDimensionality value)
MdmDimensionality
to the MdmMeasure
.
addDimensionality
in class MdmDimensionedObject
value
- The MdmDimensionality
to add to the
MdmMeasure
.public final void removeDimensionality(MdmDimensionality value)
MdmDimensionality
from the
MdmMeasure
.
removeDimensionality
in class MdmDimensionedObject
value
- The MdmDimensionality
to remove from the
MdmMeasure
.public final MdmMeasureModel getMeasureModel()
MdmMeasureModel
for the MdmMeasure
.
MdmMeasureModel
for the
MdmMeasure
.public final MdmModel getModel()
MdmModel
for the MdmMeasure
.
The MdmModel
is an instance of MdmMeasureModel
.
getModel
in class MdmSource
MdmModel
for the MdmMeasure
.public final void setMeasureModel(MdmMeasureModel model)
MdmMeasureModel
for the
MdmMeasure
.
model
- The MdmMeasureModel
to associate with
the MdmMeasure
.public final void setModel(MdmModel model)
MdmModel
for the MdmMeasure
.
The MdmModel
must be an instance of
MdmMeasureModel
.
setModel
in class MdmSource
model
- The MdmModel
to associate with
the MdmMeasure
.public final MdmViewColumn getETMeasureColumn()
MdmMeasure
.
MdmViewColumn
that represents the ET column.public final MetadataObject getType()
MdmMeasure
.
getType
in class MdmSource
MetadataObject
that represents the OLAP Java
API data type.
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |