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

B12180-01

oracle.AWXML
Class HierarchicalParentSourceExpression

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

public class HierarchicalParentSourceExpression
extends ExternalSourceExpression

This object specifies the parent-child relationships between pairs of columns that are mapped to a hierarchy or to a level within a hierarchy


Field Summary
protected  Hierarchy m_hierarchy
           
protected  Level m_level
           
protected  java.lang.String m_parentLevelCol
           

 

Fields inherited from class oracle.AWXML.ExternalSourceExpression
m_SourceColumn, m_targetObject

 

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
HierarchicalParentSourceExpression(BaseObject input)
          Constructor for a HierarchicalParentSourceExpression.

 

Method Summary
 java.lang.String Alter(AWConnection connection)
          Alters a HierarchicalParentSourceExpression in the current analytic workspace.
 java.lang.String Create(AWConnection connection)
          Creates a HierarchicalParentSourceExpression in the current analytic workspace.
 java.lang.String Delete(AWConnection connection)
          Deletes a HierarchicalParentSourceExpression in the current analytic workspace.
 Hierarchy getHierarchy()
          Returns the Hierarchy that is the target for a set of columns.
 Level getLevel()
          Returns the Level that is the target for one or more columns.
 java.lang.String getParentLevelCol()
          Returns the parent Level columns for the current level in the hierarchy
 void setHierarchy(Hierarchy input)
          Sets a Hierarchy as the target for a set of columns.
 void setLevel(Level input)
          Sets a Level as the target object associated with one or more columns
 void setParentLevelCol(java.lang.String input)
          Sets the specified Level columns as the parent of the current level in the hierarchy
 java.lang.String WriteToXML()
          Returns the object 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, getId, 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

 

Field Detail

m_parentLevelCol

protected java.lang.String m_parentLevelCol

m_level

protected Level m_level

m_hierarchy

protected Hierarchy m_hierarchy
Constructor Detail

HierarchicalParentSourceExpression

public HierarchicalParentSourceExpression(BaseObject input)
Constructor for a HierarchicalParentSourceExpression. Accepts a Hierarchy or HierarchyLevelAssociation as input.
Parameters:
input - BaseObject
Method Detail

WriteToXML

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

setLevel

public void setLevel(Level input)
Sets a Level as the target object associated with one or more columns
Parameters:
input - Level

getLevel

public Level getLevel()
Returns the Level that is the target for one or more columns.
Returns:
Level

setHierarchy

public void setHierarchy(Hierarchy input)
Sets a Hierarchy as the target for a set of columns.
Parameters:
input - Hierarchy

getHierarchy

public Hierarchy getHierarchy()
Returns the Hierarchy that is the target for a set of columns.
Returns:
Hierarchy

setParentLevelCol

public void setParentLevelCol(java.lang.String input)
Sets the specified Level columns as the parent of the current level in the hierarchy
Parameters:
input - String that contains the name of the parent level

getParentLevelCol

public java.lang.String getParentLevelCol()
Returns the parent Level columns for the current level in the hierarchy
Returns:
String that contains the name of the parent level

Create

public java.lang.String Create(AWConnection connection)
Creates a HierarchicalParentSourceExpression in the current analytic workspace.
Overrides:
Create in class BaseObject
Parameters:
connection - AWConnection through which the command will be processed
Returns:
A String indicating if the call was successful. A successful invocation returns the value 'success'.

Alter

public java.lang.String Alter(AWConnection connection)
Alters a HierarchicalParentSourceExpression in the current analytic workspace.
Overrides:
Alter in class BaseObject
Parameters:
connection - AWConnection through which the command will be processed
Returns:
A String indicating if the call was successful. A successful invocation returns the value 'success'.

Delete

public java.lang.String Delete(AWConnection connection)
Deletes a HierarchicalParentSourceExpression in the current analytic workspace.
Overrides:
Delete in class BaseObject
Parameters:
connection - AWConnection through which the command will be processed
Returns:
A String indicating if the call was successful. A successful invocation returns the value 'success'.

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

B12180-01

Copyright © 2003, Oracle. All Rights Reserved.