Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2m-atl-dev] Re: ASMEMFModel load API

Same comment for the call to adaptMetamodel

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.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------




                                                                       
             Martin J                                                  
             Bartlett/FSG/CSC                                          
                                                                        To
             02/10/2007 14:02          M2M ATL Developer list          
                                       <m2m-atl-dev@xxxxxxxxxxx>       
                                                                        cc
                                                                       
                                                                   Subject
                                       ASMEMFModel load API(Document link:
                                       Martin J Bartlett)              
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       



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.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------





Back to the top