Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: SMaric on November 14, 2011, 09:43:33 pm
-
Can someone please explain the usage of
ConnectorID - The ID of the associated connector.
and
InstanceID - The connector identifier for the current model.
I am finding that these values are identical for some connectors and not for other connectors
-
The ConnectorID is a unique ID for all connectors in the repository. I have no idea what the InstanceID is. Maybe it is used with association classes?
q.
-
A connector may appear on more than one diagram. So in the diagram links table (t_diagramlinks), the connector ID won't be unique; the instance ID will be.
-
A connector may appear on more than one diagram. So in the diagram links table (t_diagramlinks), the connector ID won't be unique; the instance ID will be.
That makes some sort of sense --
So if the connector is ONLY used on a single diagram
Then connector ID == instance ID
?? Correct ??
-
So if the connector is ONLY used on a single diagram
Then connector ID == instance ID
?? Correct ??
No, they're completely different numbers (although if you average one diagram per connector for the life of a model - which is not unreasonable - the numbers will be very close).