I have been working with Modelio for a few weeks and I want to limit the lenghts of the data types I use, like the "string" type when I work with a Class Diagram. I want to be able to specify something in the trend of "string min(5) max(128)" or limit the value that can be entered for an integer field, so when I export the XMI file and create my database, that contstraint is included.
I tried with constraints, but the documenation does not give any examples, but only shows you screen shots of where to find the constraints dialog.
How do set I set length of attributes in Modelio?
In order to constraint an attribut, I see two ways: