Using AspectJ to extend an Entity
How can I use AspectJ to extend an Entity. For example say I have one entity Product with attributes like mfgDate,prodIdentifier. For some cases I would like to extend this entity to add new attributes like year,warranty.
Can I do this using AspectJ? The reason I want to do this is so that I can deliver the generic Product and then ask the other team to extend the generic product using开发者_StackOverflow Aspect.
Thanks
I suppose you're talking about Inter-type Declarations.
精彩评论