|
Oracle® OLAP Java API Reference 11g Release 1 (11.1) B28128-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.olapi.syntax.SyntaxObject
oracle.olapi.syntax.BuildCommand
oracle.olapi.syntax.GroupCommand
public final class GroupCommand
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 |
---|
public GroupCommand(SimpleCommand[] commands, SymmetricCondition whereCondition)
GroupCommand
that has the specified arrays of SimpleCommand
objects and the specified SymmetricCondition
.
commands
- An array of SimpleCommand
objects.whereCondition
- A SymmetricCondition
that specifies the condition upon which the commands execute.public GroupCommand(SimpleCommand[] commands, MdmBaseMeasure[] measures)
GroupCommand
that has the specified arrays of SimpleCommand
and MdmBaseMeasure
objects.
commands
- An array of SimpleCommand
objects.measures
- An array of MdmBaseMeasure
objects.public GroupCommand(SimpleCommand[] commands, SymmetricCondition whereCondition, MdmBaseMeasure[] measures)
GroupCommand
that has the specified arrays of SimpleCommand
and MdmBaseMeasure
objects, and the specified SymmetricCondition
.
commands
- An array of SimpleCommand
objects.whereCondition
- A SymmetricCondition
that specifies the condition upon which the commands execute.measures
- An array of MdmBaseMeasure
objects.public GroupCommand(java.util.List<SimpleCommand> commands, SymmetricCondition whereCondition, java.util.List<MdmBaseMeasure> measures)
GroupCommand
that has the specified lists of SimpleCommand
and MdmBaseMeasure
objects, and the specified SymmetricCondition
.
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 |
---|
public java.lang.Object visit(SyntaxObjectVisitor visitor, java.lang.Object context)
visitGroupCommand
method of the SyntaxObjectVisitor
and passes that method this GroupCommand
and an Object
.visit
in class SyntaxObject
visitor
- A SyntaxObjectVisitor
.context
- An Object
.Object
returned by the visitGroupCommand
method.public MdmBaseMeasure[] getMeasures()
MdmBaseMeasure
objects that are associated with this GroupCommand
.MdmBaseMeasure
objects associated with this GroupCommand
.public SymmetricCondition getWhereCondition()
SymmetricCondition
that is associated with this GroupCommand
.SymmetricCondition
associated with this GroupCommand
.public SimpleCommand[] getCommands()
SimpleCommand
objects that are associated this GroupCommand
.SimpleCommand
objects associated with this GroupCommand
.
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |