Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [xcore] not serialize a specific property
[xcore] not serialize a specific property [message #896365] Wed, 18 July 2012 08:09 Go to next message
Martin Jacob is currently offline Martin JacobFriend
Messages: 185
Registered: July 2009
Senior Member
Hi,

is there a way not to serialize a property of a EMF model? I am using xcore to define my EMF model.

Right now I use @ExtendedMetaData to define the element/attribute names of the XML file. May be
there is a specific annotation to avoid the property serialization?


Martin
Re: [xcore] not serialize a specific property [message #896383 is a reply to message #896365] Wed, 18 July 2012 08:46 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30372
Registered: July 2009
Senior Member
Martin,

Add the keyword "transient" to the declaration.


On 18/07/2012 10:09 AM, Martin Jacob wrote:
> Hi,
>
> is there a way not to serialize a property of a EMF model? I am using
> xcore to define my EMF model.
>
> Right now I use @ExtendedMetaData to define the element/attribute
> names of the XML file. May be there is a specific annotation to avoid
> the property serialization?
>
>
> Martin
Re: [xcore] not serialize a specific property [message #896388 is a reply to message #896383] Wed, 18 July 2012 08:59 Go to previous message
Martin Jacob is currently offline Martin JacobFriend
Messages: 185
Registered: July 2009
Senior Member
Thank Ed!

the declaration is now:
contains transient MyClass property


Ed Merks wrote, On 18.07.2012 10:46:
> Martin,
>
> Add the keyword "transient" to the declaration.
>
>
> On 18/07/2012 10:09 AM, Martin Jacob wrote:
>> Hi,
>>
>> is there a way not to serialize a property of a EMF model? I am using xcore to define my EMF model.
>>
>> Right now I use @ExtendedMetaData to define the element/attribute names of the XML file. May be
>> there is a specific annotation to avoid the property serialization?
>>
>>
>> Martin
>
Previous Topic:ID in derived EClass seems the same in different containments
Next Topic:New child menu entry for EMap and custom dialog
Goto Forum:
  


Current Time: Fri Aug 23 09:16:55 GMT 2019

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

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

Back to the top