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

B14351-01

oracle.AWXML
Class HierarchicalParentSourceExpression

java.lang.Object
  |
  +--oracle.AWXML.BaseObject
        |
        +--oracle.AWXML.ExternalSourceExpression
              |
              +--oracle.AWXML.HierarchicalParentSourceExpression

public class HierarchicalParentSourceExpression
extends ExternalSourceExpression

The column mapping for a parent level in a hierarchy.

A HierarchicalParentSourceExpression belongs to a DimensionMapGroup.

See Also:
MappingGroup

Fields inherited from class oracle.AWXML.BaseObject
DATABASENULL

Constructor Summary
HierarchicalParentSourceExpression(BaseObject input)
Creates a HierarchicalParentSourceExpression for the specified DimensionMapGroup.

Method Summary
java.lang.String Alter(AWConnection connection)
Alters the class attributes of the HierarchicalParentSourceExpression in the current analytic workspace of the specified database connection.
java.lang.String Create(AWConnection connection)
Creates a HierarchicalParentSourceExpression in the current analytic workspace of the specified database connection.
java.lang.String Delete(AWConnection connection)
Deletes the HierarchicalParentSourceExpression in the current analytic workspace of the specified database connection.
Hierarchy getHierarchy()
Returns the Hierarchy that is the mapping target.
Level getLevel()
Returns the Level that is the mapping target.
java.lang.String getParentLevelCol()
Returns the column for the parent level in the hierarchy.
void setHierarchy(Hierarchy input)
Sets the mapping target to the specified Hierarchy.
void setLevel(Level input)
Sets the mapping target to the specified Level.
void setParentLevelCol(java.lang.String input)
Specifies the column for the parent level in the hierarchy.
java.lang.String WriteToXML()
Returns the HierarchicalParentSourceExpression as an XML string.

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

HierarchicalParentSourceExpression

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

Method Detail

WriteToXML

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

setLevel

public void setLevel(Level input)
Sets the mapping target to the specified Level.
Parameters:
input - The Level to be mapped.

getLevel

public Level getLevel()
Returns the Level that is the mapping target.
Returns:
The mapped Level.

setHierarchy

public void setHierarchy(Hierarchy input)
Sets the mapping target to the specified Hierarchy.
Parameters:
input - The Hierarchy to map.

getHierarchy

public Hierarchy getHierarchy()
Returns the Hierarchy that is the mapping target.
Returns:
The mapped Hierarchy.

setParentLevelCol

public void setParentLevelCol(java.lang.String input)
Specifies the column for the parent level in the hierarchy.
Parameters:
input - The name of the column.

getParentLevelCol

public java.lang.String getParentLevelCol()
Returns the column for the parent level in the hierarchy.
Returns:
The name of the column.

Create

public java.lang.String Create(AWConnection connection)
Creates a HierarchicalParentSourceExpression 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 HierarchicalParentSourceExpression 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 specifies the database connection.
Returns:
"success" if successful.

Delete

public java.lang.String Delete(AWConnection connection)
Deletes the HierarchicalParentSourceExpression 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.