[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [m2m-atl-dev] ASMEMFModel load API
|
Yeah - actually I subclassed and did that in the subclass - still trying to
get over my bugs GETTING to that bit at the moment :-) Once I've done that
I'll be into "similar" code to what you'll be replacing - once I've got
that working I'll sync to your mods and then test your mods.
Martin
CSC Financial Services SAS
Registered Office: 14 Place de la Coupole, Axe Liberté, 94220 Charenton Le
Pont, France
Registered in France: RCS Créteil B 323 127 332
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery.
NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
any order or other contract unless pursuant to explicit written agreement
or government initiative expressly permitting the use of e-mail for such
purpose.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Dennis Wagelaar
<dennis.wagelaar@
vub.ac.be> To
Sent by: M2M ATL Developer list
m2m-atl-dev-bounc <m2m-atl-dev@xxxxxxxxxxx>
es@xxxxxxxxxxx cc
Subject
02/10/2007 16:19 Re: [m2m-atl-dev] ASMEMFModel load
API
Please respond to
M2M ATL Developer
list
<m2m-atl-dev@ecli
pse.org>
The calls to addAllReferencedExtents() and adaptMetamodel() are only
useful for meta-models. I suppose we haven't come across a situation
where we load a meta-model via its extent (they're normally registered).
That said, I think you're right. To be consistent, we should call those
methods in the load-via-extent method. I can make the changes, but we'll
need some testers (I don't have test cases that covers this
loadASMEMFModel method). Can you come up with a test case for this?
--
Regards,
Dennis
Martin J Bartlett schreef:
> I note that there is (now) a very handy
>
> public static ASMEMFModel loadASMEMFModel(String name, ASMEMFModel
> metamodel, Resource extent, ModelLoader ml)
>
> with which an existing resource can be loaded into an ASMModel. However,
I
> also note that when ATL does its own resource creation/load it does
> ret.addAllReferencedExtents(ret.getExtent());
>
> before returning the ASMModel. Is this call not also necessary when just
> taking a pre-built resource?
>
> Martin
> CSC Financial Services SAS
> Registered Office: 14 Place de la Coupole, Axe Liberté, 94220 Charenton
Le
> Pont, France
> Registered in France: RCS Créteil B 323 127 332
>
>
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> This is a PRIVATE message. If you are not the intended recipient, please
> delete without copying and kindly advise us by e-mail of the mistake in
> delivery.
> NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
> any order or other contract unless pursuant to explicit written agreement
> or government initiative expressly permitting the use of e-mail for such
> purpose.
>
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>
> _______________________________________________
> m2m-atl-dev mailing list
> m2m-atl-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/m2m-atl-dev
>
_______________________________________________
m2m-atl-dev mailing list
m2m-atl-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2m-atl-dev