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

B14351-01

oracle.AWXML
Class CubeDimRef

java.lang.Object
  |
  +--oracle.AWXML.BaseObject
        |
        +--oracle.AWXML.CubeDimRef

public class CubeDimRef
extends BaseObject

A Dimension reference in a Cube.


Fields inherited from class oracle.AWXML.BaseObject
DATABASENULL

Constructor Summary
CubeDimRef(BaseObject input)
Creates a CubeDimRef for the specified Cube.

Method Summary
Dimension getDimension()
Returns the Dimension referenced by the Cube.
java.lang.Boolean isSparse()
Returns a Boolean specifying whether or not the referenced dimension is sparse.
void setDimension(Dimension input)
Sets the reference to the specified Dimension.
void setSparse(java.lang.Boolean input)
Sets a Boolean that specifies whether or not the referenced dimension is sparse.
java.lang.String WriteToXML()
Returns the CubeDimRef as an XML string.

Methods inherited from class oracle.AWXML.BaseObject
Alter, Create, CreateAfter, CreateBefore, CreateFirst, DataRead, Delete, 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

CubeDimRef

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

Method Detail

setDimension

public void setDimension(Dimension input)
Sets the reference to the specified Dimension.
Parameters:
input - The referenced Dimension.

getDimension

public Dimension getDimension()
Returns the Dimension referenced by the Cube.
Returns:
The referenced Dimension.

isSparse

public java.lang.Boolean isSparse()
Returns a Boolean specifying whether or not the referenced dimension is sparse.

A sparse dimension is defined in the analytic workspace with an OLAP DML composite to reduce the amount of space needed to store sparse data.

Returns:
True if the dimension is sparse, otherwise False.

setSparse

public void setSparse(java.lang.Boolean input)
Sets a Boolean that specifies whether or not the referenced dimension is sparse.

A sparse dimension is defined in the analytic workspace with an OLAP DML composite to reduce the amount of space needed to store sparse data.

Parameters:
input - True if the dimension is sparse, otherwise False.

WriteToXML

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

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

B14351-01

Copyright © 2003, 2005 Oracle. All rights reserved.