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

B12180-01

oracle.AWXML
Class AllocationSolve

java.lang.Object
  |
  +--oracle.AWXML.BaseObject
        |
        +--oracle.AWXML.Solve
              |
              +--oracle.AWXML.AllocationSolve

public class AllocationSolve
extends Solve

A Solve that specifies allocation for a given measure or a group of measures in a cube. Each AllocationSolve specifies a target to hold the allocated values. If you do not designate a source, the target is both source and target, causing the original measure to be overwritten with the results of the allocation. An AllocationSolve uses a base measure that designates the data on which the allocation is based.

Refer to the ALLOCATE command in the OLAP DML Reference for more information.


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

 

Method Summary
 java.lang.String Create(AWConnection connection)
          Creates the current object 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 a Solve from the analytic workspace.
 AllocationDefinition getAllocationDefinition()
           
 Measure getBase()
           
 Measure getSource()
           
 Measure getTarget()
           
 void setAllocationDefinition(AllocationDefinition input)
           
 void setBase(Measure input)
           
 void setSource(Measure input)
           
 void setTarget(Measure input)
           
 java.lang.String WriteToXML()
          Returns the object as an XML string.

 

Methods inherited from class oracle.AWXML.Solve
addDimensionMemberSelection, createDimensionMemberSelection, getDimensionMemberSelection, getId, getParentId, getSolveOrder, readAWMetaData, removeDimensionMemberSelection, setSolveOrder, setSolveOrder

 

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

AllocationSolve

public AllocationSolve()
Default Constructor

AllocationSolve

public AllocationSolve(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

setTarget

public void setTarget(Measure input)
Returns:
 

getTarget

public Measure getTarget()
Returns:
 

setAllocationDefinition

public void setAllocationDefinition(AllocationDefinition input)
Returns:
 

getAllocationDefinition

public AllocationDefinition getAllocationDefinition()
Returns:
 

setSource

public void setSource(Measure input)
Returns:
 

getSource

public Measure getSource()
Returns:
 

setBase

public void setBase(Measure input)
Returns:
 

getBase

public Measure getBase()
Returns:
 

WriteToXML

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

Create

public java.lang.String Create(AWConnection connection)
Description copied from class: BaseObject
Creates the current object in the analytic workspace.
Overrides:
Create in class BaseObject
Returns:
 

CreateFirst

public java.lang.String CreateFirst(AWConnection connection)
Description copied from class: BaseObject
Creates the current object in the analytic workspace first as part of an ordered set of objects.
Overrides:
CreateFirst in class BaseObject
Returns:
 

CreateAfter

public java.lang.String CreateAfter(AWConnection connection,
BaseObject referencedObj)
Description copied from class: BaseObject
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
Returns:
 

CreateBefore

public java.lang.String CreateBefore(AWConnection connection,
BaseObject referencedObj)
Description copied from class: BaseObject
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
Returns:
 

Delete

public java.lang.String Delete(AWConnection connection)
Description copied from class: Solve
Removes a Solve from the analytic workspace.
Overrides:
Delete in class Solve
Returns:
 

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

B12180-01

Copyright © 2003, Oracle. All Rights Reserved.