{quote}Well if you don't mind having some nasty hacks under the hood your persistence engine could materialize an object, let's call it Pager, that would do the job. The code would be something like (keeping in mind that some verifications should be done and are not present in the example):{quote} I reply the same as I did to Mr. Gil. I really think this approach is valid, but not a part of DDD. It is a solution to a specific problem that does not concern business logic. And how about (new E()).getClass(); :D:D:D