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

B14351-01

oracle.AWXML
Class AllocationArgument

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

public class AllocationArgument
extends BaseObject

An argument to an Allocation.

An AllocationArgument object has one or more Parameter objects. Each parameter consists of a keyword-value pair.

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

See Also:
AllocationDefinition

Fields inherited from class oracle.AWXML.BaseObject
DATABASENULL

Constructor Summary
AllocationArgument(BaseObject input)
Creates an AllocationArgument for the specified Allocation.

Method Summary
void addParameter(Parameter input)
Adds the specified parameter to the AllocationArgument.
Parameter createParameter()
Creates a new parameter for the AllocationArgument.
java.lang.String getArgumentText()
Returns the text of the AllocationArgument.
java.util.Vector getParameters()
Returns the parameters in this AllocationArgument.
void removeParameter(Parameter input)
Removes the specified parameter from the AllocationArgument.
java.lang.String WriteToXML()
Returns the AllocationArgument 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

AllocationArgument

public AllocationArgument(BaseObject input)
Creates an AllocationArgument for the specified Allocation.
Parameters:
input - The Allocation that owns this AllocationArgument.

Method Detail

WriteToXML

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

addParameter

public void addParameter(Parameter input)
Adds the specified parameter to the AllocationArgument.
Parameters:
input - The Parameter to add.

removeParameter

public void removeParameter(Parameter input)
Removes the specified parameter from the AllocationArgument.
Parameters:
input - The Parameter to remove.

getParameters

public java.util.Vector getParameters()
Returns the parameters in this AllocationArgument.
Returns:
A Vector of Parameter objects.

createParameter

public Parameter createParameter()
Creates a new parameter for the AllocationArgument.
Returns:
The new Parameter.

getArgumentText

public java.lang.String getArgumentText()
Returns the text of the AllocationArgument.
Returns:
The text value of the AllocationArgument.

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

B14351-01

Copyright © 2003, 2005 Oracle. All rights reserved.