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

B14351-01

oracle.AWAction
Class Attach

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

public class Attach
extends AWAction

Attaches an analytic workspace.


Constructor Summary
Attach(Interaction input)
Creates an Attach action object in the specified Interaction.
Attach(java.lang.String input)
Specifies an analytic workspace by name as the analytic workspace to attach.

Method Summary
void Execute()
Attaches the analytic workspace.
java.lang.String getAWName()
Gets the name of the analytic workspace.
java.lang.String getMode()
Gets the attach mode specified for the analytic workspace.
void setActiveObject(BaseObject input)
Specifies an analytic workspace as the active object to attach.
void setAWName(java.lang.String input)
Specifies an analytic workspace by name as the analytic workspace to attach.
void setMode(java.lang.String input)
Specifies the attach mode for the analytic workspace.
java.lang.String WriteToXML()
Gets an XML representation of the Attach object.

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

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

Constructor Detail

Attach

public Attach(java.lang.String input)
Specifies an analytic workspace by name as the analytic workspace to attach. An analytic workspace specified as the active object by the setActiveObject method takes precedence over an analytic workspace specified by this method as the analytic workspace to attach.
Parameters:
input - A String that has the name of the analytic workspace to attach.

Attach

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

Method Detail

setMode

public void setMode(java.lang.String input)
Specifies the attach mode for the analytic workspace. The attach modes are read/write or read-only.
Parameters:
input - A String that contains RW to attach the workspace in read/write mode or RO to attach the workspace in read-only mode.

getMode

public java.lang.String getMode()
Gets the attach mode specified for the analytic workspace. The attach modes are read/write or read-only.
Returns:
A String that contains RW for read/write mode or RO for read-only mode.

setActiveObject

public void setActiveObject(BaseObject input)
Specifies an analytic workspace as the active object to attach. An analytic workspace specified by this method takes precedence over one specified by the setAWName method as the analytic workspace to attach.
Overrides:
setActiveObject in class AWAction
Parameters:
input - The AW object to attach.

setAWName

public void setAWName(java.lang.String input)
Specifies an analytic workspace by name as the analytic workspace to attach. An analytic workspace specified as the active object by the setActiveObject method takes precedence over an analytic workspace specified by this method as the analytic workspace to attach.
Parameters:
input - A String that has the name of the analytic workspace to attach.

getAWName

public java.lang.String getAWName()
Gets the name of the analytic workspace.
Returns:
A String that has the name of the analytic workspace to attach.

Execute

public void Execute()
Attaches the analytic workspace.
Overrides:
Execute in class AWAction

WriteToXML

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

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

B14351-01

Copyright © 2003, 2005 Oracle. All rights reserved.