Skip navigation links

Oracle® OLAP Java API Reference
11g Release 2 (11.2)

E10794-05


oracle.olapi.metadata.mapping
Class HierarchyLevelMap

java.lang.Object
  extended by oracle.olapi.metadata.BaseMetadataObject
      extended by oracle.olapi.metadata.mapping.ObjectMap
          extended by oracle.olapi.metadata.mapping.DimensionMap
              extended by oracle.olapi.metadata.mapping.HierarchyLevelMap

All Implemented Interfaces:
MetadataObject

public final class HierarchyLevelMap
extends DimensionMap

A DimensionMap that maps an MdmHierarchyLevel to a data source. You get a HierarchyLevelMap by calling the findOrCreateHierarchyLevelMap method of the MdmHierarchyLevel. If you use a HierarchyLevelMap to map an MdmHierarchyLevel, then you should not also use a MemberListMap to map an MdmPrimaryDimension or an MdmDimensionLevel to the same data source.

You must specify a Query or a FromClause for the HierarchyLevelMap unless the members of the MdmHierarchyLevel are the same as those of the associated MdmDimensionLevel. The Query must represent a table or a view. You must also specify a join Condition for the HierarchyLevelMap unless the level is the highest level of the hierarchy or the MdmHierarchyLevel has the same Query as the MdmHierarchyLevel for the next highest level.


Method Summary
 Condition getJoinCondition()
          Gets the Condition that represents a join condition for the level.
 void setJoinCondition(Condition input)
          Specifies a Condition that represents a join condition for the level.

 

Methods inherited from class oracle.olapi.metadata.mapping.DimensionMap
addAttributeMap, findOrCreateAttributeMap, findOrCreateAttributeMap, getAttributeMaps, getDimension, getFromClause, getKeyExpression, getQuery, getWhereClause, removeAttributeMap, setDimension, setFromClause, setKeyExpression, setQuery, setWhereClause

 

Methods inherited from class oracle.olapi.metadata.mapping.ObjectMap
getName

 

Methods inherited from class oracle.olapi.metadata.BaseMetadataObject
getContainedByObject, getID, getNewName, getOwner

 

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

 

Method Detail

setJoinCondition

public void setJoinCondition(Condition input)
Specifies a Condition that represents a join condition for the level.
Parameters:
input - The Condition to associate with the HierarchyLevelMap.

getJoinCondition

public Condition getJoinCondition()
Gets the Condition that represents a join condition for the level.
Returns:
The Condition associated with the HierarchyLevelMap.

Skip navigation links

Copyright © 2002, 2010, Oracle. All rights reserved.