« Ves enrere a Secure Tropos Project

Multiple Connectors between 2 Objects

Vista combinada Visió plana Vista en arbre
Fils [ Anterior | Següent ]
toggle
Multiple Connectors between 2 Objects
community relation documentation
Resposta
27/03/14 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?
Adjunt

Adjunts: Question-2.png (99,7k)

RE: Multiple Connectors between 2 Objects
Resposta
19/03/13 12:31 com a respotat a Anònim.
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.