[ECL] How to count the number of elements of a model [message #1355458] |
Wed, 14 May 2014 14:47  |
Eclipse User |
|
|
|
Hi Dimitris,
I'd like to meet the following requirements using ECL:
Context:
Left Model has 1 dependency with a supplier of a certain type "Operation"
Right Model has 2 dependencies with the same supplier type as in the Left Model, namely "Operation"
Matching requirements:
Only one of the 2 dependencies of Right Model is counted as a match,
the second dependency of the Right Model is counted as a mismatch, as it is an additional element.
My idea is to count the number of the Left and Right Model dependencies with the same supplier types, in order to compare these numbers.
How can I accomplish this? Does any method exist to do this within a module?
Thanks a lot for your support and kind regards, Alex
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.24848 seconds