Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Consitency Check
Consitency Check [message #1063586] Thu, 13 June 2013 13:02 Go to next message
Dirk Hoffmann is currently offline Dirk HoffmannFriend
Messages: 163
Registered: July 2009
Senior Member
Hi,

does anybody know of a tool that consistency checks the generated
EPackageImpl's, e.g. checks that all the EStructuralFeature getters
actually return the feature they promise?

Thanks and Regards,
Dirk
Re: Consitency Check [message #1063647 is a reply to message #1063586] Thu, 13 June 2013 15:12 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
Dirk,

No, there isn't such a tool. I'm not sure how it could be inconsistent,
unless you hand modified the generated package initialization code (or
the serialized version being loaded) to make it inconsistent...


On 13/06/2013 3:02 PM, Dirk Hoffmann wrote:
> Hi,
>
> does anybody know of a tool that consistency checks the generated
> EPackageImpl's, e.g. checks that all the EStructuralFeature getters
> actually return the feature they promise?
>
> Thanks and Regards,
> Dirk


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Consitency Check [message #1063654 is a reply to message #1063647] Thu, 13 June 2013 15:22 Go to previous messageGo to next message
Dirk Hoffmann is currently offline Dirk HoffmannFriend
Messages: 163
Registered: July 2009
Senior Member
Hi Ed,

its just that I am a bit concerned about breaking the EPackage's
consistency through source code merge operations.

Regards,
Dirk

Am 13.06.2013 17:12, schrieb Ed Merks:
> Dirk,
>
> No, there isn't such a tool. I'm not sure how it could be inconsistent,
> unless you hand modified the generated package initialization code (or
> the serialized version being loaded) to make it inconsistent...
>
>
> On 13/06/2013 3:02 PM, Dirk Hoffmann wrote:
>> Hi,
>>
>> does anybody know of a tool that consistency checks the generated
>> EPackageImpl's, e.g. checks that all the EStructuralFeature getters
>> actually return the feature they promise?
>>
>> Thanks and Regards,
>> Dirk
>
Re: Consitency Check [message #1063676 is a reply to message #1063654] Thu, 13 June 2013 17:20 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
Dirk,

I see. I don't think the software will function properly if you screw
this up. Too many things, e.g., serialization and deserialization,
simply won't work if the reflective Ecore model is inconsistent.


On 13/06/2013 5:22 PM, Dirk Hoffmann wrote:
> Hi Ed,
>
> its just that I am a bit concerned about breaking the EPackage's
> consistency through source code merge operations.
>
> Regards,
> Dirk
>
> Am 13.06.2013 17:12, schrieb Ed Merks:
>> Dirk,
>>
>> No, there isn't such a tool. I'm not sure how it could be inconsistent,
>> unless you hand modified the generated package initialization code (or
>> the serialized version being loaded) to make it inconsistent...
>>
>>
>> On 13/06/2013 3:02 PM, Dirk Hoffmann wrote:
>>> Hi,
>>>
>>> does anybody know of a tool that consistency checks the generated
>>> EPackageImpl's, e.g. checks that all the EStructuralFeature getters
>>> actually return the feature they promise?
>>>
>>> Thanks and Regards,
>>> Dirk
>>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Separation of generated code
Next Topic:EMF Validation Framework - Documentation
Goto Forum:
  


Current Time: Fri Apr 19 19:28:06 GMT 2024

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

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

Back to the top