oracle.olapi.metadata.mdm
Class MdmValueHierarchy
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
                                      |
                                      +--oracle.olapi.metadata.mdm.MdmValueHierarchy
- public final class MdmValueHierarchy
 
- extends MdmHierarchy
 
An MdmHierarchy that represents elements 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 elements 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 elements 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 OLAP Catalog. You can also create a transient MdmValueHierarchy with the createValueHierarchy method of an MdmCustomObjectFactory.
    
 
 
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
   
 
acceptVisitor
public 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. 
- 
- Parameters:
 
visitor - An MdmObjectVisitor. 
context - An Object. 
- Returns:
 
- The 
Object returned by the visitMdmValueHierarchy method. 
- Overrides:
 
- acceptVisitor in class MdmObject
 
 
 
getValueHierarchyMap
public MtmValueHierarchyMap getValueHierarchyMap()
                                          throws MetadataNotFoundException
- Gets the 
MtmValueHierarchyMap for this MdmValueHierarchy. The MtmValueHierarchyMap maps the elements of this MdmValueHierarchy to data in the relational database. 
- 
- Returns:
 
- The 
MtmValueHierarchyMap for this MdmValueHierarchy. 
- See Also:
 
MtmValueHierarchyMap
 
 
getDefaultMember
public MdmDimensionMemberInfo getDefaultMember()
                                        throws MetadataNotFoundException
- Gets the default member of this 
MdmHierarchy. 
- 
- Returns:
 
- The default member of this 
MdmHierarchy. 
- Overrides:
 
- getDefaultMember in class MdmHierarchy
 
- See Also:
 
MdmDimensionMemberInfo
 
 
setDefaultMember
public void setDefaultMember(MdmDimensionMemberInfo defaultMember)
                      throws MetadataNotFoundException,
MdmInvalidValueException
- Sets the default member of this 
MdmHierarchy. 
- 
- Parameters:
 
defaultMember - The value of the new default member of this MdmHierarchy. 
- Overrides:
 
- setDefaultMember in class MdmHierarchy
 
- See Also:
 
MdmDimensionMemberInfo
 
 
Copyright © 2002, 2003, Oracle. All Rights Reserved.