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

B12180-01

oracle.AWAction
Class AWAction

java.lang.Object
  |
  +--oracle.AWAction.AWAction
Direct Known Subclasses:
Alter, Attach, BuildDatabase, Commit, Create, Delete, Detach

public abstract class AWAction
extends java.lang.Object

Defines an action to perform on an object model in the context of a database connection. When an AWAction object is instantiated, it adds itself to the list of actions already associated with the interaction.

The AWAction class has a method that associates a BaseObject with the action. Each AWAction object inherits the connection context of the interaction.

AWAction objects can be saved as XML.

See Also:
Interaction

Field Summary
protected  BaseObject m_activeObject
           
protected  java.lang.String m_Id
           
protected  Interaction m_owner
           
protected static int s_actionCounter
           
protected static java.lang.String s_EndElementTag
           
protected static java.lang.String s_EndEndTag
           
protected static java.lang.String s_EndStartTag
           
protected static java.lang.String s_EndTag
           
protected static int s_Indent
           
protected static java.lang.String s_JAVA_LINEEND
           
protected static java.lang.String s_NEWLINE
           
protected static java.lang.String s_StartEndTag
           
protected static java.lang.String s_StartStartTag
           

 

Constructor Summary
AWAction(Interaction input)
          Constructor for an AWAction.

 

Method Summary
 void Execute()
          Executes the action.
 BaseObject getActiveObject()
          Returns the active object to which the action applies.
 Interaction getOwner()
          Returns the owner of the action for the specified Interaction.
 void setActiveObject(BaseObject input)
          Sets the active object to which the action applies.
 void setOwner(Interaction input)
          Sets the owner of the action for the specified Interaction.
 java.lang.String WriteToXML()
          Returns the action as an XML string.

 

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

 

Field Detail

m_Id

protected java.lang.String m_Id

m_activeObject

protected BaseObject m_activeObject

m_owner

protected Interaction m_owner

s_EndElementTag

protected static java.lang.String s_EndElementTag

s_StartStartTag

protected static java.lang.String s_StartStartTag

s_StartEndTag

protected static java.lang.String s_StartEndTag

s_EndStartTag

protected static java.lang.String s_EndStartTag

s_EndEndTag

protected static java.lang.String s_EndEndTag

s_EndTag

protected static java.lang.String s_EndTag

s_JAVA_LINEEND

protected static java.lang.String s_JAVA_LINEEND

s_NEWLINE

protected static java.lang.String s_NEWLINE

s_Indent

protected static int s_Indent

s_actionCounter

protected static int s_actionCounter
Constructor Detail

AWAction

public AWAction(Interaction input)
Constructor for an AWAction. Creates a new AWAction for the specified Interaction.
Parameters:
input - Interaction
Method Detail

setOwner

public void setOwner(Interaction input)
Sets the owner of the action for the specified Interaction.
Parameters:
input - Interaction

getOwner

public Interaction getOwner()
Returns the owner of the action for the specified Interaction.
Returns:
Interaction

Execute

public void Execute()
Executes the action.

setActiveObject

public void setActiveObject(BaseObject input)
Sets the active object to which the action applies.
Parameters:
input - BaseObject

getActiveObject

public BaseObject getActiveObject()
Returns the active object to which the action applies.
Returns:
input BaseObject

WriteToXML

public java.lang.String WriteToXML()
Returns the action as an XML string.
Returns:
A String containing the XML that represents the AWAction.

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

B12180-01

Copyright © 2003, Oracle. All Rights Reserved.