开发者

Polymorphism association in Sybase PowerDesigner

I want to make polymorphism between 4 Entities in Sybase PowerDesigner tool, bu开发者_Go百科t there is no explanation how to do this in conceptual data model.

Can you help me with this?


I think that term "polymorphism" is applicable to Object Oriented Model but not to Conceptual Data Model.

If you want to describe 4 entities with the same behavior you should generate OOM model from CDM model or use inheritance in CDM. But "inheritance" is not the same as "polymorphism".


I'm not sure that CDM is the best practice for "logical/conceptual" analysis. Some years ago I started using OOM Analysis Model instead of CDM. You are be able to use UML notation with OOM Analysis Model but this model is not associated with a concrete language. This kind of model provides the same functionality as CDM, but you use UML-notation. As a result, there are no problems with such OOP terms as inheritance and polymorphism. You are also able also to generate PDM or OOM(Java/C#/...) from OOM Analysis.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜