Re: Object Constraint Language and Inheritance



Responding to Frank...

To H.S.: I need this constraint for a UML Profile. The company I write
my thesis for has an own metamodel and for that I have to write a UML
Profile. In that metamodel there is a class that has this restriction
and therefore I have to take it over in the Profile.

I afraid I still don't see it. Why would the profile need to restrict whether subclasses can be added? The need for subclasses will be determined by the problem space and the particular problem context. An MDA profile just defines the semantics and techniques for construction of solution models, not specific problem solutions.

At another level, MDA profiles are usually not meta-models. (Though they may define meta-model extensions like stereotypes.) An MDA profile is usually more like an A&D methodology that provides semantic interpretation and construction techniques. For example, "Executable UML" by Mellor and Balcer was one of the first rigorous MDA profiles published (for translation-based development) but there is no meta-model in the book. The profile basically identifies a smallish subset of UML elements that is internally consistent and are rigorously interpreted and then provides construction guidelines for combining those elements. One of those guidelines is to keep inheritance trees simple, but there is no specific limit on the number of levels because that is necessarily dependent on the specific problem context.


*************
There is nothing wrong with me that could
not be cured by a capful of Drano.

H. S. Lahman
hsl@xxxxxxxxxxxxxxxxx
Pathfinder Solutions -- Put MDA to Work
http://www.pathfindermda.com
blog: http://pathfinderpeople.blogs.com/hslahman
(888)OOA-PATH



.



Relevant Pages

  • Re: Object Constraint Language and Inheritance
    ... UML Profiles are defined at level 2 of the ... the semantics of those two contexts (specific OOA/D problem solutions vs. generic data storage) is quite different so one needs a profile to guide each usage. ...
    (comp.object)
  • Re: Open Source Tool for UML 2.0
    ... What sort of tool: Just drawing? ... I doubt that there are any tools that fully support UML 2.0 yet. ... MDA profile that incorporates a subset of UML 2.0 that is internally ... an MDA translation profile. ...
    (comp.object)
  • UML 2.0 and objecteering
    ... I have a work on UML 2.0 and I must add to Objecteering new concepts of UML ... I read on the web that UML Profile ... indications please? ...
    (comp.object)