OntoUML / ontouml-vp-plugin

A plugin for Visual Paradigm to add support for OntoUML modeling and model intelligence services
Apache License 2.0
36 stars 15 forks source link

Does OntoUML support non-sortal moments (i.e., categories, mixins, role mixins, and phase mixins)? #83

Closed brunogcarneiro closed 3 years ago

brunogcarneiro commented 3 years ago

Hello,

In my model, I have a class <> that specializes other class <> but the "model check" functionality don't complains about that.

This make sense? Shouldn't the validation acknowledge this error?

Instances of a <> class are moments while instances of a <> class are substantials. Moment and Substantial are disjoint classes.

claudenirmf commented 3 years ago

Actually, no, the current version of OntoUML does support non-sortal classes of both moments and substantial, even combinations of both (see here).

However, you must set the restrictedTo meta-property properly. A class can only specialize another class that includes the same values of restrictedTo. For example, the restrictedTo of the «mixin» Insured Item is functional-complex, collective, and relator. Thus, you may specialize the class Insured Item into «relator» Employment Contract and «kind» Car without a problem as it includes both functional-complex and relator.

Whenever possible, please share with us a screenshot of the piece you have questions about. That way it easier for us to provide support.

Also, share with us the values of restrictedTo of these classes you mentioned. I would like to check that.