Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Error after applying the stereotype EClass to a Class
Error after applying the stereotype EClass to a Class [message #626377] Wed, 09 April 2008 14:52
Eclipse UserFriend
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
Previous Topic:Re: Derive constraints
Next Topic:Erroneous Constraint in 17.5.3 TemplateBinding
Goto Forum:
  


Current Time: Thu Apr 25 10:38:32 GMT 2024

Powered by FUDForum. Page generated in 0.03038 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top