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

B12180-01

oracle.AWXML
Class AttributeSourceExpression

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

public class AttributeSourceExpression
extends ExternalSourceExpression

Specifies the column mapping for an attribute.


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
AttributeSourceExpression(BaseObject input)
          Constructor for an AttributeSourceExpression.

 

Method Summary
 java.lang.String Alter(AWConnection connection)
          Alters an AttributeSourceExpression in the current analytic workspace.
 java.lang.String Create(AWConnection connection)
          Creates an AttributeSourceExpression in the current analytic workspace.
 java.lang.String Delete(AWConnection connection)
          Removes an AttributeSourceExpression from the current analytic workspace.
 Hierarchy getHierarchy()
          Returns the Hierarchy with which the current AttributeProjection is associated.
 Level getLevel()
          Returns the Level with which the current AttributeProjection is associated.
 void setBaseAttribute(Attribute input)
          Sets the Attribute on which the specified AttributeProjection is based.
 void setHierarchy(Hierarchy input)
          Sets the Hierarchy with which the current AttributeProjection is associated.
 void setLevel(Level input)
          Sets the Level with which the current AttributeProjection is associated.
 void setTargetObject(BaseObject input)
          Sets the Attribute or AttributeProjection as the target for a source column.
 java.lang.String WriteToXML()
          Returns the object as an XML string.

 

Methods inherited from class oracle.AWXML.ExternalSourceExpression
addSourceColumn, CreateSourceColumn, getSourceColumns, getTargetObject, removeSourceColumn

 

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

 

Constructor Detail

AttributeSourceExpression

public AttributeSourceExpression(BaseObject input)
Constructor for an AttributeSourceExpression. Accepts an Attribute or AttributeProjection as input.
Parameters:
input - BaseObject
Method Detail

setBaseAttribute

public void setBaseAttribute(Attribute input)
Sets the Attribute on which the specified AttributeProjection is based.
Parameters:
input - AttributeProjection

setTargetObject

public void setTargetObject(BaseObject input)
Sets the Attribute or AttributeProjection as the target for a source column.
Overrides:
setTargetObject in class ExternalSourceExpression
Parameters:
input - BaseObject

setLevel

public void setLevel(Level input)
Sets the Level with which the current AttributeProjection is associated.
Parameters:
input - Level

getLevel

public Level getLevel()
Returns the Level with which the current AttributeProjection is associated.
Returns:
Level

setHierarchy

public void setHierarchy(Hierarchy input)
Sets the Hierarchy with which the current AttributeProjection is associated.
Parameters:
input - Hierarchy

getHierarchy

public Hierarchy getHierarchy()
Returns the Hierarchy with which the current AttributeProjection is associated.
Returns:
Hierarchy

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.

Alter

public java.lang.String Alter(AWConnection connection)
Alters an AttributeSourceExpression 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'.

Create

public java.lang.String Create(AWConnection connection)
Creates an AttributeSourceExpression 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'.

Delete

public java.lang.String Delete(AWConnection connection)
Removes an AttributeSourceExpression from 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.