Home » Modeling » UML2 » Re: Ecore2UMLProfile
Re: Ecore2UMLProfile [message #476663] |
Thu, 22 November 2007 13:05 |
Ed Merks Messages: 33140 Registered: July 2009 |
Senior Member |
|
|
This is a multi-part message in MIME format.
--------------080205000606010605000303
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
Swetha,
This is a question about UML so I've redirected it to the UML newsgroup
by adding that group to the "to" list of the reply so there is no need
to repost. Using Thunderbird you can address multiple newsgroup in a
single posting but the web client doesn't support that. 209794
<https://bugs.eclipse.org/bugs/show_bug.cgi?id=209794>
Swetha wrote:
> Hi,
>
> I am trying to convert a UMLModel,UMLProfile to Ecore model.
> I have the following issues:
>
> 1)I am of the understanding that UML Stereotype is converted to Ecore
> EClass
> and UML Profile is converted to Ecore EPackage(as mentioned in this
> site on 26/11/07 mail).How do i store this information regarding
> wheather it is an Stereotype or Profile, so that while converting back
> this Ecore Model to UMLModel or UML Profile,i should be able access
> all the information.
>
> Scenario 1: UMLProfile(Input)-->EPackage(Output)
> UMLPackage(Input)-->EPackage(Output)
>
> EPackage(Input)-->UMLProfile(Output)
> EPackage(Input)-->UMLPackage(Output)
>
> Scenario 2: Stereotype(Input)-->EClass(Output)
> Class(Input)-->EClass(Output)
>
> EClass(Input)-->Stereotype(Output)
> EClass(Input)-->Class(Output)
>
> 2)I have done the transformation using ATL,is there a way to include
> multiple newsgroup.
>
> Hoping a reply at the earliest.
> Thanks in advance.
>
> Regards,
> Swetha.
>
>
--------------080205000606010605000303
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Swetha,<br>
<br>
This is a question about UML so I've redirected it to the UML newsgroup
by adding that group to the "to" list of the reply so there is no need
to repost.
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Re: Ecore2UMLProfile [message #476666 is a reply to message #476663] |
Fri, 23 November 2007 16:29 |
james bruck Messages: 1724 Registered: July 2009 |
Senior Member |
|
|
This is a multi-part message in MIME format.
------=_NextPart_000_0009_01C82DC4.267F5C60
Content-Type: text/plain;
charset="ISO-8859-15"
Content-Transfer-Encoding: quoted-printable
Hi Swetha, Ed,
One way to store information indicating that your EClass corresponds to =
a stereotype would be to create an EAnnotation and save information in =
that annotation. You can modify the UML2Ecore converter to produce =
the proper annotation, or to use the newly enhanced Ecore Profile (that =
supports addition of EAnnotations).
You could then specialize the Ecore2UML converter to take into account =
the annotation when deciding to create a uml::Class or a =
uml::Stereotype.
You can essentially store whatever information you want in an annotation =
and use it in whatever manner you wish during the conversion process.
Regards,
- James. =20
"Ed Merks" <merks@ca.ibm.com> wrote in message =
news:fi3urh$1ds$1@build.eclipse.org...
Swetha,
This is a question about UML so I've redirected it to the UML =
newsgroup by adding that group to the "to" list of the reply so there is =
no need to repost. Using Thunderbird you can address multiple newsgroup =
in a single posting but the web client doesn't support that. 209794
Swetha wrote:=20
Hi,=20
I am trying to convert a UMLModel,UMLProfile to Ecore model.=20
I have the following issues:=20
1)I am of the understanding that UML Stereotype is converted to =
Ecore EClass=20
and UML Profile is converted to Ecore EPackage(as mentioned in this =
site on 26/11/07 mail).How do i store this information regarding =
wheather it is an Stereotype or Profile, so that while converting back =
this Ecore Model to UMLModel or UML Profile,i should be able access all =
the information.=20
Scenario 1: UMLProfile(Input)-->EPackage(Output)=20
UMLPackage(Input)-->EPackage(Output)=20
EPackage(Input)-->UMLProfile(Output)=20
EPackage(Input)-->UMLPackage(Output)=20
Scenario 2: Stereotype(Input)-->EClass(Output)=20
Class(Input)-->EClass(Output)=20
EClass(Input)-->Stereotype(Output)=20
EClass(Input)-->Class(Output)=20
2)I have done the transformation using ATL,is there a way to include =
multiple newsgroup.=20
Hoping a reply at the earliest.=20
Thanks in advance.=20
Regards,=20
Swetha.=20
------=_NextPart_000_0009_01C82DC4.267F5C60
Content-Type: text/html;
charset="ISO-8859-15"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type =
content=3Dtext/html;charset=3DISO-8859-15>
<META content=3D"MSHTML 6.00.2900.3157" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY text=3D#000000 bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi Swetha, Ed,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>One way to store information indicating =
that your=20
EClass corresponds to a stereotype would be to create =
an EAnnotation and=20
save information in that annotation. You can modify =
the=20
UML2Ecore converter to produce the proper annotation, or to use the =
newly=20
enhanced Ecore Profile (that supports addition of =
EAnnotations).</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>You could then specialize the Ecore2UML =
converter=20
to take into account the annotation when deciding to create a uml::Class =
or a=20
uml::Stereotype.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>You can essentially store whatever =
information you=20
want in an annotation and use it in whatever manner you wish during the=20
conversion process.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Regards,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>- James.</FONT><FONT face=3DArial=20
size=3D2> </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial =
size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Ed Merks" <<A =
href=3D"mailto:merks@ca.ibm.com">merks@ca.ibm.com</A>>=20
wrote in message <A=20
=
href=3D"news:fi3urh$1ds$1@build.eclipse.org">news:fi3urh$1ds$1@build.ecli=
pse.org</A>...</DIV>Swetha,<BR><BR>This=20
is a question about UML so I've redirected it to the UML newsgroup by =
adding=20
that group to the "to" list of the reply so there is no need to =
repost. =20
Using Thunderbird you can address multiple newsgroup in a single =
posting but=20
the web client doesn't support that. <A=20
title=3D"NEW - The web-based newsgroup portal doesn't support posting =
to more than one newsgroup"=20
=
href=3D"https://bugs.eclipse.org/bugs/show_bug.cgi?id=3D209794">209794</A=
><BR><BR><BR>Swetha=20
wrote:=20
<BLOCKQUOTE =
cite=3Dmid:77011c37c46882bb7942f2d452089266$1@www.eclipse.org=20
type=3D"cite">Hi, <BR><BR>I am trying to convert a UMLModel,UMLProfile =
to=20
Ecore model. <BR>I have the following issues: <BR><BR>1)I am of the=20
understanding that UML Stereotype is converted to Ecore EClass =
<BR>and UML=20
Profile is converted to Ecore EPackage(as mentioned in this site on =
26/11/07=20
mail).How do i store this information regarding wheather it is an =
Stereotype=20
or Profile, so that while converting back this Ecore Model to =
UMLModel or=20
UML Profile,i should be able access all the information. =
<BR><BR>Scenario=20
1: UMLProfile(Input)-->EPackage(Output)=20
<BR>UMLPackage(Input)-->EPackage(Output)=20
<BR><BR>EPackage(Input)-->UMLProfile(Output)=20
<BR>EPackage(Input)-->UMLPackage(Output) <BR><BR>Scenario=20
2: Stereotype(Input)-->EClass(Output)=20
<BR>Class(Input)-->EClass(Output)=20
<BR><BR>EClass(Input)-->Stereotype(Output)=20
<BR>EClass(Input)-->Class(Output) <BR><BR>2)I have done the=20
transformation using ATL,is there a way to include multiple =
newsgroup.=20
<BR><BR>Hoping a reply at the earliest. <BR>Thanks in advance.=20
<BR><BR>Regards, <BR>Swetha.=20
<BR><BR><BR></BLOCKQUOTE><BR></BLOCKQUOTE></BODY></HTML >
------=_NextPart_000_0009_01C82DC4.267F5C60--
|
|
| | |
Re: Ecore2UMLProfile [message #625566 is a reply to message #476663] |
Fri, 23 November 2007 16:29 |
james bruck Messages: 1724 Registered: July 2009 |
Senior Member |
|
|
This is a multi-part message in MIME format.
------=_NextPart_000_0009_01C82DC4.267F5C60
Content-Type: text/plain;
charset="ISO-8859-15"
Content-Transfer-Encoding: quoted-printable
Hi Swetha, Ed,
One way to store information indicating that your EClass corresponds to =
a stereotype would be to create an EAnnotation and save information in =
that annotation. You can modify the UML2Ecore converter to produce =
the proper annotation, or to use the newly enhanced Ecore Profile (that =
supports addition of EAnnotations).
You could then specialize the Ecore2UML converter to take into account =
the annotation when deciding to create a uml::Class or a =
uml::Stereotype.
You can essentially store whatever information you want in an annotation =
and use it in whatever manner you wish during the conversion process.
Regards,
- James. =20
"Ed Merks" <merks@ca.ibm.com> wrote in message =
news:fi3urh$1ds$1@build.eclipse.org...
Swetha,
This is a question about UML so I've redirected it to the UML =
newsgroup by adding that group to the "to" list of the reply so there is =
no need to repost. Using Thunderbird you can address multiple newsgroup =
in a single posting but the web client doesn't support that. 209794
Swetha wrote:=20
Hi,=20
I am trying to convert a UMLModel,UMLProfile to Ecore model.=20
I have the following issues:=20
1)I am of the understanding that UML Stereotype is converted to =
Ecore EClass=20
and UML Profile is converted to Ecore EPackage(as mentioned in this =
site on 26/11/07 mail).How do i store this information regarding =
wheather it is an Stereotype or Profile, so that while converting back =
this Ecore Model to UMLModel or UML Profile,i should be able access all =
the information.=20
Scenario 1: UMLProfile(Input)-->EPackage(Output)=20
UMLPackage(Input)-->EPackage(Output)=20
EPackage(Input)-->UMLProfile(Output)=20
EPackage(Input)-->UMLPackage(Output)=20
Scenario 2: Stereotype(Input)-->EClass(Output)=20
Class(Input)-->EClass(Output)=20
EClass(Input)-->Stereotype(Output)=20
EClass(Input)-->Class(Output)=20
2)I have done the transformation using ATL,is there a way to include =
multiple newsgroup.=20
Hoping a reply at the earliest.=20
Thanks in advance.=20
Regards,=20
Swetha.=20
------=_NextPart_000_0009_01C82DC4.267F5C60
Content-Type: text/html;
charset="ISO-8859-15"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type =
content=3Dtext/html;charset=3DISO-8859-15>
<META content=3D"MSHTML 6.00.2900.3157" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY text=3D#000000 bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi Swetha, Ed,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>One way to store information indicating =
that your=20
EClass corresponds to a stereotype would be to create =
an EAnnotation and=20
save information in that annotation. You can modify =
the=20
UML2Ecore converter to produce the proper annotation, or to use the =
newly=20
enhanced Ecore Profile (that supports addition of =
EAnnotations).</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>You could then specialize the Ecore2UML =
converter=20
to take into account the annotation when deciding to create a uml::Class =
or a=20
uml::Stereotype.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>You can essentially store whatever =
information you=20
want in an annotation and use it in whatever manner you wish during the=20
conversion process.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Regards,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>- James.</FONT><FONT face=3DArial=20
size=3D2> </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial =
size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Ed Merks" <<A =
href=3D"mailto:merks@ca.ibm.com">merks@ca.ibm.com</A>>=20
wrote in message <A=20
=
href=3D"news:fi3urh$1ds$1@build.eclipse.org">news:fi3urh$1ds$1@build.ecli=
pse.org</A>...</DIV>Swetha,<BR><BR>This=20
is a question about UML so I've redirected it to the UML newsgroup by =
adding=20
that group to the "to" list of the reply so there is no need to =
repost. =20
Using Thunderbird you can address multiple newsgroup in a single =
posting but=20
the web client doesn't support that. <A=20
title=3D"NEW - The web-based newsgroup portal doesn't support posting =
to more than one newsgroup"=20
=
href=3D"https://bugs.eclipse.org/bugs/show_bug.cgi?id=3D209794">209794</A=
><BR><BR><BR>Swetha=20
wrote:=20
<BLOCKQUOTE =
cite=3Dmid:77011c37c46882bb7942f2d452089266$1@www.eclipse.org=20
type=3D"cite">Hi, <BR><BR>I am trying to convert a UMLModel,UMLProfile =
to=20
Ecore model. <BR>I have the following issues: <BR><BR>1)I am of the=20
understanding that UML Stereotype is converted to Ecore EClass =
<BR>and UML=20
Profile is converted to Ecore EPackage(as mentioned in this site on =
26/11/07=20
mail).How do i store this information regarding wheather it is an =
Stereotype=20
or Profile, so that while converting back this Ecore Model to =
UMLModel or=20
UML Profile,i should be able access all the information. =
<BR><BR>Scenario=20
1: UMLProfile(Input)-->EPackage(Output)=20
<BR>UMLPackage(Input)-->EPackage(Output)=20
<BR><BR>EPackage(Input)-->UMLProfile(Output)=20
<BR>EPackage(Input)-->UMLPackage(Output) <BR><BR>Scenario=20
2: Stereotype(Input)-->EClass(Output)=20
<BR>Class(Input)-->EClass(Output)=20
<BR><BR>EClass(Input)-->Stereotype(Output)=20
<BR>EClass(Input)-->Class(Output) <BR><BR>2)I have done the=20
transformation using ATL,is there a way to include multiple =
newsgroup.=20
<BR><BR>Hoping a reply at the earliest. <BR>Thanks in advance.=20
<BR><BR>Regards, <BR>Swetha.=20
<BR><BR><BR></BLOCKQUOTE><BR></BLOCKQUOTE></BODY></HTML >
------=_NextPart_000_0009_01C82DC4.267F5C60--
|
|
| | |
Goto Forum:
Current Time: Thu Apr 25 03:30:33 GMT 2024
Powered by FUDForum. Page generated in 0.03120 seconds
|