Skip navigation links
oracle.olapi.metadata.mdm
Class MdmSubDimension
java.lang.Object
oracle.olapi.metadata.BaseMetadataObject
oracle.olapi.metadata.PublicMetadataObject
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.
| Method Summary |
void |
addAttribute(MdmAttribute attr)
Adds an MdmAttribute to the MdmSubDimension. |
java.util.List |
getAttributes()
Gets the MdmAttribute objects that have been explicitly added to the MdmSubDimension by the addAttribute method. |
void |
removeAttribute(MdmAttribute attr)
Removes an MdmAttribute from the MdmSubDimension. |
| Methods inherited from class oracle.olapi.metadata.mdm.MdmObject |
acceptVisitor, addDescription, addObjectClassification, findOrCreateDescription, getDescription, getDescription, getDescription, getDescriptions, getMetadataProvider, getObjectClassifications, getShortDescription, isClassifiedAs, removeDescription, removeObjectClassification, setDescription, setDescription, setDescription, setName, setShortDescription |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getAttributes
public final java.util.List getAttributes()
- Gets the
MdmAttribute objects that have been explicitly added to the MdmSubDimension by the addAttribute method.
-
- 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 MdmSubDimension.
-
- Parameters:
attr - The MdmAttribute to add to the MdmSubDimension.
removeAttribute
public final void removeAttribute(MdmAttribute attr)
- Removes an
MdmAttribute from the MdmSubDimension.
-
- Specified by:
removeAttribute in class MdmDimension
-
- Parameters:
attr - The MdmAttribute to remove from the MdmSubDimension.
Skip navigation links