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

B14351-03 Beta Draft

oracle.AWXML
Class PreComputeClause

java.lang.Object
  extended by oracle.AWXML.BaseObject
      extended by oracle.AWXML.PreComputeClause

public class PreComputeClause
extends BaseObject

An object that contains a list of members of a Dimension that an analytic workspace considers while it calculates aggregated Measure values during the build process. A PreComputeClause contains a list of a DimensionMemberExpression objects that specify the Dimension members. The expression type of a DimensionMemberExpression indicates whether the analytic workspace includes or excludes the dimension members during the aggregation operation. A PreComputeClause is owned by an AggregationHierarchySpecification.


Field Summary
 
Fields inherited from class oracle.AWXML.BaseObject
DATABASENULL
 
Constructor Summary
PreComputeClause(BaseObject input)
          Creates a PreComputeClause for the specified AggregationHierarchySpecification.
 
Method Summary
 void addDimensionMemberExpression(DimensionMemberExpression input)
          Adds the specified DimensionMemberExpression to the PreComputeClause.
 DimensionMemberExpression createDimensionMemberExpression()
          Creates a DimensionMemberExpression for the PreComputeClause.
 java.util.Vector getDimensionMemberExpressions()
          Gets a list of the DimensionMemberExpression objects owned by the PreComputeClause.
 void removeDimensionMemberExpression(DimensionMemberExpression input)
          Removes the specified DimensionMemberExpression from the PreComputeClause.
 java.lang.String WriteToXML()
          Gets an XML representation of the PreComputeClause.
 
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

PreComputeClause

public PreComputeClause(BaseObject input)
Creates a PreComputeClause for the specified AggregationHierarchySpecification.

Parameters:
input - The AggregationHierarchySpecification to own the PreComputeClause.
Method Detail

addDimensionMemberExpression

public void addDimensionMemberExpression(DimensionMemberExpression input)
Adds the specified DimensionMemberExpression to the PreComputeClause. A DimensionMemberExpression specifies one or more members of a Dimension.

Parameters:
input - The DimensionMemberExpression to add.

removeDimensionMemberExpression

public void removeDimensionMemberExpression(DimensionMemberExpression input)
Removes the specified DimensionMemberExpression from the PreComputeClause.

Parameters:
input - The DimensionMemberExpression to remove.

getDimensionMemberExpressions

public java.util.Vector getDimensionMemberExpressions()
Gets a list of the DimensionMemberExpression objects owned by the PreComputeClause.

Returns:
A Vector of DimensionMemberExpression objects.

WriteToXML

public java.lang.String WriteToXML()
Gets an XML representation of the PreComputeClause.

Overrides:
WriteToXML in class BaseObject
Returns:
A String that contains an XML representation of the PreComputeClause.

createDimensionMemberExpression

public DimensionMemberExpression createDimensionMemberExpression()
Creates a DimensionMemberExpression for the PreComputeClause.

Returns:
The new DimensionMemberExpression.

Copyright © 2003, 2006 Oracle. All rights reserved.