public abstract class MdmSubDimension extends MdmDimension
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
.Modifier and Type | Method and Description |
---|---|
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 . |
getCardinality, getCustomOrder, getPluralDescription, getPrimaryDimension, getShortPluralDescription, setCardinality, setCustomOrder, setPluralDescription, setShortPluralDescription
getDataType, getSource, getType
acceptVisitor, addDescription, addObjectClassification, findOrCreateDescription, getDescription, getDescription, getDescription, getDescriptions, getMetadataProvider, getObjectClassifications, getShortDescription, isClassifiedAs, removeDescription, removeObjectClassification, setDescription, setDescription, setDescription, setName, setShortDescription
getContainedByObject, getID, getName, getNewName, getOwner
public final java.util.List getAttributes()
MdmAttribute
objects that have been explicitly added to the MdmSubDimension
by the addAttribute
method.getAttributes
in class MdmDimension
List
of the MdmAttribute
objects of the MdmSubDimension
.MdmAttribute
public final void addAttribute(MdmAttribute attr)
MdmAttribute
to the MdmSubDimension
.attr
- The MdmAttribute
to add to the MdmSubDimension
.public final void removeAttribute(MdmAttribute attr)
MdmAttribute
from the MdmSubDimension
.removeAttribute
in class MdmDimension
attr
- The MdmAttribute
to remove from the MdmSubDimension
.