From Persistency Questions To EMF … Part 2

Today I had to add one attribute to my persistent filters describe in this previous post.

Thanks to EMF I just added a new getter method in my filter interface with the “@model” tag in the method comment and regenerated all needed stuff and this new attribute was persisted for free.

Using modeling here avoided me to have to update and maintain several classes when I added this new attribute !!!! An other noticable advantage of using EMF.


This entry was posted in Uncategorized by Manuel. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s