开发者

Using AspectJ to extend an Entity

开发者 https://www.devze.com 2023-03-31 07:29 出处:网络
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 attribute

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

精彩评论

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