public class MdmHierarchyLevel extends MdmSubDimension
MdmSubDimension
whose members comprise one level of an MdmLevelHierarchy
. An application creates an MdmHierarchyLevel
with the findOrCreateHierarchyLevel
method of the MdmLevelHierarchy
. The members of an MdmHierarchyLevel
are specified by an associated HierarchyLevelMap
If the MdmLevelHierarchy
has more than one component MdmHierarchyLevel
, then the MdmLevelHierarchy
has a hierarchical structure that is specified by parent-child relationships between the members of the MdmHierarchyLevel
components. Those parent-child relationships are recorded by MdmAttribute
objects that you can get with the getParentAttribute
and getAncestorsAttribute
methods of the MdmLevelHierarchy
.
An MdmHierarchyLevel
is associated with an MdmDimensionLevel
. The members of the MdmHierarchyLevel
are a subset of the members of the MdmDimensionLevel
. The getType
method of the MdmDimensionLevel
returns the type of data that the MdmHierarchyLevel
represents.
HierarchyLevelMap
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
acceptVisitor(MdmObjectVisitor visitor, java.lang.Object context)
Calls the
visitMdmHierarchyLevel method of the specified MdmObjectVisitor and passes that method this MdmHierarchyLevel and an Object . |
HierarchyLevelMap |
findOrCreateHierarchyLevelMap()
Gets the
HierarchyLevelMap that is associated with this MdmHierarchyLevel or creates a new HierarchyLevelMap if one does not already exist. |
MdmDimensionLevel |
getDimensionLevel()
Gets the
MdmDimensionLevel associated with this MdmHierarchyLevel . |
HierarchyLevelMap |
getHierarchyLevelMap()
Gets the
HierarchyLevelMap associated with this MdmHierarchyLevel . |
int |
getLevelDepth()
Gets the depth of this
MdmHierarchyLevel in the hierarchy of levels of the MdmHierarchy of which this level is a component. |
MdmLevelHierarchy |
getLevelHierarchy()
Gets the
MdmLevelHierarchy of which this MdmLevel is a component. |
java.lang.String |
getName()
Gets the name of this
MdmObject . |
void |
setHierarchyLevelMap(HierarchyLevelMap value)
Specifies the
HierarchyLevelMap to associate with this MdmHierarchyLevel . |
addAttribute, getAttributes, removeAttribute
getCardinality, getCustomOrder, getPluralDescription, getPrimaryDimension, getShortPluralDescription, setCardinality, setCustomOrder, setPluralDescription, setShortPluralDescription
getDataType, getSource, getType
addDescription, addObjectClassification, findOrCreateDescription, getDescription, getDescription, getDescription, getDescriptions, getMetadataProvider, getObjectClassifications, getShortDescription, isClassifiedAs, removeDescription, removeObjectClassification, setDescription, setDescription, setDescription, setName, setShortDescription
getContainedByObject, getID, getNewName, getOwner
public java.lang.Object acceptVisitor(MdmObjectVisitor visitor, java.lang.Object context)
visitMdmHierarchyLevel
method of the specified MdmObjectVisitor
and passes that method this MdmHierarchyLevel
and an Object
.acceptVisitor
in class MdmObject
visitor
- An Mdm11_ObjectVisitor
.context
- An Object
.Object
returned by the visitMdmHierarchyLevel
method.public MdmLevelHierarchy getLevelHierarchy()
MdmLevelHierarchy
of which this MdmLevel
is a component.MdmLevelHierarchy
of which this MdmLevel
is a component.public final java.lang.String getName() throws oracle.express.mdm.MetadataNotFoundException
MdmObject
.getName
in class BaseMetadataObject
String
that contains the name of this MdmObject
.oracle.express.mdm.MetadataNotFoundException
- Indicates that the requested metadata object does not exist or is not available to the MdmMetadataProvider
.public int getLevelDepth()
MdmHierarchyLevel
in the hierarchy of levels of the MdmHierarchy
of which this level is a component.public MdmDimensionLevel getDimensionLevel()
MdmDimensionLevel
associated with this MdmHierarchyLevel
.MdmDimensionLevel
associated with this MdmHierarchyLevel
.public final HierarchyLevelMap getHierarchyLevelMap()
HierarchyLevelMap
associated with this MdmHierarchyLevel
. The HierarchyLevelMap
maps the members of the MdmHierarchyLevel
to data in the relational database.HierarchyLevelMap
for the MdmLevel
.public HierarchyLevelMap findOrCreateHierarchyLevelMap()
HierarchyLevelMap
that is associated with this MdmHierarchyLevel
or creates a new HierarchyLevelMap
if one does not already exist.HierarchyLevelMap
associated with this MdmHierarchyLevel
.public void setHierarchyLevelMap(HierarchyLevelMap value)
HierarchyLevelMap
to associate with this MdmHierarchyLevel
.value
- The HierarchyLevelMap
to associate with this MdmHierarchyLevel
.