Skip navigation links

Oracle® OLAP Java API Reference
11g Release 2 (11.2)

E10794-05


oracle.olapi.syntax
Class AssignmentCommand

java.lang.Object
  extended by oracle.olapi.syntax.SyntaxObject
      extended by oracle.olapi.syntax.BuildCommand
          extended by oracle.olapi.syntax.SimpleCommand
              extended by oracle.olapi.syntax.AssignmentCommand


public final class AssignmentCommand
extends SimpleCommand

A SimpleCommand that represents the assignment of values for a measure of an MdmCube or an attribute in a MdmPrimaryDimension for a BuildSpecification.


Constructor Summary
AssignmentCommand(MdmBaseAttribute base, java.util.List<Qualifier> qualifiers, TypedExpression rhsExpression)
          Creates a AssignmentCommand with the specified base expression and dimension member qualifiers.
AssignmentCommand(MdmBaseAttribute base, Qualifier[] qualifiers, TypedExpression rhsExpression)
          Creates a AssignmentCommand with the specified base expression and dimension member qualifiers.
AssignmentCommand(MdmBaseMeasure base, java.util.List<Qualifier> qualifiers, TypedExpression rhsExpression)
          Creates a AssignmentCommand with the specified base expression and dimension member qualifiers.
AssignmentCommand(MdmBaseMeasure base, Qualifier[] qualifiers, TypedExpression rhsExpression)
          Creates a AssignmentCommand with the specified base expression and dimension member qualifiers.

 

Method Summary
 MdmBaseAttribute getBaseAttribute()
          Gets the MdmBaseAttribute to which this AssignmentCommand assigns values.
 MdmBaseMeasure getBaseMeasure()
          Gets the MdmBaseMeasure to which this AssignmentCommand assigns values.
 Qualifier[] getQualifiers()
          Gets the qualifiers of this AssignmentCommand.
 TypedExpression getRHSExpression()
          Gets the expression that specifies the values that this AssignmentCommand assigns.
 MdmDimensionedObject getTarget()
          Gets the MdmBaseAttribute or MdmBaseMeasure to which this AssignmentCommand assigns values.
 java.lang.Object visit(SyntaxObjectVisitor visitor, java.lang.Object context)
          Calls the visitAssignmentCommand method of the SyntaxObjectVisitor and passes that method this AssignmentCommand and an Object.

 

Methods inherited from class oracle.olapi.syntax.SyntaxObject
equals, equals, fromSyntax, fromSyntax, fromSyntax, fromSyntax, fromSyntax, isValid, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax

 

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

 

Constructor Detail

AssignmentCommand

public AssignmentCommand(MdmBaseMeasure base,
                         Qualifier[] qualifiers,
                         TypedExpression rhsExpression)
Creates a AssignmentCommand with the specified base expression and dimension member qualifiers.
Parameters:
base - The MdmBaseMeasure to which you are assigning values.
qualifiers - An array of Qualifier objects that specify members of the dimensions of the measure.
rhsExpression - A TypedExpression that resolves to the value that you want to assign.

AssignmentCommand

public AssignmentCommand(MdmBaseMeasure base,
                         java.util.List<Qualifier> qualifiers,
                         TypedExpression rhsExpression)
Creates a AssignmentCommand with the specified base expression and dimension member qualifiers.
Parameters:
base - The MdmBaseMeasure to which you are assigning values.
qualifiers - A List of Qualifier objects that specify members of the dimensions of the measure.
rhsExpression - A TypedExpression that resolves to the value that you want to assign.

AssignmentCommand

public AssignmentCommand(MdmBaseAttribute base,
                         Qualifier[] qualifiers,
                         TypedExpression rhsExpression)
Creates a AssignmentCommand with the specified base expression and dimension member qualifiers.
Parameters:
base - The MdmBaseAttribute to which you are assigning values.
qualifiers - An array of Qualifier objects that specify members of the dimensions of the attribute.
rhsExpression - A TypedExpression that resolves to the value that you want to assign.

AssignmentCommand

public AssignmentCommand(MdmBaseAttribute base,
                         java.util.List<Qualifier> qualifiers,
                         TypedExpression rhsExpression)
Creates a AssignmentCommand with the specified base expression and dimension member qualifiers.
Parameters:
base - The MdmBaseAttribute to which you are assigning values.
qualifiers - A List of Qualifier objects that specify members of the dimensions of the attribute.
rhsExpression - A TypedExpression that resolves to the value that you want to assign.

Method Detail

visit

public java.lang.Object visit(SyntaxObjectVisitor visitor,
                              java.lang.Object context)
Calls the visitAssignmentCommand method of the SyntaxObjectVisitor and passes that method this AssignmentCommand and an Object.
Specified by:
visit in class SyntaxObject
Parameters:
visitor - A SyntaxObjectVisitor.
context - An Object.
Returns:
The Object returned by the visitAssignmentCommand method.

getBaseMeasure

public MdmBaseMeasure getBaseMeasure()
Gets the MdmBaseMeasure to which this AssignmentCommand assigns values.
Returns:
The MdmBaseMeasure of this AssignmentCommand.

getBaseAttribute

public MdmBaseAttribute getBaseAttribute()
Gets the MdmBaseAttribute to which this AssignmentCommand assigns values.
Returns:
The MdmBaseAttribute of this AssignmentCommand.

getTarget

public MdmDimensionedObject getTarget()
Gets the MdmBaseAttribute or MdmBaseMeasure to which this AssignmentCommand assigns values.
Returns:
The MdmDimensionedObject of this AssignmentCommand.

getQualifiers

public Qualifier[] getQualifiers()
Gets the qualifiers of this AssignmentCommand.
Returns:
An array of Qualifier objects that limit the data of the base expression of this AssignmentCommand.

getRHSExpression

public TypedExpression getRHSExpression()
Gets the expression that specifies the values that this AssignmentCommand assigns.
Returns:
A TypedExpression that evaluates to an expression that specifies the values assigned by this AssignmentCommand.

Skip navigation links

Copyright © 2002, 2010, Oracle. All rights reserved.