Oracle® OLAP Analytic Workspace Java API Reference
10g Release 2 (10.2)

B14351-01

oracle.AWXML
Class DimensionKeySourceExpression

java.lang.Object
  |
  +--oracle.AWXML.BaseObject
        |
        +--oracle.AWXML.ExternalSourceExpression
              |
              +--oracle.AWXML.RestrictedSourceExpression
                    |
                    +--oracle.AWXML.DimensionKeySourceExpression

public class DimensionKeySourceExpression
extends RestrictedSourceExpression

The column mapping for a dimension, level, hierarchy, or level within a hierarchy. The mapping specifies the relational columns that contain the dimension members.

A DimensionKeySourceExpression belongs to a DimensionMapGroup.

The rows in the source columns can be limited by a SQL WHERE clause specified in a RestrictedSourceExpression.

See Also:
MappingGroup

Fields inherited from class oracle.AWXML.BaseObject
DATABASENULL

Constructor Summary
DimensionKeySourceExpression(BaseObject input)
Creates a DimensionKeySourceExpression for the specified DimensionMapGroup.

Method Summary
java.lang.String Alter(AWConnection connection)
Alters the class attributes of the DimensionKeySourceExpression in the current analytic workspace of the specified database connection.
java.lang.String Create(AWConnection connection)
Creates the DimensionKeySourceExpression in the current analytic workspace of the specified database connection.
java.lang.String Delete(AWConnection connection)
Deletes the DimensionKeySourceExpression f in the current analytic workspace of the specified database connection.
Hierarchy getHierarchy()
Returns the Hierarchy that is the mapping target.
Level getLevel()
Returns the Level that is the mapping target.
void setHierarchy(Hierarchy input)
Sets the mapping target to the specified Hierarchy.
void setLevel(Level input)
Sets the mapping target to the specified Level.
java.lang.String WriteToXML()
Returns the DimensionKeySourceExpression as an XML string.

Methods inherited from class oracle.AWXML.RestrictedSourceExpression
createRestriction, getRestriction, getWhereClause, setRestriction, setWhereClause

Methods inherited from class oracle.AWXML.ExternalSourceExpression
addSourceColumn, CreateSourceColumn, getSourceColumns, getTargetObject, removeSourceColumn, setTargetObject

Methods inherited from class oracle.AWXML.BaseObject
CreateAfter, CreateBefore, CreateFirst, DataRead, getColumnName, getId, getLongName, getLongName, getName, getOwner, getPluralName, getPluralName, getSchema, getShortName, getShortName, setColumnName, setLongName, setLongName, setName, setPluralName, setPluralName, setSchema, setShortName, setShortName

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

Constructor Detail

DimensionKeySourceExpression

public DimensionKeySourceExpression(BaseObject input)
Creates a DimensionKeySourceExpression for the specified DimensionMapGroup.
Parameters:
input - The DimensionMapGroup that owns the DimensionKeySourceExpression.

Method Detail

setLevel

public void setLevel(Level input)
Sets the mapping target to the specified Level.
Parameters:
input - The Level to be mapped.

getLevel

public Level getLevel()
Returns the Level that is the mapping target.
Returns:
The mapped Level.

setHierarchy

public void setHierarchy(Hierarchy input)
Sets the mapping target to the specified Hierarchy.
Parameters:
input - The Hierarchy to map.

getHierarchy

public Hierarchy getHierarchy()
Returns the Hierarchy that is the mapping target.
Returns:
The mapped Hierarchy.

WriteToXML

public java.lang.String WriteToXML()
Returns the DimensionKeySourceExpression as an XML string.
Overrides:
WriteToXML in class RestrictedSourceExpression
Returns:
A String containing the XML that represents the DimensionKeySourceExpression.

Create

public java.lang.String Create(AWConnection connection)
Creates the DimensionKeySourceExpression in the current analytic workspace of the specified database connection.
Overrides:
Create in class BaseObject
Parameters:
connection - The AWConnection that specifies the database connection.
Returns:
"success" if successful.

Alter

public java.lang.String Alter(AWConnection connection)
Alters the class attributes of the DimensionKeySourceExpression in the current analytic workspace of the specified database connection.

You can use the Alter method to change descriptive names of the object or reset the schema of a top-level object.

To alter the object's structural definition, you must create, modify, or remove its owned objects.

Overrides:
Alter in class BaseObject
Parameters:
connection - The AWConnection that represents the database connection.
Returns:
"success" if successful.

Delete

public java.lang.String Delete(AWConnection connection)
Deletes the DimensionKeySourceExpression f in the current analytic workspace of the specified database connection.
Overrides:
Delete in class BaseObject
Parameters:
connection - The AWConnection that specifies the database connection.
Returns:
"success" if successful.

Oracle® OLAP Analytic Workspace Java API Reference
10g Release 2 (10.2)

B14351-01

Copyright © 2003, 2005 Oracle. All rights reserved.