Skip navigation links
oracle.olapi.metadata.mdm
Class MdmSubDimension
java.lang.Object
oracle.olapi.metadata.BaseMetadataObject
oracle.olapi.metadata.mdm.MdmObject
oracle.olapi.metadata.mdm.MdmSource
oracle.olapi.metadata.mdm.MdmDimension
oracle.olapi.metadata.mdm.MdmSubDimension
- All Implemented Interfaces:
- MetadataObject
- Direct Known Subclasses:
- MdmDimensionLevel, MdmHierarchy, MdmHierarchyLevel
-
public abstract class MdmSubDimension
- extends MdmDimension
A component of an MdmPrimaryDimension
. The type of the members of an MdmSubDimension
is specified by the MdmPrimaryDimension
. With the getPrimaryDimension
method, an application can get the MdmPrimaryDimension
for an MdmSubDimension
.
The subclasses of MdmSubDimension
represent hierarchical or nonhierarchical organizations of the members of the dimension. The following are the subclasses of MdmSubDimension
.
MdmDimensionLevel
, which is an arbitrary subset of members of the MdmPrimaryDimension
. A dimension member can be in at most one MdmDimensionLevel
.
MdmHierarchy
, which is an abstract class that represents a hierarchical organization of the members of the dimension. The concrete subclass MdmLevelHierarchy
represents a hierarchy that has levels. Each level is represented by an MdmHierarchyLevel
. The parents and children in the hierarchy belong to different levels. The concrete subclass MdmValueHierarchy
represents a hierarchy that does not have levels.
MdmHierarchyLevel
, which represents members of one level of an MdmLevelHierarchy
.
Methods inherited from class oracle.olapi.metadata.mdm.MdmObject |
acceptVisitor, findOrCreateDescription, getDescription, getDescription, getDescription, getMetadataProvider, getName, getShortDescription, setDescription, setDescription, setDescription, setName, setShortDescription |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getPrimaryDimension
public abstract MdmPrimaryDimension getPrimaryDimension()
- Gets the
MdmPrimaryDimension
of which the MdmSubDimension
is a component.
-
- Specified by:
getPrimaryDimension
in class MdmDimension
-
- Returns:
- The
MdmPrimaryDimension
for the MdmSubDimension
.
getAttributes
public final java.util.List getAttributes()
- Gets the
MdmAttribute
objects that are associated with the MdmSubDimension
.
-
- Specified by:
getAttributes
in class MdmDimension
-
- Returns:
- A
List
of the MdmAttribute
objects of the MdmSubDimension
.
- See Also:
MdmAttribute
addAttribute
public final void addAttribute(MdmAttribute attr)
- Adds an
MdmAttribute
to the attributes associated with the MdmSubDimension
.
-
- Parameters:
attr
- The MdmAttribute
to add to the MdmSubDimension
.
removeAttribute
public final void removeAttribute(MdmAttribute attr)
- Removes an
MdmAttribute
from the attributes of the MdmSubDimension
.
-
- Specified by:
removeAttribute
in class MdmDimension
-
- Parameters:
attr
- The MdmAttribute
to remove from the MdmDimension
.
Skip navigation links