Book a Demo

Author Topic: UML 2 MetaModel (Diagrams)  (Read 7959 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
UML 2 MetaModel (Diagrams)
« on: April 27, 2005, 08:03:35 pm »
Has any kind soul created the UML 2 metamodel diagrams (or knows where they might be found)?

Even a partial implementation would be useful...

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

thomaskilian

  • Guest
Re: UML 2 MetaModel (Diagrams)
« Reply #1 on: April 27, 2005, 11:57:22 pm »
I doubt so. You'd better ask OMG 8)

sargasso

  • EA Practitioner
  • ***
  • Posts: 1406
  • Karma: +1/-2
  • 10 COMFROM 30; 20 HALT; 30 ONSUB(50,90,10)
    • View Profile
Re: UML 2 MetaModel (Diagrams)
« Reply #2 on: April 28, 2005, 12:41:31 am »
Strike me lucky - I thought trying to understand the d*mn things was bad enough - Paolo wants to work with them???

;D
bruce
« Last Edit: April 28, 2005, 12:41:50 am by sargasso »
"It is not so expressed, but what of that?
'Twere good you do so much for charity."

Oh I forgot, we aren't doing him are we.

Mr. Janis Alksnis

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: UML 2 MetaModel (Diagrams)
« Reply #3 on: April 28, 2005, 07:54:50 am »
 :D I'm working on UML 2.0 Infrastructure Library model for last four days...

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: UML 2 MetaModel (Diagrams)
« Reply #4 on: April 29, 2005, 12:24:08 am »
Quote
Strike me lucky - I thought trying to understand the d*mn things was bad enough - Paolo wants to work with them???

 ;D
bruce


See, not just me...  :P

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: UML 2 MetaModel (Diagrams)
« Reply #5 on: April 29, 2005, 12:26:46 am »
Quote
:D I'm working on UML 2.0 Infrastructure Library model for last four days...


Hi Mr Wolf,

Are you intending to include all the elements mentioned in the infrastructure document?  That would be a great service to the modelling community. 8) 8) :)

Could I ask what is motivating you to do this?

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

thomaskilian

  • Guest
Re: UML 2 MetaModel (Diagrams)
« Reply #6 on: April 29, 2005, 01:09:04 am »
Fresh meat ;D

Mr. Janis Alksnis

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: UML 2 MetaModel (Diagrams)
« Reply #7 on: May 04, 2005, 04:07:05 am »
Simply I try to simultaneously learn UML 2.0 and using of EA for modeling...

still doubt about associations and attributes - do associations added create respective attributes when generating code, e.g. C#? ???

thomaskilian

  • Guest
Re: UML 2 MetaModel (Diagrams)
« Reply #8 on: May 04, 2005, 05:34:10 am »
Yes. You can control the creation in the Code Template Editor.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: UML 2 MetaModel (Diagrams)
« Reply #9 on: May 04, 2005, 03:27:58 pm »
Quote
do associations added create respective attributes when generating code, e.g. C#? ???

As Thomas said, the answer is yes, but I just want to clarify that this is effected by some options.

Look at the options dialog. (Tools | Options)

On the Generation page there is "Auto generate role names when creating code" and "Do not generate members where association direction is 'Unspecified'.

Then on the Attribute/Operations page there is "Default name for associated attrib".

I just mention this because these options can stop the Linked Attribute templates from ever being executed.

Simon
« Last Edit: May 04, 2005, 03:28:58 pm by simonm »

SF_lt

  • EA User
  • **
  • Posts: 216
  • Karma: +1/-0
  • The Truth Is Out There
    • View Profile
Re: UML 2 MetaModel (Diagrams)
« Reply #10 on: May 06, 2005, 01:38:06 pm »
actually UML2 metamodels would be very useful, as OMG isn't providing them (yet).

And if you want to use transformations in the MDA style, metamodels are required (or XML schemas)

Guess, that tomorrow I'll need XML schemas, UML profile's XML schemas to do a transformation :-|

If any of UML2 metamodels already done, could they somehow shared?

I'll need class diagram metamodel
« Last Edit: May 06, 2005, 01:38:52 pm by SF_lt »
registertm everything to SparX