Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated description of whereClauses for clarity (ARSP-25)

...

  • The logicalOperator attribute contains a value from the ExpressionLogicalOperatorEnum enumeration:
    • "AND" or "OR" are used in compound expressions that combine 2 or more subclauses, each of which may be a simple condition, another compound expression, or a reference to an instance of an identified WhereClause class (see below).
    • "NOT" is used in compound expressions that negate another (single) subclause. The subclause will be either another compound expression or a reference to an identified WhereClause class (see below). Note that a compound expression should generally not be created to negate a single simple condition; another simple condition using the inverse comparator should be created instead (i.e., using "NE" vs. "EQ", "LT" vs. "GE", "GT" vs. "LE", or "NOTIN" vs. "IN").
  • The whereClauses attribute contains either the 2 or more subclauses being combined by the compound expression, or the single subclause being negated. Each subclause is represented as subclause contains the level and order attributes (to position the subclause relative to other subclauses) and 1 of the following attributes:
    • condition, from an instance of
    either:
    • the WhereClause class , containing a the definition of a condition or defining the subclause as a simple condition,
    • compoundExpression, from an instance of the WhereClause class defining the subclause as another compound expression, or
    • subClauseId, from an instance of one one of the specializations of the ReferencedWhereClause class , containing (see below) and containing the identifier value of a referenced to an instance of an identified WhereClause class.

...

Each instance of a ReferencedWhereClause class contains the level and order attributes (to position the subclause relative to other subclauses) , and the subClauseId attribute which holds the identifier value for the referenced instance of the identified WhereClause class.

...