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

B12180-01

oracle.AWXML
Class AttributeProjection

java.lang.Object
  |
  +--oracle.AWXML.BaseObject
        |
        +--oracle.AWXML.Attribute
              |
              +--oracle.AWXML.AttributeProjection

public class AttributeProjection
extends Attribute

Specifies an attribute for a level or a hierarchy.

Attributes apply to dimensions. AttributeProjections apply attributes to levels or hierarchies, which are owned by dimensions.

See Also:
Attribute

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
AttributeProjection(BaseObject input)
          This constructor is used by the Attribute Factory and can be used to create an instance of AttributeProjection owned by the given Attribute.

 

Method Summary
 java.lang.String Create(AWConnection connection)
          Creates this AttributeProjection in the current analytic workspace.
 java.lang.String Delete(AWConnection connection)
          Removes this AttributeProjection from the current analytic workspace.
 Attribute getAttribute()
          Returns the Attribute on which this AttributeProjection is based.
 Hierarchy getHierarchy()
          Returns the Hierarchy to which the AttributeProjection applies.
 Level getLevel()
          Returns the Level to which the AttributeProjection applies.
 void setAttribute(Attribute input)
          Sets the AttributeProjection from the specified Attribute.
 void setHierarchy(Hierarchy input)
          Applies the AttributeProjection to a Hierarchy.
 void setLevel(Level input)
          Applies the AttributeProjection to a Level.
 java.lang.String WriteToXML()
          Returns the AttributeProjection as an XML string.

 

Methods inherited from class oracle.AWXML.Attribute
getClassification, getDataType, getDimensionDomain, setClassification, setDataType, setDimensionDomain

 

Methods inherited from class oracle.AWXML.BaseObject
Alter, 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

AttributeProjection

public AttributeProjection(BaseObject input)
This constructor is used by the Attribute Factory and can be used to create an instance of AttributeProjection owned by the given Attribute.
Parameters:
input - A BaseObject which represents the owner of this object. An AttributeProjection can currently be owned by only an Attribute
Method Detail

WriteToXML

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

setAttribute

public void setAttribute(Attribute input)
Sets the AttributeProjection from the specified Attribute.
Parameters:
input - Attribute

getAttribute

public Attribute getAttribute()
Returns the Attribute on which this AttributeProjection is based.
Returns:
Attribute

setLevel

public void setLevel(Level input)
Applies the AttributeProjection to a Level.
Parameters:
input - Level

getHierarchy

public Hierarchy getHierarchy()
Returns the Hierarchy to which the AttributeProjection applies.
Returns:
Hierarchy

setHierarchy

public void setHierarchy(Hierarchy input)
Applies the AttributeProjection to a Hierarchy.
Parameters:
input - Hierarchyl

getLevel

public Level getLevel()
Returns the Level to which the AttributeProjection applies.
Returns:
Level

Create

public java.lang.String Create(AWConnection connection)
Creates this AttributeProjection in the current analytic workspace.
Overrides:
Create in class Attribute
Parameters:
Connection - The AWConnection that defines the current connection.
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 this AttributeProjection from the current analytic workspace.
Overrides:
Delete in class Attribute
Parameters:
Connection - The AWConnection that defines the current connection.
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.