| [news.eclipse.tools.emf] Re: Serialization: additional date formats |
Another possible approach, depending on how you've defined your model, is to suppress the XGC accessors from the API, but leave them in the Impl as is. Then define EOperation (you'd have to pick a different name that doesn't collide) to get and set the Joda thing and to delegate through the XGC methods in the impl; you can do this feature a body annotation that lets you specify the Java snippet right on the operation definition. This way everything you'd need could be specified right in your model and it would produce working code right out of the box...
I can give some more details if you're interested...
Jason