|
Oracle® OLAP Java API Reference 11g Release 2 (11.2) E10794-03 |
||||||||
| 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.MdmDimension
oracle.olapi.metadata.mdm.MdmSubDimension
oracle.olapi.metadata.mdm.MdmHierarchyLevel
public class MdmHierarchyLevel
An 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| Method Summary | |
|---|---|
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. |
| Methods inherited from class oracle.olapi.metadata.mdm.MdmSubDimension |
|---|
addAttribute, getAttributes, removeAttribute |
| Methods inherited from class oracle.olapi.metadata.mdm.MdmDimension |
|---|
getCardinality, getCustomOrder, getPluralDescription, getPrimaryDimension, getShortPluralDescription, setCardinality, setCustomOrder, setPluralDescription, setShortPluralDescription |
| Methods inherited from class oracle.olapi.metadata.mdm.MdmSource |
|---|
getDataType, getSource, getType |
| Methods inherited from class oracle.olapi.metadata.mdm.MdmObject |
|---|
addDescription, addObjectClassification, findOrCreateDescription, getDescription, getDescription, getDescription, getDescriptions, getMetadataProvider, 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 |
| Method Detail |
|---|
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 MdmObjectvisitor - 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 MdmObjectString 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.
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||