|
|
|
| Re: Ecore data types for array, vector and list [message #1822727 is a reply to message #1822506] |
Thu, 12 March 2020 05:37  |
Eclipse User |
|
|
|
Hi
Indeed. Java collections have Class equality semantics which is 'wrong'. The OCL collections although implemented by Java classes have the model-wise correct DataType equality semantics. Most of the time OCL and Java are so similar one wonders why bother with OCL rather than Java or Xbase. However when you get to the darker corners OCL is correct for modeling purposes.
All of these subtleties should be irrelevant, since for almost all purposes the standard Ecore multiplicities do everything that you need.
Regards
Ed Willink
|
|
|
Powered by
FUDForum. Page generated in 0.03141 seconds