Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The WhereClause class is used to define data selection criteria that are used for the selection and grouping of data for analysis.

Excerpt Include
ARSP:Class Diagram: WhereClauseARSP:
Class Diagram: WhereClause

...

  • The level attribute contains an integer that indicates the level at which the specified condition is being applied, with a value of "1" indicating the "top" level. The level attribute:
    • Has a value of "1" in any instance of a specialization of the WhereClause class where an identifier value is assigned. 
    • Contains a value greater than 1 only in instances of the WhereClause class that are used to define sub-conditions within a compound expression.
  • The order attribute contains an integer to order this instance of the WhereClause class with respect to other other instance of the WhereClause at the same level.
    • When the value of the level attribute is greater than 1 (i.e., this instance of the WhereClause class defines one of the selection criteria being combined in a compound expression), the order attribute defines the order of this instance of the WhereClause class with respect to the other selection criteria with which it is being combined.
    • When the value of the level attribute is "1":
      • In instances of either of the specializations of the Group class, the order attribute is used to define the order of the group with respect to other groups in the grouping factor.
      • In all other situations, the order attribute should have a value of "1".
  • Either:
    • The condition attribute contains the specification of a simple condition represented as an instance of the WhereClauseCondition class, as described in the WhereClauseCondition section.

Or:

...