|
Oracle OLAP Java API Reference 10g Release 1 (10.1) B10994-01 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
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
|
+--oracle.olapi.metadata.mdm.MdmHierarchy
An MdmSubDimension that represents elements of an Oracle OLAP dimension that are organized either hierarchically or nonhierarchically. An MdmHierarchy is a component of an MdmPrimaryDimension.
A hierarchical organization is defined by parent-child relationships between the elements of the hierarchy. If the parent-child relationships are defined by levels, then the MdmHierarchy is an MdmLevelHierarchy, which has a component MdmLevel object for each level. If the parent-child relationships are defined by values and not by levels, then the MdmHierarchy is an MdmValueHierarchy.
A nonhierarchical MdmHierarchy is one that is not organized by parent-child relationships. It is represented by an MdmLevelHierarchy that has only one level.
MdmAttribute objects record the parent-child relationships among the elements of an MdmHierarchy You use the getParentAttribute and getAncestorsAttribute methods to get the MdmAttribute objects that relate parents to children and ancestors to descendents, respectively.
| Method Summary | |
MdmAttribute |
getAncestorsAttribute()Gets the ancestors attribute for this MdmHierarchy. |
abstract MdmDimensionMemberInfo |
getDefaultMember()Gets the default member of this MdmHierarchy. |
MdmAttribute |
getParentAttribute()Gets the parent attribute for this MdmHierarchy. |
boolean |
isDefaultHierarchy()Indicates whether this MdmHierarchy is the default component of its MdmPrimaryDimension. |
abstract void |
setDefaultMember(MdmDimensionMemberInfo defaultMember)Sets the default member of this MdmHierarchy. |
| Methods inherited from class oracle.olapi.metadata.mdm.MdmSubDimension |
getPrimaryDimension |
| Methods inherited from class oracle.olapi.metadata.mdm.MdmDimension |
getAttributes, getCardinality, getPluralDescription, getShortPluralDescription, removeAttribute, setCardinality, setPluralDescription, setShortPluralDescription |
| Methods inherited from class oracle.olapi.metadata.mdm.MdmSource |
getDataType, getSource, getSourceMap, getType |
| Methods inherited from class oracle.olapi.metadata.mdm.MdmObject |
acceptVisitor, getDescription, getMetadataProvider, getName, getShortDescription, setDescription, setName, setShortDescription |
| Methods inherited from class oracle.olapi.metadata.BaseMetadataObject |
getID |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public MdmAttribute getAncestorsAttribute()
throws MetadataNotFoundException
MdmHierarchy. The ancestors attribute maps each element of this MdmHierarchy to its group of ancestors in the hierarchy. For example, the ancestors for a given day in a time hierarchy might be month, quarter, and year. An ancestors attribute is sometimes referred to as an ancestors relation.MdmAttribute that is the ancestors attribute of this MdmHierarchy.
public MdmAttribute getParentAttribute()
throws MetadataNotFoundException
MdmHierarchy. The parent attribute maps each element of this MdmHierarchy to its parent. A parent attribute is sometimes referred to as a parent relation.MdmAttribute that is the parent attribute of this MdmHierarchy.
public abstract MdmDimensionMemberInfo getDefaultMember()
throws MetadataNotFoundException
MdmHierarchy.MdmHierarchy.MdmDimensionMemberInfo
public abstract void setDefaultMember(MdmDimensionMemberInfo defaultMember)
throws MetadataNotFoundException,
MdmInvalidValueException
MdmHierarchy.defaultMember - The value of the new default member of this MdmHierarchy.MdmDimensionMemberInfopublic final boolean isDefaultHierarchy()
MdmHierarchy is the default component of its MdmPrimaryDimension.true if this is the default hierarchy and false if it is not.
|
Oracle OLAP Java API Reference 10g Release 1 (10.1) B10994-01 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||