Oracle OLAP Analytic Workspace Java API Reference
10g Release 1 (10.1)

B12180-01

oracle.AWXML
Class CalculationSpecification

java.lang.Object
  |
  +--oracle.AWXML.BaseObject
        |
        +--oracle.AWXML.CalculationSpecification
Direct Known Subclasses:
Aggregation, ModelRef

public abstract class CalculationSpecification
extends BaseObject

Assembles and orders the MODEL and RELATION statements within the aggregation map.


Field Summary
protected  int m_calculationOrder
           

 

Fields inherited from class oracle.AWXML.BaseObject
AWNULL, DATABASENULL, m_commandResults, m_commandResultText, m_id, m_listResults, m_longName, m_name, m_owner, m_pluralName, m_schema, m_shortName, s_EndElementTag, s_EndEndTag, s_EndStartTag, s_EndTag, s_Indent, s_JAVA_LINEEND, s_NEWLINE, s_objectCounter, s_StartEndTag, s_StartStartTag

 

Constructor Summary
CalculationSpecification(BaseObject input)
          Constructor that takes the owner of this object.

 

Method Summary
 java.lang.String Create(AWConnection connection)
          Creates a CalculationSpecification in the analytic workspace.
 java.lang.String getAggregationText(AWConnection connection)
          Return the MODEL or RELATION statement as a text string
 int getCalculationOrder()
          Returns the position in the aggregation map for this MODEL or RELATION statement.
 void setCalculationOrder(int input)
          Set the position of this MODEL or RELATION statement in the aggregation map.
 void setCalculationOrder(java.lang.String input)
          Set the position of this MODEL or RELATION statement in the aggregation map.
 java.lang.String WriteToXML()
          Returns the object as an XML string.

 

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

 

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

 

Field Detail

m_calculationOrder

protected int m_calculationOrder
Constructor Detail

CalculationSpecification

public CalculationSpecification(BaseObject input)
Constructor that takes the owner of this object.
Parameters:
input - BaseObject that is the owner of this object in the object model
Method Detail

setCalculationOrder

public void setCalculationOrder(int input)
Set the position of this MODEL or RELATION statement in the aggregation map.
Parameters:
input - int identifying the position

setCalculationOrder

public void setCalculationOrder(java.lang.String input)
Set the position of this MODEL or RELATION statement in the aggregation map.
Parameters:
input - String identifying the position

getCalculationOrder

public int getCalculationOrder()
Returns the position in the aggregation map for this MODEL or RELATION statement.
Returns:
int identifying the position

WriteToXML

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

getAggregationText

public java.lang.String getAggregationText(AWConnection connection)
Return the MODEL or RELATION statement as a text string
Parameters:
connection - AWConnection
Returns:
String containing the text of the statement

Create

public java.lang.String Create(AWConnection connection)
Creates a CalculationSpecification in the analytic workspace.
Overrides:
Create in class BaseObject
Parameters:
connection - AWConnection
Returns:
String

Oracle OLAP Analytic Workspace Java API Reference
10g Release 1 (10.1)

B12180-01

Copyright © 2003, Oracle. All Rights Reserved.