textuml icon indicating copy to clipboard operation
textuml copied to clipboard

Derivations as constraints violate the UML spec when value is not a boolean

Open abstratt opened this issue 9 years ago • 1 comments

Derivations as constraints violate the UML spec when value is not a boolean.

The ValueSpecification for a Constraint must evaluate to a Boolean value

abstratt avatar Mar 18 '16 14:03 abstratt

It would work if internally we rewrote the user expressions as:

<derivedAttributeName> = <derivationExpression>

basically stating a constraint on what the value can be - IOW, an invariant.

abstratt avatar Mar 18 '16 14:03 abstratt