|
Re: Subsetted/Redefined Property -> DanglingHREF [message #478208 is a reply to message #478182] |
Fri, 27 February 2009 19:48 |
james bruck Messages: 1724 Registered: July 2009 |
Senior Member |
|
|
Hi Soeren,
The UML2 wiki has some tutorials and articles in this regard.
http://wiki.eclipse.org/MDT-UML2
http://www.eclipse.org/modeling/mdt/uml2/docs/articles/Custo mizing_UML2_Which_Technique_is_Right_For_You/article.html
http://www.eclipse.org/modeling/mdt/uml2/docs/tutorials/Ecli pseCon2008_Tutorial_Creating_Robust_Scalable_DSL_with_UML_fi les/frame.html
Another idea would be to have a look at the implementation of the UML API
itself. Find the behavior in the API that you would like to mimic and then
have a look at the settings within org.eclipse.uml2.uml\model\UML.genmodel.
In your particular case, you may have marked aList as transient or not
changeable.
Cheers,
- James.
"Soeren Kemmann" <Soeren.Kemmann@iese.fraunhofer.de> wrote in message
news:gmrteq$f4a$1@build.eclipse.org...
> Hi there,
>
> I'm struggeling with understanding subsetted and redefined properties,
> especially when generating code from it.
> I have a structure of a composite aggregation aList, which is a subsetted
> list of bList, which is a subsetted list of cList ... to eList.
> bList to eList are all shared aggregation lists and bList is a property in
> my own model, where cList to eList are defined in other UML models. The
> problem is that when adding an element to aList (it should be in all
> lists), it actually is not in aList and can therefore not be stored
> (DanglingHREF). Is there a rule (or documentation) about the
> implementation/generation of subsetted/redefined properties, especially
> when more than one model/file is involved?
>
> Thank you in advance!
> Cheers,
> Soeren
>
|
|
|
Re: Subsetted/Redefined Property -> DanglingHREF [message #627408 is a reply to message #478182] |
Fri, 27 February 2009 19:48 |
james bruck Messages: 1724 Registered: July 2009 |
Senior Member |
|
|
Hi Soeren,
The UML2 wiki has some tutorials and articles in this regard.
http://wiki.eclipse.org/MDT-UML2
http://www.eclipse.org/modeling/mdt/uml2/docs/articles/Custo mizing_UML2_Which_Technique_is_Right_For_You/article.html
http://www.eclipse.org/modeling/mdt/uml2/docs/tutorials/Ecli pseCon2008_Tutorial_Creating_Robust_Scalable_DSL_with_UML_fi les/frame.html
Another idea would be to have a look at the implementation of the UML API
itself. Find the behavior in the API that you would like to mimic and then
have a look at the settings within org.eclipse.uml2.uml\model\UML.genmodel.
In your particular case, you may have marked aList as transient or not
changeable.
Cheers,
- James.
"Soeren Kemmann" <Soeren.Kemmann@iese.fraunhofer.de> wrote in message
news:gmrteq$f4a$1@build.eclipse.org...
> Hi there,
>
> I'm struggeling with understanding subsetted and redefined properties,
> especially when generating code from it.
> I have a structure of a composite aggregation aList, which is a subsetted
> list of bList, which is a subsetted list of cList ... to eList.
> bList to eList are all shared aggregation lists and bList is a property in
> my own model, where cList to eList are defined in other UML models. The
> problem is that when adding an element to aList (it should be in all
> lists), it actually is not in aList and can therefore not be stored
> (DanglingHREF). Is there a rule (or documentation) about the
> implementation/generation of subsetted/redefined properties, especially
> when more than one model/file is involved?
>
> Thank you in advance!
> Cheers,
> Soeren
>
|
|
|
Powered by
FUDForum. Page generated in 0.02799 seconds