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

B14351-01

oracle.AWXML
Class MeasureSourceExpression

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

public class MeasureSourceExpression
extends RestrictedSourceExpression

The column mapping for a measure. The mapping specifies the relational columns that contain the source data for the object.

A MeasureSourceExpression belongs to a CubeMapGroup.

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
MeasureSourceExpression(BaseObject input)
Creates a MeasureSourceExpression for the specified Measure.

Method Summary
java.lang.String Alter(AWConnection connection)
Alters the class attributes of the MeasureSourceExpression in the current analytic workspace of the specified database connection.
java.lang.String Create(AWConnection connection)
Creates the MeasureSourceExpression in the current analytic workspace of the specified database connection.
java.lang.String Delete(AWConnection connection)
Deletes the MeasureSourceExpression in the current analytic workspace of the specified database connection.
java.lang.String getRelationalOperator()
Returns the relational operator associated with the source column.
void setRelationalOperator(java.lang.String input)
Sets the relational operator associated with the source column.
java.lang.String WriteToXML()
Returns the MeasureSourceExpression 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

MeasureSourceExpression

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

Method Detail

setRelationalOperator

public void setRelationalOperator(java.lang.String input)
Sets the relational operator associated with the source column.
Parameters:
input - The name of the relational operator.

getRelationalOperator

public java.lang.String getRelationalOperator()
Returns the relational operator associated with the source column.
Returns:
The name of the relational operator.

WriteToXML

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

Create

public java.lang.String Create(AWConnection connection)
Creates the MeasureSourceExpression 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 MeasureSourceExpression 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 MeasureSourceExpression 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.