Error after applying the stereotype EClass to a Class [message #626377] |
Wed, 09 April 2008 14:52 |
Eclipse User |
|
|
|
Originally posted by: markus.heintz.iese.fhg.de
Hi
After applying the sterotype eClass to a UML class, I get the following
error message when I validate the UML model:
The required feature 'base_Interface' of 'EClass -> <<eClass>> <Class> X '
must be set
The required feature 'base_DataType' of 'EClass -> <<eClass>> <Class> X '
must be set
where 'X' is the name of the class.
I tried two things:
1) - I created a UML model using the UML Editor and the diagram editor
- Then I applied the UML Ecore Profile to the model using the UML
Editor
- Then I applied the sterotype EPackage to the root package element.
- Validating the model now shows no error
- When I apply the sterotype EClass to a plain UML class I get the
above mentioned
error messages after validating the model
2) - I exported a valid core ecore model to a UML model. When I validate
the UML model I get the above error messages for every UML class
Since I'm still exploring the UML2 tools and EMF I wonder if I forgot to do
something or made a mistake.
Can anybody give me a hint why I get this error messages?
Thanks a lot
Markus
|
|
|
Powered by
FUDForum. Page generated in 0.03038 seconds