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

B14351-02

oracle.AWXML
Class SolveDefDimRef

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

public class SolveDefDimRef
extends BaseObject

A dimension reference for an AggregationDefinition.


Fields inherited from class oracle.AWXML.BaseObject
DATABASENULL

 

Constructor Summary
SolveDefDimRef(BaseObject input)
          Creates a SolveDefDimRef for the specified AggregationDefinition.

 

Method Summary
 java.lang.String Create(AWConnection connection)
          Creates a SolveDefDimRef in the current analytic workspace of the specified database connection.
 java.lang.String CreateAfter(AWConnection connection, BaseObject referencedObj)
          Creates a SolveDefDimRef and adds it after the referenced SolveDefDimRef to the list of SolveDefDimRef objects of the AggregationDefinition that is owned by the AW object that represents the current analytic workspace of the specified database connection.
 java.lang.String CreateBefore(AWConnection connection, BaseObject referencedObj)
          Creates a SolveDefDimRef and adds it before the referenced SolveDefDimRef to the list of SolveDefDimRef objects of the AggregationDefinition that is owned by the AW object that represents the current analytic workspace of the specified database connection.
 java.lang.String CreateFirst(AWConnection connection)
          Creates a SolveDefDimRef and adds it at the beginning of the list of SolveDefDimRef objects of the AggregationDefinition that is owned by the AW object that represents the current analytic workspace of the specified database connection.
 java.lang.String Delete(AWConnection connection)
          Removes the SolveDefDimRef from the current analytic workspace for the specified connection.
 java.lang.String getCalcMemberSolveOrder()
          Gets the solve order for a dimension that has dynamically-calculated members.
 Dimension getDimension()
          Gets the dimension that this SolveDefDimRef references.
 SolveDefinition getSolveDefinition()
          Gets the AggregationDefinition that owns the SolveDefDimRef.
 void setCalcMemberSolveOrder(java.lang.String input)
          Specifies the solve order for a dimension that has dynamically-calculated members.
 void setDimension(Dimension input)
          Specifies the dimension that this SolveDefDimRef references.
 void setSolveDefinition(SolveDefinition input)
          Specifies the AggregationDefinition that you want to own the SolveDefDimRef.
 java.lang.String WriteToXML()
          Gets an XML representation of the SolveDefDimRef.

 

Methods inherited from class oracle.AWXML.BaseObject
Alter, 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

SolveDefDimRef

public SolveDefDimRef(BaseObject input)
Creates a SolveDefDimRef for the specified AggregationDefinition.
Parameters:
input - The AggregationDefinition to own the SolveDefDimRef.

Method Detail

setSolveDefinition

public void setSolveDefinition(SolveDefinition input)
Specifies the AggregationDefinition that you want to own the SolveDefDimRef.
Parameters:
input - The AggregationDefinition to own the SolveDefDimRef.

getSolveDefinition

public SolveDefinition getSolveDefinition()
Gets the AggregationDefinition that owns the SolveDefDimRef.
Returns:
The AggregationDefinition that owns the SolveDefDimRef.

setDimension

public void setDimension(Dimension input)
Specifies the dimension that this SolveDefDimRef references.
Parameters:
input - The Dimension referenced by the SolveDefDimRef .

getDimension

public Dimension getDimension()
Gets the dimension that this SolveDefDimRef references.
Returns:
The Dimension referenced by the SolveDefDimRef.

getCalcMemberSolveOrder

public java.lang.String getCalcMemberSolveOrder()
Gets the solve order for a dimension that has dynamically-calculated members. The number, as a String, returned by this method specifies the position in the solve order of the dimension referenced by the SolveDefDimRef. This method is only meaningful for dimensions that have one or more SessionCalculatedMember objects.
Returns:
A String that indicates the position in the solve order of the referenced dimension.

setCalcMemberSolveOrder

public void setCalcMemberSolveOrder(java.lang.String input)
Specifies the solve order for a dimension that has dynamically-calculated members. In some cases, a SessionCalculatedMember might execute dynamic calculations that override the default solve order in the AggregationDefinition. This method is only meaningful for dimensions that have one or more SessionCalculatedMember objects.

The number, as a String, specified by this method determines the position in the solve order of the dimension referenced by the SolveDefDimRef. The default solve order value is 0 (zero), which specifies that the default solve order cannot be overridden.

Parameters:
input - A String that specifies the numeric position of the referenced dimension in the solve order.

WriteToXML

public java.lang.String WriteToXML()
Gets an XML representation of the SolveDefDimRef.
Overrides:
WriteToXML in class BaseObject
Returns:
An XML String that represents the SolveDefDimRef.

Create

public java.lang.String Create(AWConnection connection)
Creates a SolveDefDimRef 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:
A String that contains success if the method creates the AggregationDefinition.

Delete

public java.lang.String Delete(AWConnection connection)
Removes the SolveDefDimRef from the current analytic workspace for the specified connection.
Overrides:
Delete in class BaseObject
Parameters:
connection - The AWConnection that specifies the database connection.
Returns:
A String that contains success if the method successfully deletes the AggregationDefinition.

CreateFirst

public java.lang.String CreateFirst(AWConnection connection)
Creates a SolveDefDimRef and adds it at the beginning of the list of SolveDefDimRef objects of the AggregationDefinition that is owned by the AW object that represents the current analytic workspace of the specified database connection.
Overrides:
CreateFirst in class BaseObject
Parameters:
connection - The AWConnection that represents the database connection.
Returns:
A String that contains success if the method successfully creates the SolveDefDimRef.

CreateAfter

public java.lang.String CreateAfter(AWConnection connection,
                                    BaseObject referencedObj)
Creates a SolveDefDimRef and adds it after the referenced SolveDefDimRef to the list of SolveDefDimRef objects of the AggregationDefinition that is owned by the AW object that represents the current analytic workspace of the specified database connection.
Overrides:
CreateAfter in class BaseObject
Parameters:
connection - The AWConnection that represents the database connection.
referencedObj - The SolveDefDimRef after which you want to add the new SolveDefDimRef.
Returns:
A String that contains success if the method successfully creates the SolveDefDimRef.

CreateBefore

public java.lang.String CreateBefore(AWConnection connection,
                                     BaseObject referencedObj)
Creates a SolveDefDimRef and adds it before the referenced SolveDefDimRef to the list of SolveDefDimRef objects of the AggregationDefinition that is owned by the AW object that represents the current analytic workspace of the specified database connection.
Overrides:
CreateBefore in class BaseObject
Parameters:
connection - The AWConnection that represents the database connection.
referencedObj - The SolveDefDimRef before which you want to add the new SolveDefDimRef.
Returns:
A String that contains success if the method successfully creates the SolveDefDimRef.

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

B14351-02

Copyright © 2003, 2005 Oracle. All rights reserved.