Home » Modeling » UML2 » Binding to UML Classes and Ecore Primitive Types
Binding to UML Classes and Ecore Primitive Types [message #478282] |
Fri, 03 April 2009 14:54  |
Eclipse User |
|
|
|
I have defined a template class and would like to bind the template
parameter to other classes in my model and to some of the Ecore Primitive
Types that ultimately map to Java classes (e.g. EBooleanObject,
EIntegerObject, EDoubleObject, etc.). With these Ecore types being modeled
as UML Primitive Types, I am unable to use them if my template parameter
type is set to "Class". Conversely, if I set my template parameter type to
"Primitive Type", then I can no longer bind to other classes in my model.
Does anyone have a solution that will allow me to bind to both of these
things? A similar issue occurs if I try to bind EDoubleObject to the
template parameter of EEList.
Thanks,
JT
NOTE: I originally posted this to uml2tools but then decided that this was
a more appropriate group.
|
|
|
Re: Binding to UML Classes and Ecore Primitive Types [message #478286 is a reply to message #478282] |
Fri, 03 April 2009 15:53   |
Eclipse User |
|
|
|
Hi John,
If I'm not mistaken, this is an issue with the UML spec itself, although I
can't seem to locate the RTF number for the particular OMG issue at this
moment.
Have a look at the following for more information.
http://www.eclipse.org/modeling/mdt/uml2/docs/articles/Defin ing_Generics_with_UML_Templates/article.html
Cheers,
- James.
"John T.E. Timm" <johntimm@us.ibm.com> wrote in message
news:6274539b4c6bbf49c795c40b62bd2eb1$1@www.eclipse.org...
>I have defined a template class and would like to bind the template
>parameter to other classes in my model and to some of the Ecore Primitive
>Types that ultimately map to Java classes (e.g. EBooleanObject,
>EIntegerObject, EDoubleObject, etc.). With these Ecore types being modeled
>as UML Primitive Types, I am unable to use them if my template parameter
>type is set to "Class". Conversely, if I set my template parameter type to
>"Primitive Type", then I can no longer bind to other classes in my model.
>Does anyone have a solution that will allow me to bind to both of these
>things? A similar issue occurs if I try to bind EDoubleObject to the
>template parameter of EEList.
>
> Thanks,
>
> JT
>
> NOTE: I originally posted this to uml2tools but then decided that this was
> a more appropriate group.
>
|
|
|
Re: Binding to UML Classes and Ecore Primitive Types [message #478294 is a reply to message #478286] |
Wed, 08 April 2009 16:41  |
Eclipse User |
|
|
|
This is the OMG issue I was thinking of:
http://www.omg.org/issues/uml2-rtf.open.html#Issue13257
"James Bruck" <jbruck@ca.ibm.com> wrote in message
news:gr5pab$d3e$1@build.eclipse.org...
> Hi John,
>
> If I'm not mistaken, this is an issue with the UML spec itself, although I
> can't seem to locate the RTF number for the particular OMG issue at this
> moment.
>
> Have a look at the following for more information.
> http://www.eclipse.org/modeling/mdt/uml2/docs/articles/Defin ing_Generics_with_UML_Templates/article.html
>
> Cheers,
> - James.
>
> "John T.E. Timm" <johntimm@us.ibm.com> wrote in message
> news:6274539b4c6bbf49c795c40b62bd2eb1$1@www.eclipse.org...
>>I have defined a template class and would like to bind the template
>>parameter to other classes in my model and to some of the Ecore Primitive
>>Types that ultimately map to Java classes (e.g. EBooleanObject,
>>EIntegerObject, EDoubleObject, etc.). With these Ecore types being modeled
>>as UML Primitive Types, I am unable to use them if my template parameter
>>type is set to "Class". Conversely, if I set my template parameter type to
>>"Primitive Type", then I can no longer bind to other classes in my model.
>>Does anyone have a solution that will allow me to bind to both of these
>>things? A similar issue occurs if I try to bind EDoubleObject to the
>>template parameter of EEList.
>>
>> Thanks,
>>
>> JT
>>
>> NOTE: I originally posted this to uml2tools but then decided that this
>> was a more appropriate group.
>>
>
>
|
|
|
Re: Binding to UML Classes and Ecore Primitive Types [message #627476 is a reply to message #478282] |
Fri, 03 April 2009 15:53  |
Eclipse User |
|
|
|
Hi John,
If I'm not mistaken, this is an issue with the UML spec itself, although I
can't seem to locate the RTF number for the particular OMG issue at this
moment.
Have a look at the following for more information.
http://www.eclipse.org/modeling/mdt/uml2/docs/articles/Defin ing_Generics_with_UML_Templates/article.html
Cheers,
- James.
"John T.E. Timm" <johntimm@us.ibm.com> wrote in message
news:6274539b4c6bbf49c795c40b62bd2eb1$1@www.eclipse.org...
>I have defined a template class and would like to bind the template
>parameter to other classes in my model and to some of the Ecore Primitive
>Types that ultimately map to Java classes (e.g. EBooleanObject,
>EIntegerObject, EDoubleObject, etc.). With these Ecore types being modeled
>as UML Primitive Types, I am unable to use them if my template parameter
>type is set to "Class". Conversely, if I set my template parameter type to
>"Primitive Type", then I can no longer bind to other classes in my model.
>Does anyone have a solution that will allow me to bind to both of these
>things? A similar issue occurs if I try to bind EDoubleObject to the
>template parameter of EEList.
>
> Thanks,
>
> JT
>
> NOTE: I originally posted this to uml2tools but then decided that this was
> a more appropriate group.
>
|
|
|
Re: Binding to UML Classes and Ecore Primitive Types [message #627484 is a reply to message #478286] |
Wed, 08 April 2009 16:41  |
Eclipse User |
|
|
|
This is the OMG issue I was thinking of:
http://www.omg.org/issues/uml2-rtf.open.html#Issue13257
"James Bruck" <jbruck@ca.ibm.com> wrote in message
news:gr5pab$d3e$1@build.eclipse.org...
> Hi John,
>
> If I'm not mistaken, this is an issue with the UML spec itself, although I
> can't seem to locate the RTF number for the particular OMG issue at this
> moment.
>
> Have a look at the following for more information.
> http://www.eclipse.org/modeling/mdt/uml2/docs/articles/Defin ing_Generics_with_UML_Templates/article.html
>
> Cheers,
> - James.
>
> "John T.E. Timm" <johntimm@us.ibm.com> wrote in message
> news:6274539b4c6bbf49c795c40b62bd2eb1$1@www.eclipse.org...
>>I have defined a template class and would like to bind the template
>>parameter to other classes in my model and to some of the Ecore Primitive
>>Types that ultimately map to Java classes (e.g. EBooleanObject,
>>EIntegerObject, EDoubleObject, etc.). With these Ecore types being modeled
>>as UML Primitive Types, I am unable to use them if my template parameter
>>type is set to "Class". Conversely, if I set my template parameter type to
>>"Primitive Type", then I can no longer bind to other classes in my model.
>>Does anyone have a solution that will allow me to bind to both of these
>>things? A similar issue occurs if I try to bind EDoubleObject to the
>>template parameter of EEList.
>>
>> Thanks,
>>
>> JT
>>
>> NOTE: I originally posted this to uml2tools but then decided that this
>> was a more appropriate group.
>>
>
>
|
|
|
Goto Forum:
Current Time: Thu Jul 03 06:47:22 EDT 2025
Powered by FUDForum. Page generated in 0.04315 seconds
|