Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [Teneo] Storing EStructuralFeatures from their containing generated packages
[Teneo] Storing EStructuralFeatures from their containing generated packages [message #603670] Thu, 15 March 2007 01:55
Didier Villevalois is currently offline Didier VillevaloisFriend
Messages: 86
Registered: July 2009
Hello again Martin,

I have EStructuralFeatures as part of the model I'd like to store in
Teneo. However, I'd like Teneo to use the static instances of these
features from their corresponding generated packages.

Let me explain my use case, if you don't mind:

1) Web is dug for data, data are put in model objects, and stored. As
part of this import process, reports are made for the
uncertainty/reliability of those created model objects. Those reports
are also stored.

2) Changes of those model objects are tracked (hand-edit, merge with
imports from other data sources...) and those changes are also stored.

Both reports and changes (for the later i used Ecore Change package)
references EStructuralFeatures.

However, those reports and change descriptions are contributed by third
party code. And i wish that they do not have to query the database to
retrieve the feature instances but instead use the static ones from the
generated packages.

I look a bit in the Teneo code, tried to debug a bit. But all this seems
confusing to me.

Should I specialize the mapping of features to indicate Teneo that an
EPackage is unique based on its nsURI and that a ENamedElement is unique
in a package based on its name. But how would Teneo recognize the static
instances of the generated packages as its instances ?

Could you give some hints as how to do this ? Or maybe is there already
support for this ?
Thanks for your help. Didier.
Previous Topic:[Teneo] Log output
Next Topic:[Teneo] org.eclipse.emf.teneo.hibernate.mapper/model not included in sources builds
Goto Forum:

Current Time: Sat Oct 24 01:27:22 GMT 2020

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

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

Back to the top