[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [m2m-atl-dev] ASMEMFModel load API
|
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
http://dev.eclipse.org/mailman/listinfo/m2m-atl-dev