Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Utility functions in the metaclasses or in external utility plugin?
Utility functions in the metaclasses or in external utility plugin? [message #627703] Fri, 19 June 2009 01:44
Timothy Marc is currently offline Timothy Marc
Messages: 547
Registered: July 2009
Senior Member
Hey all,

just one question for a best practice. Which kind of operations should
be declared in a metamodel (e.g. getAllOwnedElemens() in the UML
Superstructure) and which kind should be imlemented in an external
utility package?

In my case, i have a metamodel for an IOLTS (a directed graph) and for
the metaclasses Graph and State, there a several utility functions like
State::nextState(), Graph::getLastState() etc.

Because i can't see the advantages respectively disadvantages of any of
these both solutions, i hope, that some of you modeling guys may serve
any hints for this questions. Is there any rule of thumb from the
viewpoint of the model driven paradigma, that says: This kind of
operation is a "no go" in a metamodel.... or something else :-)

Thanks
Timothy
Previous Topic:Strategy for loading commercial UML XMI 2.1 (MaicDraw)
Next Topic:EMF and UML versions compatibility in standalone application
Goto Forum:
  


Current Time: Sat Apr 19 21:58:46 EDT 2014

Powered by FUDForum. Page generated in 0.01573 seconds