textuml
textuml copied to clipboard
Derivations as constraints violate the UML spec when value is not a boolean
Derivations as constraints violate the UML spec when value is not a boolean.
The ValueSpecification for a Constraint must evaluate to a Boolean value
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.