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

B14351-01

oracle.AWXML
Class ExternalSourceExpression

java.lang.Object
  |
  +--oracle.AWXML.BaseObject
        |
        +--oracle.AWXML.ExternalSourceExpression
Direct Known Subclasses:
AttributeSourceExpression, HierarchicalParentSourceExpression, RestrictedSourceExpression

public class ExternalSourceExpression
extends BaseObject

The column mapping for an AWObject. The mapping specifies the relational columns that contain the source data for the object.

An ExternalSourceExpression specifies the source columns in a HierarchicalParentSourceExpression, an AttributeSourceExpression, a DimensionKeySourceExpression, a MeasureSourceExpression, or a CubeDimensionSourceExpression.

A RestrictedSourceExpression can place a restriction on the rows if the source columns are in a DimensionKeySourceExpression, a MeasureSourceExpression, or a CubeDimensionSourceExpression.

See Also:
RestrictedSourceExpression, MappingGroup

Fields inherited from class oracle.AWXML.BaseObject
DATABASENULL

Constructor Summary
ExternalSourceExpression(BaseObject input)
Creates an ExternalSourceExpression for the specified source expression.

Method Summary
void addSourceColumn(SourceColumn input)
Adds the specified SourceColumn to the ExternalSourceExpression.
SourceColumn CreateSourceColumn()
Creates a SourceColumn in the ExternalSourceExpression.
java.util.Vector getSourceColumns()
Returns the source columns in the ExternalSourceExpression
BaseObject getTargetObject()
Returns the AWobject that is the target for the source data.
void removeSourceColumn(SourceColumn input)
Removes the specified SourceColumn from the ExternalSourceExpression
void setTargetObject(BaseObject input)
Specifies the AWObject that is the target for the source data.
java.lang.String WriteToXML()
Returns the ExternalSourceExpression as an XML string.

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

ExternalSourceExpression

public ExternalSourceExpression(BaseObject input)
Creates an ExternalSourceExpression for the specified source expression.

The source expression can be a HierarchicalParentSourceExpression, an AttributeSourceExpression, a DimensionKeySourceExpression, a MeasureSourceExpression, a CubeDimensionSourceExpression, or a RestrictedSourceExpression.

Parameters:
input - The source expression that owns the ExternalSourceExpression.

Method Detail

WriteToXML

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

addSourceColumn

public void addSourceColumn(SourceColumn input)
Adds the specified SourceColumn to the ExternalSourceExpression.
Parameters:
input - The SourceColumn to add.

removeSourceColumn

public void removeSourceColumn(SourceColumn input)
Removes the specified SourceColumn from the ExternalSourceExpression
Parameters:
input - The SourceColumn to remove.

getSourceColumns

public java.util.Vector getSourceColumns()
Returns the source columns in the ExternalSourceExpression
Returns:
A Vector of SourceColumn objects.

setTargetObject

public void setTargetObject(BaseObject input)
Specifies the AWObject that is the target for the source data.
Parameters:
input - The target AWObject.

getTargetObject

public BaseObject getTargetObject()
Returns the AWobject that is the target for the source data.
Returns:
The target AWObject.

CreateSourceColumn

public SourceColumn CreateSourceColumn()
Creates a SourceColumn in the ExternalSourceExpression.
Returns:
The new SourceColumn.

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

B14351-01

Copyright © 2003, 2005 Oracle. All rights reserved.