« 回到Secure Tropos Project

Multiple Connectors between 2 Objects

組合檢視 平均檢視 瀏覽樹狀資料
相關串連 [ 前一個 | 下一個 ]
toggle
Multiple Connectors between 2 Objects
community relation documentation
答覆
2014/3/27 下午 12:31
Some of the connector instances are required to repeat between two objects. For example, there is a message-link connector and ideally it should be possible to add many message-link connectors between the same two objects. Now the platform produces "amodraw-04" error message stating that relation already exists and forbids adding more than one. Is there a way to go around this restriction in some specific cases as this?
附件

附件: Question-2.png (99.7k)

RE: Multiple Connectors between 2 Objects
答覆
2013/3/19 下午 12:31 作為回覆給匿名
Due to the platforms uniqueness condition for relation classes, it is only possible to add exactly ONE relation of the same type between 2 classes in the same direction (as the described behaviour above mentioned).
This means that the intended behaviour can only be reached by adding new connection objects on the actual object. Through the “is-inside” auto-relation, it is also feasible to identify which object is on-top of each other. For this purpose the container object has to be derived from the "__D_aggregation__" abstract meta-class.