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

B12180-01

oracle.AWXML
Class ModelDimRef

java.lang.Object
  |
  +--oracle.AWXML.BaseObject
        |
        +--oracle.AWXML.ModelDimRef

public class ModelDimRef
extends BaseObject

A dimension referenced in a model.


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
ModelDimRef(BaseObject input)
          Constructor that takes the owner of this object.

 

Method Summary
 java.lang.String Create(AWConnection connection)
          Creates a new ModelDimRef in the analytic workspace.
 java.lang.String CreateAfter(AWConnection connection, BaseObject referencedObj)
          Creates the current object in the analytic workspace as part of an ordered set of objects after the specified object.
 java.lang.String CreateBefore(AWConnection connection, BaseObject referencedObj)
          Creates the current object in the analytic workspace as part of an ordered set of objects before the specified object.
 java.lang.String CreateFirst(AWConnection connection)
          Creates the current object in the analytic workspace first as part of an ordered set of objects.
 java.lang.String Delete(AWConnection connection)
          Removes the object from the analytic workspace.
 Dimension getDimension()
          Returns the dimension reference.
 void setDimension(Dimension input)
          Sets the dimension reference.
 java.lang.String WriteToXML()
          Returns the object as an XML string.

 

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

ModelDimRef

public ModelDimRef(BaseObject input)
Constructor that takes the owner of this object.
Parameters:
input - BaseObject that is the owner of this object in the object model
Method Detail

setDimension

public void setDimension(Dimension input)
Sets the dimension reference.
Parameters:
input - Dimension

getDimension

public Dimension getDimension()
Returns the dimension reference.
Returns:
Dimension

WriteToXML

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

Create

public java.lang.String Create(AWConnection connection)
Creates a new ModelDimRef in the analytic workspace.
Overrides:
Create in class BaseObject
Parameters:
connection - AWConnection
Returns:
String containing "success" if successful

CreateFirst

public java.lang.String CreateFirst(AWConnection connection)
Creates the current object in the analytic workspace first as part of an ordered set of objects.
Overrides:
CreateFirst in class BaseObject
Parameters:
connection - An AWConnection that represents the current OLAP session
Returns:
String containing "success" if successful

CreateAfter

public java.lang.String CreateAfter(AWConnection connection,
BaseObject referencedObj)
Creates the current object in the analytic workspace as part of an ordered set of objects after the specified object.
Overrides:
CreateAfter in class BaseObject
Parameters:
connection - An AWConnection that represents the current OLAP session
referencedObj - A BaseObject that represents where in the ordered collection to insert the new object.
Returns:
String containing "success" if successful

CreateBefore

public java.lang.String CreateBefore(AWConnection connection,
BaseObject referencedObj)
Creates the current object in the analytic workspace as part of an ordered set of objects before the specified object.
Overrides:
CreateBefore in class BaseObject
Parameters:
connection - An AWConnection that represents the current OLAP session
referencedObj - A BaseObject that represents where in the ordered collection to insert the new object.
Returns:
String containing "success" if successful

Delete

public java.lang.String Delete(AWConnection connection)
Removes the object from the analytic workspace.
Overrides:
Delete in class BaseObject
Parameters:
connection - AWConnection
Returns:
String containing "success" if successful

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

B12180-01

Copyright © 2003, Oracle. All Rights Reserved.