Skip to content

Selection

Leon Starr edited this page Nov 5, 2023 · 6 revisions

A selection specifies a Restriction Condition which includes the cardinality of the selection and all criteria to be applied.

Here is an example selection statement

Here is the grammar:

CARD

CARD indicates whether one or many instances will be selected. Many means that all instances satisfying the selection criteria will be selected. One will just pick at most one arbitrary instance from among the qualifying instances.

NOTE: Considering allowing a name as well so that any number could be specified. That way you could get the top 3 or top 10 or whatever.

scalar_expr

The complete set of selection critieria is provided as a scalar expression. During metamodel population it will be necessary to validate th expression to verify that attribute names are present and that only defined critiera are expressed.

Introduction

Model semantics

Flows (as Variables)

Constants and literals

Structure of an activity

Accessing the class model

Data flow


Grammar and parsing notes

Components

Clone this wiki locally