Type EAttribute [message #1775320] |
Fri, 27 October 2017 15:18 |
|
Hello All,
I observed the following problem. In my EMF model I have EClass and I would like to add to another EClass an EAttribute that has type of previously defined EClass
EClass Type1 {}
EClass Type2 {
Type1 attribute
}
If user creates POJO. He can write something like this
public class C1 {}
public class C2 {
private C1 c1;
}
In case I try add EAttribute using core model editor the list of available types limited by standard EType (EString, EInt etc.). And I cannot setup type of EAttribute which type is equal previously defined EClass.
Is it standard limitation of EMF?
In view where property of atrribute can be edited there are two fields
EType - contains only default ecore type (EString, EInt etc)
EAttribyteType - but this field is disable
I use EMF 2.12
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03393 seconds