Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Generalization from EClass in another Eclipse Project
Generalization from EClass in another Eclipse Project [message #508423] Mon, 18 January 2010 17:34
No real name is currently offline No real nameFriend
Messages: 14
Registered: December 2009
Junior Member
Hi NG,
once more I'm a little bit confused. Context:
I have got an Eclipse project de.sth.common. It contains a folder with
my models (common.uml, common.umlclass etc.). Within this model there's
a class BaseEntity. There's common.genmodel generating the packages
de.sth.common, de.sth.common.impl.

Now I have another Eclipse project de.sth.app with its own model
directory (app.uml, app.umlclass etc.). Project de.sth.common is
included in java build path under 'Required projects'. Within this
project (de.sth.app) there's another class SpecializedEntity, that
should be a generalization of BaseEntity.
Also within this project there's a app.genmodel generating the packages
de.sth.app, de.sth.app.impl.

How can I achieve this generalization without generating the already
existing implementation classes from de.sth.common.impl?

More precisly:
1) I create a Class stereotyped as EClass, Instance Class Name =
de.sth.common.BaseEntity -> no interface is generated by genmodel, but
an implementation class de.sth.app.impl.BaseEntityImpl (with a lot of
errors in the factories (new operation is, of course, not available)
2) I create a PrimitiveType stereotyped as EDataType, Instance Class
Name = see above. Great: No interface and no implementation class is
generated, BUT this primitive type is not generalizable
3) Element Import of common::BaseEntity -> genmodel now needs reference
to common.uml and generates the hole tree of common.uml in my new
project once more
4) DataType stereotyped as EClass or EDataType -> see 1)
5) Interface stereotyped as EClass -> see 2)

I would be very grateful for your help, thanks a lot
Previous Topic:There may not be two classifiers names 'xyz'
Next Topic:Generalization from EClass in another Eclipse Project
Goto Forum:
  


Current Time: Tue Dec 23 02:17:01 GMT 2014

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

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