Creating a DataType Instance in ETL [message #1850538] |
Tue, 08 March 2022 00:37  |
Eclipse User |
|
|
|
I have a simple EOL Program which attempts to assign an attribute that has in EDataType based on String. When I assign a String, the program gives me an error.
The value of type 'class java.lang.String' must be of type 'org.eclipse.emf.ecore.impl.EDataTypeImpl@769d9f42 (name: StringAsDatatype) (instanceClassName: String) (serializable: true)'
I would like to know how I can make this assignment. I have a feeling this has worked in the past. Something like this:
datatype StringAsDatatype: String;
class Entity {
attr StringAsDatatype attribute;
}
[Updated on: Tue, 08 March 2022 00:46] by Moderator
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.31743 seconds