Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
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 18:54 Go to next message
John T.E. Timm is currently offline John T.E. TimmFriend
Messages: 161
Registered: July 2009
Senior Member
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 19:53 Go to previous messageGo to next message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
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 20:41 Go to previous message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
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 19:53 Go to previous message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
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 20:41 Go to previous message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
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.
>>
>
>
Previous Topic:problems in reading an uml/xmi file
Next Topic:Static profile stereotypes not recognized as stereotypes
Goto Forum:
  


Current Time: Thu Apr 25 13:27:02 GMT 2024

Powered by FUDForum. Page generated in 0.04082 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top