[gme-users] GME Metamodel update problem

Attila Vizhanyo viza at isis.vanderbilt.edu
Wed Mar 17 13:24:31 CST 2004


Why is the inheritance relation defined to be directed in GME?
Since the direction is not visualized, it is very confusing for users
to realize the difference between BaseInheritance and
DerivedInheritance.

Isn't it safe to use BaseInheritance whenever a type is connected to
the top corner of the inheritance object, and use DerivedInheritance
when the user connects to the bottom of the inheritance object?

Thanks,
Attila


-----Original Message-----
From: James R. Davis 
Sent: Wednesday, March 17, 2004 13:18
To: gme-users
Subject: RE: [gme-users] GME Metamodel update problem

Stephan,

Your connection between the ConstantData atom and the inheritance object
is of type BaseInheritance where it should be of type
DerivedInheritance.  When using inheritance, always connect from the
base type to the inheritance object and from the inheritance object to
the derived types. 

You should check the constraints on your metamodels before interpreting
-- the constraint manager will catch errors such as these.  

HTH.
----------------- 
James Davis, Ph.D. 
Research Scientist 
Institute for Software Integrated Systems,
http://www.isis.vanderbilt.edu 
(615) 343-7530 
(615) 343-7440 (fax)
james.davis at vanderbilt.edu


-----Original Message-----
From: stephan.heck at daimlerchrysler.com
[mailto:stephan.heck at daimlerchrysler.com]
Sent: Wednesday, March 17, 2004 1:04 PM
To: gme-users
Subject: [gme-users] GME Metamodel update problem






Dear GME-users,

I am using GME since three months now and first I want to say that GME
is
really a great tool!

At the moment I have a weird problem with updating a small metamodel and
I
hope that somebody might help me:

The original CTree Metamodell has got two "instances" of the DataFCO
element ("InputData" and "OutputData"). Everything works fine with this
metamodel.

No I want to add a new ConstantData element with a
constantValue-attribute
at the same level as InputData and OutputData. I Think I did everything
correctly (I also added it to the DataAspect), but I can t see the new
ConstantData element when I create a new model. The
constantValue-attribute
appears as an attribute of the existing InputData and OutputData
elements???

I attached the original CTree metamodel and the modified one to this
maiI.
I am using GME 3.10.13 (I need GReAT).

Thanks in advance for any ideas and help!

Greetings
Stephan

(See attached file: CTModel_original.zip)(See attached file:
CTModel_modified.zip)
_______________________________________________
gme-users mailing list
gme-users at list.isis.vanderbilt.edu
http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users


More information about the gme-users mailing list