[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.modeling.mdt.uml2] Re: UML2Ecore converter
|
Chokri,
Primitive types in aren't generally supposed to have operations in UML
(althought they tend to have "intrinsic" operations defined for them outside
of UML, e.g. mathematically), AFAIK. If you use an instance of UML DataType
instead, it will be converted to an Ecore class as expected...
Kenn
"Chokri Mraidha" <Chokri.Mraidha@xxxxxx> wrote in message
news:gvgqk3$9vm$1@xxxxxxxxxxxxxxxxxxxx
> Hi,
>
> I am using UML 2 Ecore converter from UML2 editor menu. In my UML model I
> have a PrimitiveType owning an operation. This type is converted to an
> EDataType which can't own operations. I would like to convert this
> PrimitiveType to an EClass in order to keep its operations in the Ecore
> model and in the geenrated Java code. I have tried to stereotype this
> PrimitiveType by the EClass stereotype, but this has no effect on the
> convertion process.
> Is it possible to parameterize the converter?
>
> Cheers,
>
> Chokri
>
>
>