|
Oracle® OLAP Java API Reference 10g Release 2 (10.2.0.4) B14348-04 |
|||||||||
| 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.MdmHierarchy
oracle.olapi.metadata.mdm.MdmValueHierarchy
An MdmHierarchy that represents members of an Oracle
OLAP dimension that are organized hierarchically by values
rather than by levels.
The hierarchical organization is defined by parent-child relationships
between the members of the MdmValueHierarchy.
For example, the employee reporting structure of a company can be
represented with parent-child relationships but without levels.
MdmAttribute objects record the parent-child relationships
among the members of an MdmValueHierarchy
You use the getParentAttribute and
getAncestorsAttribute methods to get the
MdmAttribute objects that relate parents to children and
ancestors to descendents, respectively.
A database administrator can specify an MdmHierarchy as an
MdmValueHierarchy in the Oracle OLAP metadata.
You can also create a transient MdmValueHierarchy with the
createValueHierarchy method of an
MdmCustomObjectFactory.
| Method Summary | |
java.lang.Object |
acceptVisitor(MdmObjectVisitor visitor,
java.lang.Object context)
Calls the visitMdmValueHierarchy method on the specified
MdmObjectVisitor and passes that method this
MdmValueHierarchy and the specified context
object. |
MdmDimensionMemberInfo |
getDefaultMember()
Gets the MdmDimensionMemberInfo that specifies the
default member of this MdmValueHierarchy. |
MtmValueHierarchyMap |
getValueHierarchyMap()
Gets the MtmValueHierarchyMap for this
MdmValueHierarchy. |
void |
setDefaultMember(MdmDimensionMemberInfo defaultMember)
Specifies a default member for this MdmValueHierarchy. |
| Methods inherited from class oracle.olapi.metadata.mdm.MdmHierarchy |
getAncestorsAttribute, getParentAttribute, isDefaultHierarchy |
| 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, getModel, getSource, getSourceMap, getType, setModel |
| Methods inherited from class oracle.olapi.metadata.mdm.MdmObject |
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 java.lang.Object acceptVisitor(MdmObjectVisitor visitor,
java.lang.Object context)
visitMdmValueHierarchy method on the specified
MdmObjectVisitor and passes that method this
MdmValueHierarchy and the specified context
object.
acceptVisitor in class MdmObjectvisitor - An MdmObjectVisitor.context - An Object.
Object returned by the
visitMdmValueHierarchy method.
public MtmValueHierarchyMap getValueHierarchyMap()
throws MetadataNotFoundException
MtmValueHierarchyMap for this
MdmValueHierarchy.
The MtmValueHierarchyMap maps the members of this
MdmValueHierarchy to data in the Oracle Database.
MtmValueHierarchyMap for this
MdmValueHierarchy.
MetadataNotFoundExceptionMtmValueHierarchyMap
public MdmDimensionMemberInfo getDefaultMember()
throws MetadataNotFoundException
MdmDimensionMemberInfo that specifies the
default member of this MdmValueHierarchy.
From the MdmDimensionMemberInfo you can get the
value of the default member by calling its getLocalValue
or getUniqueValue method.
getDefaultMember in class MdmHierarchyMdmDimensionMemberInfo that has the default
member of this MdmValueHierarchy.
MetadataNotFoundException
public void setDefaultMember(MdmDimensionMemberInfo defaultMember)
throws MetadataNotFoundException,
MdmInvalidValueException
MdmValueHierarchy.
setDefaultMember in class MdmHierarchydefaultMember - An MdmDimensionMemberInfo that has
the value that you want the default member of
this MdmValueHierarchy to have.
MetadataNotFoundException
MdmInvalidValueException
|
Oracle® OLAP Java API Reference 10g Release 2 (10.2.0.4) B14348-04 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||