Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


oracle.dss.metadataManager.common
Class MDHierarchy

java.lang.Object
  |
  +--oracle.dss.metadataUtil.PropertyBag
        |
        +--oracle.dss.metadataManager.common.MDObject
              |
              +--oracle.dss.metadataManager.common.MDFolder
                    |
                    +--oracle.dss.metadataManager.common.MDHierarchy
All Implemented Interfaces:
BIContext, javax.naming.Context, javax.naming.directory.DirContext, java.io.Serializable

public class MDHierarchy
extends MDFolder

A client-side representation of a hierarchy in an analytic workspace. An MDHierarchy provides, to a java client, information about a hierarchy in the workspace.

An OLAP hierarchy is a logical structure that uses levels to organize data. A hierarchy can be used to define data aggregation: for example, in a Time dimension, a hierarchy might be used to aggregate data from the "Month" level to the "Quarter" level to the "Year" level. A hierarchy can also be used to define a navigational drill path, regardless of whether the levels in the hierarchy represent aggregated totals.

As an MDFolder, an MDHierarchy can contain other MDObjects. MDHierarchy objects can contain MDLevels.

See Also:
MDLevel, Serialized Form

Fields inherited from interface javax.naming.directory.DirContext
ADD_ATTRIBUTE, REMOVE_ATTRIBUTE, REPLACE_ATTRIBUTE

 

Fields inherited from interface javax.naming.Context
APPLET, AUTHORITATIVE, BATCHSIZE, DNS_URL, INITIAL_CONTEXT_FACTORY, LANGUAGE, OBJECT_FACTORIES, PROVIDER_URL, REFERRAL, SECURITY_AUTHENTICATION, SECURITY_CREDENTIALS, SECURITY_PRINCIPAL, SECURITY_PROTOCOL, STATE_FACTORIES, URL_PKG_PREFIXES

 

Method Summary
 java.lang.String getDataType()
          Retrieves the data type of this hierarchy.
 MDDimension getDimension()
          Retrieves the dimension for this hierarchy.
 MDLevel[] getLevels()
          Retrieves the levels in this hierarchy.

 

Methods inherited from class oracle.dss.metadataManager.common.MDFolder
addToEnvironment, bind, bind, bind, bind, close, composeName, composeName, copy, copy, createSubcontext, createSubcontext, createSubcontext, createSubcontext, destroySubcontext, destroySubcontext, getAcl, getAttributes, getAttributes, getAttributes, getAttributes, getDimensions, getEnvironment, getErrorHandler, getFolders, getLocale, getMeasures, getNameParser, getNameParser, getSelections, list, list, listBindings, listBindings, lookup, lookup, lookup, lookup, lookup, lookup, lookup, lookup, lookupLink, lookupLink, modifyAttributes, modifyAttributes, modifyAttributes, modifyAttributes, move, move, rebind, rebind, rebind, rebind, removeFromEnvironment, rename, rename, search, search, search, search, search, search, setFolders, setLocale, unbind, unbind

 

Methods inherited from class oracle.dss.metadataManager.common.MDObject
getClassName, getDescription, getDriverType, getDriverTypes, getLabel, getLongLabel, getMetadataManagerServices, getName, getObjectType, getPath, getShortLabel, getSubObjectType, getUniqueID, nameEquals, setClassName, setDriverType, setMetadataManagerServices, setName, setObjectType, setSubObjectType, toString, toString

 

Methods inherited from class oracle.dss.metadataUtil.PropertyBag
getIntPropertyValue, getLongPropertyValue, getObjPropertyValue, getPropertyDataType, getStringVectorPropertyValue, getStrPropertyValue, mergePropertyBags, removeProperty, setIntPropertyValue, setIntPropertyValue, setLongPropertyValue, setLongPropertyValue, setObjPropertyValue, setObjPropertyValue, setProperty, setPropertyBag, setStringVectorPropertyValue, setStringVectorPropertyValue, setStrPropertyValue, setStrPropertyValue, size

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Methods inherited from interface oracle.dss.bicontext.BIContext
refresh

 

Methods inherited from interface javax.naming.directory.DirContext
getSchema, getSchema, getSchemaClassDefinition, getSchemaClassDefinition, search, search, search, search

 

Methods inherited from interface javax.naming.Context
getNameInNamespace

 

Method Detail

getDimension

public MDDimension getDimension()
                         throws MetadataManagerException
Retrieves the dimension for this hierarchy.
Returns:
The dimension that this hierarchy structures.
Throws:
MetadataManagerException - If the connection fails during the execution of this method or if there is a problem retrieving objects from the server.

getLevels

public MDLevel[] getLevels()
                    throws MetadataManagerException
Retrieves the levels in this hierarchy.
Returns:
The levels of this hierarchy.
Throws:
MetadataManagerException - If the connection fails during the execution of this method or if there is a problem retrieving objects from the server.

getDataType

public java.lang.String getDataType()
Retrieves the data type of this hierarchy.
Returns:
A constant that represents the datatype. Valid constants are listed in the See Also section.
See Also:
MM.BOOLEAN, MM.SHORT, MM.INTEGER, MM.LONG, MM.FLOAT, MM.DOUBLE, MM.STRING

Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


Copyright © 2003, Oracle. All Rights Reserved.