Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Subsetted/Redefined Property -> DanglingHREF
Subsetted/Redefined Property -> DanglingHREF [message #478182] Tue, 10 February 2009 12:54 Go to next message
Soeren Kemmann is currently offline Soeren KemmannFriend
Messages: 15
Registered: July 2009
Junior Member
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 #478208 is a reply to message #478182] Fri, 27 February 2009 19:48 Go to previous message
james bruck is currently offline james bruckFriend
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 Go to previous message
james bruck is currently offline james bruckFriend
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
>
Previous Topic:A Questino about Composition
Next Topic:How to set & get data from a stereotype's properties
Goto Forum:
  


Current Time: Fri Apr 26 04:04:18 GMT 2024

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

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

Back to the top