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


oracle.dss.metadataManager.common
Class MDLevel

java.lang.Object
  |
  +--oracle.dss.metadataUtil.PropertyBag
        |
        +--oracle.dss.metadataManager.common.MDObject
              |
              +--oracle.dss.metadataManager.common.MDLevel
All Implemented Interfaces:
java.io.Serializable

public class MDLevel
extends MDObject

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

An OLAP level is a position in a hierarchy. For example, a Time dimension might have a hierarchy that represents data at the "Month," "Quarter," and "Year" levels.

See Also:
MDHierarchy, Serialized Form

Method Summary
 MDAttribute[] getAttributes()
          Retrieves the attributes that apply to this level.
 java.lang.String getCurrentMember()
          This is typically used to get current member for a level on a time dimension
 java.lang.String getDataType()
          Retrieves the data type of this level.
 MDHierarchy getHierarchy()
          Retrieves the hierarchy that contains this level.
 void setCurrentMember(java.lang.String currentMember)
          This is typically used to set current member for a level on a time dimension

 

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

 

Method Detail

getHierarchy

public MDHierarchy getHierarchy()
                         throws MetadataManagerException
Retrieves the hierarchy that contains this level.
Returns:
The hierarchy that contains this level.
Throws:
MetadataManagerException - If the connection fails during the execution of this method or if there is a problem retrieving objects from the server.

getAttributes

public MDAttribute[] getAttributes()
                            throws MetadataManagerException
Retrieves the attributes that apply to this level.
Returns:
The attributes that apply to this level.
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 level.
Returns:
A constant that represents the datatype.
See Also:
MM.BOOLEAN, MM.SHORT, MM.INTEGER, MM.LONG, MM.FLOAT, MM.DOUBLE, MM.STRING

setCurrentMember

public void setCurrentMember(java.lang.String currentMember)
This is typically used to set current member for a level on a time dimension
Parameters:
currentMember - String representing currentMember

getCurrentMember

public java.lang.String getCurrentMember()
This is typically used to get current member for a level on a time dimension
Returns:
currentMember String representing currentMember

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


Copyright © 2003, Oracle. All Rights Reserved.