Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Serialization Order
Serialization Order [message #430581] Wed, 27 May 2009 23:01 Go to next message
John T.E. Timm is currently offline John T.E. TimmFriend
Messages: 161
Registered: July 2009
Senior Member
I have run into a situation where serialization order is important. Is
there a way to specify the serialization order of EReferences and
EAttributes within an EClass via annotations or otherwise?

Thanks,

JT
Re: Serialization Order [message #430582 is a reply to message #430581] Thu, 28 May 2009 00:17 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
John,

Generally the order of the features within the EClass will be
respected. If you define a model as an XML Schema, the corresponding
Ecore model will produce results that respect order properly, so that's
one approach to look into...


John T.E. Timm wrote:
> I have run into a situation where serialization order is important. Is
> there a way to specify the serialization order of EReferences and
> EAttributes within an EClass via annotations or otherwise?
>
> Thanks,
>
> JT
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Dynamic EMF: the feature 'xyz' is not a valid feature
Next Topic:Customizing ExtendedComboBoxCellEditor?
Goto Forum:
  


Current Time: Thu Apr 25 07:13:52 GMT 2024

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

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

Back to the top