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

B14351-01

oracle.AWXML
Class AllocationOperator

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

public class AllocationOperator
extends BaseObject

The operator used in an Allocation.

Valid allocation operators are:

    COPY
    HCOPY 
    EVEN
    HEVEN
    PROPORTIONAL
    MAX
    MIN
    FIRST
    LAST
    HFIRST
    HLAST
  

The default allocation operator is EVEN.

For more information about allocation operators, see "RELATION (for allocation)" in the OLAP DML Reference.

See Also:
Allocation

Fields inherited from class oracle.AWXML.BaseObject
DATABASENULL

Constructor Summary
AllocationOperator(BaseObject input)
Creates a new AllocationOperator for the specified Allocation.

Method Summary
java.lang.String getOpcode()
Returns the name of the allocation operator.
OperatorType getOperatorType()
Returns the OperatorType of the allocation operator.
static boolean isAllocationOperator(java.lang.String input)
Indicates if the specified name is a valid allocation operator.
void setOpcode(java.lang.String input)
Sets the allocation operator to the specified name.
void setOperatorType(OperatorType input)
Sets the allocation operator to the specified OperatorType.
java.lang.String WriteToXML()
Returns the AllocationOperator as an XML string.

Methods inherited from class oracle.AWXML.BaseObject
Alter, Create, CreateAfter, CreateBefore, CreateFirst, DataRead, Delete, getColumnName, getId, getLongName, getLongName, getName, getOwner, getPluralName, getPluralName, getSchema, getShortName, getShortName, setColumnName, setLongName, setLongName, setName, setPluralName, setPluralName, setSchema, setShortName, setShortName

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

Constructor Detail

AllocationOperator

public AllocationOperator(BaseObject input)
Creates a new AllocationOperator for the specified Allocation.

The value of the OperatorType is "EVEN".

Parameters:
input - The Allocation that owns the AllocationOperator.

Method Detail

WriteToXML

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

setOperatorType

public void setOperatorType(OperatorType input)
Sets the allocation operator to the specified OperatorType.

The value of the OperatorType is the name of the operator.

Parameters:
input - The OperatorType of the allocation operator.

getOperatorType

public OperatorType getOperatorType()
Returns the OperatorType of the allocation operator.

The value of the OperatorType is the name of the operator.

Returns:
The OperatorType of the allocation operator.

getOpcode

public java.lang.String getOpcode()
Returns the name of the allocation operator.
Returns:
The allocation operator as a String.

setOpcode

public void setOpcode(java.lang.String input)
Sets the allocation operator to the specified name.
Parameters:
input - The allocation operator as a String.

isAllocationOperator

public static boolean isAllocationOperator(java.lang.String input)
Indicates if the specified name is a valid allocation operator.
Parameters:
input - The allocation operator as a String.
Returns:
True if the String is a valid allocation operator, False if not.

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

B14351-01

Copyright © 2003, 2005 Oracle. All rights reserved.