Reply To: -

You can define it using the Constraint property of the attribute. Right-click on the desired attribute in the diagram editor, choose Properties from the context menu and enter the constraint into the Constraint box.

You can express the condition in textual way, e.g.:

- 0..10, 'yes' or 'no'

- self >= 0 and self <= 10, self = 'yes' or self = 'no'

Dusan Rodina - softwareideas.net 7 September 2022 16:46:33

New Comment

Comment
You can use these formatting tags: [b]bold[/b] [i]italic[/i] [u]underline[/u] [url]www.example.com[/url] [code]some code[/code] [quote]quoted text[/quote] [list]one list item per line[/list]