Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Volatile feature not being serialized to XML?
Volatile feature not being serialized to XML? [message #418550] Fri, 18 April 2008 08:57 Go to next message
Eclipse UserFriend
Originally posted by: joerg.von.frantzius.artnology.com

This is a multi-part message in MIME format.
--------------050604070903020906050605
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit

Hi,

in my model I have a feature

/**
* @model volatile="true" transient="false"
*/
String getVolatileValue();

Also there is a handwritten method implementation:

public String getVolatileValue() {
return "volatile test value";
}

When I serialize an object of that class to XML, I can't find any trace
of the volatile value. According to "Re: Does volatile imply transient?"
by Frank Budinsky, I was assuming that the value should be serialized?

Thanks for any hints,
J
Re: Volatile feature not being serialized to XML? [message #418554 is a reply to message #418550] Fri, 18 April 2008 10:48 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------040600010508010906050905
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit

J


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Volatile feature not being serialized to XML? [message #418556 is a reply to message #418554] Fri, 18 April 2008 10:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: joerg.von.frantzius.artnology.com

This is a multi-part message in MIME format.
--------------030104080909030701030106
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit

Ed Merks schrieb:
> J
Re: Volatile feature not being serialized to XML? [message #418558 is a reply to message #418556] Fri, 18 April 2008 11:05 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------080009000301060603050408
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit

J


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Xtext (4.3 beta) for EMF resources
Next Topic:Data migration
Goto Forum:
  


Current Time: Fri Apr 26 11:37:22 GMT 2024

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

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

Back to the top