Skip to content
Leon Starr edited this page Aug 13, 2022 · 6 revisions

R877 / M:Mc-M

Restriction compares one or many Attribute

Attribute is compared in zero, one or many Restriction Criterion


By definition, a Restriction Criterion compares the value of one Attribute of an instance and yields a true or false value. See the Restriction Criterion subclass descriptions for more detail on how such comparisons are made.

The same Attribute could be compared in multiple Criterion within the same Restriction. See R881 for an example.

A given Attribute may or may not be involved in any number of comparisons.

Formalization

Restriction Criterion.(Attribute, Class, Domain) -> Attribute.(Name, Class, Domain)
Restriction Criterion.(Select action, Activity, Class, Domain) -> Restriction.(Select action, Activity, Class, Domain)

Since the Class referential attribute simultaneously references both the Attribute and Restriction Class attributes, we enforce the constraint that all Attributes compared in a Restriction's criteria belong to the same Class.

Clone this wiki locally