epsilonlabs / SACM-UML-Profile

2 stars 0 forks source link

CheckMemberEndTypes OCL #17

Open zolotas4 opened 7 years ago

zolotas4 commented 7 years ago

The original OCL constraint that checks member end types does not work with Dependency relations. We need to think of a general one that will work with any kind of relationships otherwise, allowing the extension of other metaclasses other than the association for edges is not possible (or model validation won't cover everything).

zolotas4 commented 7 years ago

OCL constraints will be generated based on different templates: if the base is association it will have the template we have now, if it is a dependency then we will define another one, etc. So, we will need to discuss and finalize which kind of edges we will support.