Versions Compared

Key

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

...

Xfancy
classrowcaps
Lines 1-5:

Show the attributes of the DataSubset specialization of the WhereClause class:

  • level is assigned as "1" because this is the "top" level of the specification of the selection criterion.
  • order is "1" because level is "1" and this is not a specialization of the Group class.
  • The presence of the compoundExpression attribute indicates that a compound expression is being defined.
Lines 6-7:

Show the attributes of an instance of the CompoundSubsetExpression specialization of the WhereClauseCompoundExpression class (because this is a compound expression within a DataSubset class):

  • The value of the logicalOperator attribute is "AND" which indicates that both sub-clauses specified in the whereClauses attribute have to be satisfied.
  • The whereClause attribute contains two 2 sub-clauses, both represented as instances of the WhereClause class (because these are sub-clauses within a CompoundSubsetExpression class) with "2" as the value of the level attribute (1 greater that than the level of the DataSubset class specifying this compound expression):
    • Lines 8-10: Show the first sub-clause (order = 1) defined as a simple condition.
    • Lines 18-18: Show the second sub-clause (order = 2) defined as another compound expression. 
Lines 19-20:

Show the attributes of an instance of the WhereClauseCompoundExpression class (because this is a compound expression within a WhereClause class):

  • The value of the logicalOperator attribute is "OR" which indicates that either of the sub-clauses specified in the whereClauses attribute has to be satisfied.
  • The whereClause attribute contains two sub-clauses, both of which are simple conditions represented as instances of the WhereClause class (because these are sub-clauses within a WhereClauseCompoundExpression class) with "3" as the value of the level attribute (1 greater that than the level of the WhereClause class specifying this compound expression). The values of the the order attribute are "1" and "2" to order the sub-clauses within this level.

...