[gme-users] GME Metamodel update problem

James R. Davis bubba at isis.vanderbilt.edu
Wed Mar 17 13:17:36 CST 2004


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)


More information about the gme-users mailing list