Sparx Systems Forum
Enterprise Architect => Suggestions and Requests => Topic started by: Screwtape on September 26, 2014, 06:07:30 pm
-
It appears the GetByName method on collections is content specific, and not implemented for TaggedValues belonging to Connector elements.
Please get it done as it's a real pain to have two different ways of accessing my TaggedValues.
Thanks!
-
I'd say it with Geert's words: write a wrapper (and don't expect Sparx to do it).
q.
-
I'd say it with Geert's words: write a wrapper (and don't expect Sparx to do it).
q.
In fact I never user GetByName because
A) I don't trust it (who knows what it'll do when there are two objects with the same name in my collection)
B) Its probably slower than getting the thing you need using it's ID (not true for tagged values as we don't have a getTaggedValueByGUID operation.)
Geert
-
I've worked around it by iterating over the list, but it's just the inconsistency between the different collection types that seems odd.
-
I've worked around it by iterating over the list, but it's just the inconsistency between the different collection types that seems odd.
So you're trying to say that EA is inconsistent? I'm shocked ;D
q.