Skip navigation links
oracle.olapi.syntax
Class AllocationCommand
java.lang.Object
oracle.olapi.syntax.SyntaxObject
oracle.olapi.syntax.BuildCommand
oracle.olapi.syntax.SimpleCommand
oracle.olapi.syntax.SolveStepCommand
oracle.olapi.syntax.AllocationCommand
-
public final class AllocationCommand
- extends SolveStepCommand
A SolveStepCommand
that represents an allocation command in a BuildSpecification
.
Constructor Summary |
AllocationCommand(java.lang.String functionName, FunctionArgument[] args, MdmHierarchy hier)
Creates an AllocationCommand that specifies the allocation of data to the measures of a cube for the specified dimension hierarchy. |
AllocationCommand(java.lang.String functionName, java.util.List<FunctionArgument> args, MdmHierarchy hier)
Creates an AllocationCommand that specifies the allocation of data to the measures of a cube for the specified dimension hierarchy. |
Method Summary |
MdmHierarchy |
getHierarchy()
Gets the hierarchy that is associated with this AllocationCommand . |
java.lang.Object |
visit(SyntaxObjectVisitor visitor, java.lang.Object context)
Calls the visitAllocationCommand method of the SyntaxObjectVisitor and passes that method this AllocationCommand and an Object . |
Methods inherited from class oracle.olapi.syntax.SyntaxObject |
fromSyntax, fromSyntax, fromSyntax, fromSyntax, fromSyntax, isValid, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AllocationCommand
public AllocationCommand(java.lang.String functionName,
FunctionArgument[] args,
MdmHierarchy hier)
- Creates an
AllocationCommand
that specifies the allocation of data to the measures of a cube for the specified dimension hierarchy.
- Parameters:
functionName
- A String
that contains the name of the function to use for the allocation.
args
- An array of FunctionArgument
objects that specify aspects of the allocation.
hier
- The MdmHierarchy
that is the target of the allocation.
AllocationCommand
public AllocationCommand(java.lang.String functionName,
java.util.List<FunctionArgument> args,
MdmHierarchy hier)
- Creates an
AllocationCommand
that specifies the allocation of data to the measures of a cube for the specified dimension hierarchy.
- Parameters:
functionName
- A String
that contains the name of the function to use for the allocation.
args
- A List
of FunctionArgument
objects that specify aspects of the allocation.
hier
- The MdmHierarchy
that is the target of the allocation.
visit
public java.lang.Object visit(SyntaxObjectVisitor visitor,
java.lang.Object context)
- Calls the
visitAllocationCommand
method of the SyntaxObjectVisitor
and passes that method this AllocationCommand
and an Object
.
-
- Specified by:
visit
in class SyntaxObject
-
- Parameters:
visitor
- A SyntaxObjectVisitor
.
context
- An Object
.
- Returns:
- The
Object
returned by the visitAllocationCommand
method.
getHierarchy
public MdmHierarchy getHierarchy()
- Gets the hierarchy that is associated with this
AllocationCommand
.
-
- Returns:
- The
MdmHierarchy
of this AllocationCommand
.
Skip navigation links