public final class GroupCommand extends BuildCommand
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 and Description |
---|
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 . |
Modifier and Type | Method and Description |
---|---|
SimpleCommand[] |
getCommands()
Gets the
SimpleCommand objects that are associated this GroupCommand . |
java.lang.String[] |
getMeasureIDs()
Gets the IDs of the
MdmBaseMeasure objects that are associated with 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 . |
equals, equals, fromSyntax, fromSyntax, fromSyntax, fromSyntax, fromSyntax, isValid, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax
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.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 java.lang.String[] getMeasureIDs()
MdmBaseMeasure
objects that are associated with this GroupCommand
.String
objects that contain the IDs of the 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
.