|[Teneo] Storing EStructuralFeatures from their containing generated packages [message #603670]
||Thu, 15 March 2007 01:55
| Didier Villevalois
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)
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
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.
Powered by FUDForum
. Page generated in 0.07604 seconds