Re: Object Constraint Language and Inheritance



Hi,

well I understand UML Profiles as a kind of adopting domain specific
problems to general UML. UML Profiles are defined at level 2 of the
4-layer model of the OMG, next to the UML metamodel for example. But
they are used at M1 in addition to standard UML models.
At work I have domain specific metamodel and that should be expressed
by an UML Profile to use it with standard UML tools. In this metamodel
there is a metaclass which cannot be subtyped, exactly which is not
allowed to be subtyped. The express this I need an corresponding
constraint in the UML Profile Stereotype. And therfore I have to
express this with OCL.

Well perhaps there is not essential to prohibit this property
(possibility of creating subclasses) - I'll think about it.

Regards,
Uli

.