Questions for all Design By Contract practitioners -問題的所有設計合同練習者-

If my class ( E ) implements three interfaces (A, B & C) and extends class D, each with its own pre-conditions and post-conditions and some invariants.如果我的班級(五)實行三個接口(一, B及C )和擴展的D類,每個國家都有它自己的先決條件和後條件和一些變量。
Class E also has few pre-conditions and post-conditions and some invariants.一流的電子商務也有幾個先決條件和後條件和一些變量。

Pre-conditions can be weakened.先決條件,可以被削弱。 So presumably it is an OR clause binding all the pre-conditions of A, B, C, D & E. The question is in what order?因此,假設這是一個或第約束力的所有先決條件的甲,乙,丙,丁,與五,問題是在什麼順序?

Post-conditions can be strengthened.後的條件,能不能真正得到加強。
So presumably I should AND all the pre-conditions of A, B, C, D & E. Is that correct?因此,假設我要和所有先決條件的甲,乙,丙,丁& e.是正確的呢?

Nothing I could find aboout inheritance of Invariants.沒有我可以找到aboout繼承變量。 How would you join all the invariants of AE classes?你會如何加入所有變量的愛班? AND clause?和第?

Looking forward for your responses….期待著您的反應… … 。