[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.modeling.mdt.uml2.ocl] OCL and EMF 2.3 Generics
|
Hi,
I've been looking at how OCL types an ETyped Element with an EGenericType,
using this code:
private void displayOCLType(ETypedElement te, EClass ec) {
TypeResolver tr = new TypeResolverImpl(ec.eResource());
EClassifier oclType = tr.resolve(te.getEType());
String oclTypeName = getName(oclType);
My question is, in 1.1M5 or later, what OCL types will be given to the
following (for example):
a) an ETypedElement with eGenericType "EEList<EEList<CharacterObject>>"
b) In OCLTest.ecore (in the tests plugin, from CVS) the code above does not
return
OrderedSet(Fruit), Set(Fruit), and so on, for the EReference
FruitUtil.orderedSet, and so on.
Am I using the right APIs?
Again, this is not with the aim of opening a bug, but rather I would like to
know the statement of direction for 1.1
Regards,
Miguel