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

E10794-03

oracle.olapi.metadata.mapping
Class ValueMap

java.lang.Object
  extended by oracle.olapi.metadata.BaseMetadataObject
      extended by oracle.olapi.metadata.mapping.ObjectMap
          extended by oracle.olapi.metadata.mapping.ValueMap
All Implemented Interfaces:
MetadataObject
Direct Known Subclasses:
AttributeMap, CubeDimensionalityMap, MeasureMap

public abstract class ValueMap
extends ObjectMap

An abstract ObjectMap that maps an MdmDimensionedObject to relational source data. You use a CubeMap or a DimensionMap to create a ValueMap.


Method Summary
 Expression getExpression()
          Gets an Expression that identifies the relational source data for the values of the metadata object.
 java.lang.String getName()
          Gets the name of the ValueMap.
 java.lang.String getNewName()
          Gets the name of this ValueMap if you have changed the name of the object by using the setName method but you have not committed the root transaction that contains the name change.
 void setExpression(Expression input)
          Specifies an Expression that identifies the relational source data for the values of the metadata object.
 void setName(java.lang.String name)
          Specifies a name for the ValueMap.
 
Methods inherited from class oracle.olapi.metadata.BaseMetadataObject
getContainedByObject, getID, getOwner
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setExpression

public void setExpression(Expression input)
Specifies an Expression that identifies the relational source data for the values of the metadata object.

Parameters:
input - An Expression that identifies the relational source of the data for the metadata object.

getExpression

public Expression getExpression()
Gets an Expression that identifies the relational source data for the values of the metadata object.

Returns:
An Expression that identifies the relational source of the data for the metadata object.

getName

public java.lang.String getName()
Gets the name of the ValueMap.

Overrides:
getName in class ObjectMap
Returns:
A String that contains the name of the ValueMap.

setName

public void setName(java.lang.String name)
Specifies a name for the ValueMap.

Parameters:
name - A String that contains a name for the ValueMap.

getNewName

public final java.lang.String getNewName()
Gets the name of this ValueMap if you have changed the name of the object by using the setName method but you have not committed the root transaction that contains the name change. If you have not changed the name of this ValueMap since you last committed the root transaction, this method returns null.

Overrides:
getNewName in class BaseMetadataObject
Returns:
The new name of this ValueMap, which takes effect after you commit the current root transaction, or null if you have not specified a new name.

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