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

B14351-01

oracle.AWAction
Class Alter

java.lang.Object
  |
  +--oracle.AWAction.AWAction
        |
        +--oracle.AWAction.Alter

public class Alter
extends AWAction

Alters the text attributes of an object in an analytic workspace. An Alter action can modify the name, short name, long name, or plural name of the object. If the object is at the top level of the object hierarchy, an Alter action can change the schema with which the object is associated.

To specify new text attributes for the object, use the accessor methods of the BaseObject. Use an Alter action to implement the changes in an analytic workspace.

The BaseObject methods that change text attributes are the following:

    setLongName
    setName 
    setPluralName
    setSchema
    setShortName

You can only change the object name once.

See Also:
BaseObject

Constructor Summary
Alter(Interaction input)
Creates an Alter action object in the specified Interaction.

Method Summary
void Execute()
Alters the text attributes of the active object in the current analytic workspace.
java.lang.String WriteToXML()
Gets an XML representation of the Alter object.

Methods inherited from class oracle.AWAction.AWAction
getActiveObject, getOwner, setActiveObject, setOwner

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

Alter

public Alter(Interaction input)
Creates an Alter action object in the specified Interaction.
Parameters:
input - The Interaction that owns the Alter object.

Method Detail

Execute

public void Execute()
Alters the text attributes of the active object in the current analytic workspace.
Overrides:
Execute in class AWAction

WriteToXML

public java.lang.String WriteToXML()
Gets an XML representation of the Alter object.
Overrides:
WriteToXML in class AWAction
Returns:
A String that is an XML representation of the Alter object.

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

B14351-01

Copyright © 2003, 2005 Oracle. All rights reserved.