开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜