It works for me.
DataPoints.xcore :
... class KeyValuePair wraps java.util.Map$Entry { String key String value } class KeyValueList { contains KeyValuePair[] entries }
The above result is in the KeyValueListImpl class with the getEntries method, which looks like this:
public EMap<String, String> getEntries() { if (entries == null) { entries = new EcoreEMap<String,String>(DataPointsPackage.Literals.KEY_VALUE_PAIR, KeyValuePairImpl.class, this, DataPointsPackage.KEY_VALUE_LIST__ENTRIES); } return entries; }
source share