claeis / umleditor

6 stars 11 forks source link

Eindeutigkeitsbedingungen auf den einzelnen Transfer #72

Closed claeis closed 9 months ago

claeis commented 1 year ago

Bei UniquenessConstraint und SetConstraint das Schlüsselwort BASKET

claeis commented 1 year ago

wird durch den ili2c in Text übersetzt und als Text im umleditor gespeichert/verwaltet.

Muss nur getestet werden

olivergrimm commented 1 year ago

Test (umleditor-3.9.1-20230615.130603-2):

Import aus 2.4-Modell:

Ausgangslage:

UNIQUE (BASKET) attr1;
SET CONSTRAINT (BASKET) ConstraintTwo : WHERE attr2 == #b :  INTERLIS.objectCount(ALL) >= 2;

Resultat:

Keine Interpretation von (BASKET): image

bzw. image

Export:

funktioniert

patrickackermann commented 11 months ago

ili2c wird in https://github.com/claeis/ili2c/pull/100 entsprechend angepasst. Im umleditor muss die ili2c version dann angepasst werden.