Skip navigation links

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

E10794-05


oracle.olapi.metadata.mapping
Class AttributeMap

java.lang.Object
  extended by oracle.olapi.metadata.BaseMetadataObject
      extended by oracle.olapi.metadata.mapping.ObjectMap
          extended by oracle.olapi.metadata.mapping.ValueMap
              extended by oracle.olapi.metadata.mapping.AttributeMap

All Implemented Interfaces:
MetadataObject

public final class AttributeMap
extends ValueMap

A ValueMap that maps an MdmAttribute for an MdmDimension to an Expression. An application creates an AttributeMap with the findOrCreateAttributeMap method of a DimensionMap. An application that supports multiple languages must provide a separate AttributeMap for each language.


Method Summary
 MdmBaseAttribute getAttribute()
          Gets the MdmAttribute associated with the AttributeMap.
 DimensionMap getDimensionMap()
          Gets the DimensionMap that is the owner of this AttributeMap.
 java.lang.String getLanguage()
          Gets the language that is associated with this AttributeMap.
 void setAttribute(MdmBaseAttribute input)
          Specifies the MdmAttribute to associate with the AttributeMap.
 void setLanguage(java.lang.String input)
          Specifies the language to associate with this AttributeMap.

 

Methods inherited from class oracle.olapi.metadata.mapping.ValueMap
getExpression, getName, setExpression, setName

 

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

setAttribute

public void setAttribute(MdmBaseAttribute input)
Specifies the MdmAttribute to associate with the AttributeMap.
Parameters:
input - The MdmAttribute to associate with the AttributeMap.

getAttribute

public MdmBaseAttribute getAttribute()
Gets the MdmAttribute associated with the AttributeMap.
Returns:
The MdmAttribute associated with the AttributeMap.

getDimensionMap

public DimensionMap getDimensionMap()
Gets the DimensionMap that is the owner of this AttributeMap.
Returns:
The DimensionMap that owns this AttributeMap.

setLanguage

public void setLanguage(java.lang.String input)
Specifies the language to associate with this AttributeMap.
Parameters:
input - A String that contains the identifier of the language to associate with this AttributeMap.

getLanguage

public java.lang.String getLanguage()
Gets the language that is associated with this AttributeMap.
Returns:
A String that contains the identifier of the language associated with this AttributeMap.

Skip navigation links

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