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

B12180-01

oracle.AWXML
Class DerivedMeasure

java.lang.Object
  |
  +--oracle.AWXML.BaseObject
        |
        +--oracle.AWXML.Measure
              |
              +--oracle.AWXML.DerivedMeasure

public class DerivedMeasure
extends Measure

A measure resulting from calculations on other measures. The calculations are mathematical operations or data transformations on existing data. Examples of derived facts include averages, totals, percentages, and differences.

Use the following link to view a graphical representation of oracle.AWXML.DerivedMeasure.

OLAP Analytic Workspace Derived Measure Model


Fields inherited from class oracle.AWXML.Measure
m_dataType

 

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
DerivedMeasure(BaseObject input)
          Constructor that takes the owner of this object.

 

Method Summary
 java.lang.String Alter(AWConnection connection)
          Alters a DerivedMeasure in the analytic workspace.
 java.lang.String Create(AWConnection connection)
          Creates a new DerivedMeasure in the analytic workspace.
 java.lang.String Delete(AWConnection connection)
          Removes a DerivedMeasure from the analytic workspace.
 java.lang.String getExpressionText()
          Returns the text of the OLAP expression that generates the derived measure.
 java.lang.String getId()
          Returns the full name of the current object.
 Operator getOperator()
          Returns the operator for the DerivedMeasure.
 void setExpressionText(java.lang.String input)
          Sets the text of the OLAP expression that generates the derived measure.
 void setOperator(Operator input)
          Sets the operator for the DerivedMeasure.
 java.lang.String WriteToXML()
          Returns the object as an XML string.

 

Methods inherited from class oracle.AWXML.Measure
getAutoSolve, getDataType, getSolveDefinition, setAutoSolve, setDataType, setSolveDefinition

 

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

 

Constructor Detail

DerivedMeasure

public DerivedMeasure(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

getId

public java.lang.String getId()
Description copied from class: BaseObject
Returns the full name of the current object. Standard form conventions specify a full name for each logical object, because simple logical names are not unique outside their name space. The full name includes the simple logical name, but also indicates the name space to which the object belongs and its object type.

The following is an example of a full name for an attribute whose simple name is TIME_SPAN and whose parent object is a dimension called TIME.

GLOBAL_AW.TIME.TIME_SPAN.ATTRIBUTE

For more information on standard form naming conventions, see the Oracle OLAP Application Developer's Guide.

Overrides:
getId in class BaseObject
Tags copied from class: BaseObject
Returns:
A String containing the full name of the object.

setExpressionText

public void setExpressionText(java.lang.String input)
Sets the text of the OLAP expression that generates the derived measure.
Parameters:
input - String

getExpressionText

public java.lang.String getExpressionText()
Returns the text of the OLAP expression that generates the derived measure.
Returns:
String

setOperator

public void setOperator(Operator input)
Sets the operator for the DerivedMeasure.
Parameters:
input - Operator

getOperator

public Operator getOperator()
Returns the operator for the DerivedMeasure.
Returns:
Operator

WriteToXML

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

Create

public java.lang.String Create(AWConnection connection)
Creates a new DerivedMeasure in the analytic workspace.
Overrides:
Create in class Measure
Parameters:
connection - AWConnection
Returns:
String. The value is "success" if the DerivedMeasure was successfully created.

Delete

public java.lang.String Delete(AWConnection connection)
Removes a DerivedMeasure from the analytic workspace.
Overrides:
Delete in class Measure
Parameters:
connection - AWConnection
Returns:
String. The value is "success" if the DerivedMeasure was successfully deleted.

Alter

public java.lang.String Alter(AWConnection connection)
Alters a DerivedMeasure in the analytic workspace.
Overrides:
Alter in class BaseObject
Parameters:
connection - AWConnection
Returns:
String. The value is "success" if the DerivedMeasure was successfully altered.

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

B12180-01

Copyright © 2003, Oracle. All Rights Reserved.