Skip navigation links

Oracle® OLAP Java API Reference
11g Release 1 (11.1)

B28128-01


oracle.olapi.syntax
Class GroupCommand

java.lang.Object
  extended by oracle.olapi.syntax.SyntaxObject
      extended by oracle.olapi.syntax.BuildCommand
          extended by oracle.olapi.syntax.GroupCommand


public final class GroupCommand
extends BuildCommand

A BuildCommand that represents a group of SimpleCommand objects that operate on the specified MdmBaseMeasure objects when the condition specified by a SymmetricCondition is true.


Constructor Summary
GroupCommand(java.util.List<SimpleCommand> commands, SymmetricCondition whereCondition, java.util.List<MdmBaseMeasure> measures)
          Creates a GroupCommand that has the specified lists of SimpleCommand and MdmBaseMeasure objects, and the specified SymmetricCondition.
GroupCommand(SimpleCommand[] commands, MdmBaseMeasure[] measures)
          Creates a GroupCommand that has the specified arrays of SimpleCommand and MdmBaseMeasure objects.
GroupCommand(SimpleCommand[] commands, SymmetricCondition whereCondition)
          Creates a GroupCommand that has the specified arrays of SimpleCommand objects and the specified SymmetricCondition.
GroupCommand(SimpleCommand[] commands, SymmetricCondition whereCondition, MdmBaseMeasure[] measures)
          Creates a GroupCommand that has the specified arrays of SimpleCommand and MdmBaseMeasure objects, and the specified SymmetricCondition.

 

Method Summary
 SimpleCommand[] getCommands()
          Gets the SimpleCommand objects that are associated this GroupCommand.
 MdmBaseMeasure[] getMeasures()
          Gets the MdmBaseMeasure objects that are associated with this GroupCommand.
 SymmetricCondition getWhereCondition()
          Gets the SymmetricCondition that is associated with this GroupCommand.
 java.lang.Object visit(SyntaxObjectVisitor visitor, java.lang.Object context)
          Calls the visitGroupCommand method of the SyntaxObjectVisitor and passes that method this GroupCommand 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

 

Constructor Detail

GroupCommand

public GroupCommand(SimpleCommand[] commands,
                    SymmetricCondition whereCondition)
Creates a GroupCommand that has the specified arrays of SimpleCommand objects and the specified SymmetricCondition.
Parameters:
commands - An array of SimpleCommand objects.
whereCondition - A SymmetricCondition that specifies the condition upon which the commands execute.

GroupCommand

public GroupCommand(SimpleCommand[] commands,
                    MdmBaseMeasure[] measures)
Creates a GroupCommand that has the specified arrays of SimpleCommand and MdmBaseMeasure objects.
Parameters:
commands - An array of SimpleCommand objects.
measures - An array of MdmBaseMeasure objects.

GroupCommand

public GroupCommand(SimpleCommand[] commands,
                    SymmetricCondition whereCondition,
                    MdmBaseMeasure[] measures)
Creates a GroupCommand that has the specified arrays of SimpleCommand and MdmBaseMeasure objects, and the specified SymmetricCondition.
Parameters:
commands - An array of SimpleCommand objects.
whereCondition - A SymmetricCondition that specifies the condition upon which the commands execute.
measures - An array of MdmBaseMeasure objects.

GroupCommand

public GroupCommand(java.util.List<SimpleCommand> commands,
                    SymmetricCondition whereCondition,
                    java.util.List<MdmBaseMeasure> measures)
Creates a GroupCommand that has the specified lists of SimpleCommand and MdmBaseMeasure objects, and the specified SymmetricCondition.
Parameters:
commands - A List of SimpleCommand objects.
whereCondition - A SymmetricCondition that specifies the condition upon which the commands execute.
measures - A List of MdmBaseMeasure objects.

Method Detail

visit

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

getMeasures

public MdmBaseMeasure[] getMeasures()
Gets the MdmBaseMeasure objects that are associated with this GroupCommand.
Returns:
An array of the MdmBaseMeasure objects associated with this GroupCommand.

getWhereCondition

public SymmetricCondition getWhereCondition()
Gets the SymmetricCondition that is associated with this GroupCommand.
Returns:
The SymmetricCondition associated with this GroupCommand.

getCommands

public SimpleCommand[] getCommands()
Gets the SimpleCommand objects that are associated this GroupCommand.
Returns:
The SimpleCommand objects associated with this GroupCommand.

Skip navigation links

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