|
Re: Multiplicities and names in an Association [message #474928 is a reply to message #474696] |
Wed, 23 July 2008 17:16 |
Tatiana Fesenko Messages: 530 Registered: July 2009 |
Senior Member |
|
|
Hi Raphael,
You can edit name, multiplicity, visibility and modifiers of an AssociationEnd
in the diagram editor. To do that:
-Select label for source or target name of an association.
-Press F2 to edit it.
-edited string will be parsed as Property did (UML 2.1, 7.3.44, Property):
<property> ::= [<visibility>] [‘/’] <name> [‘:’ <prop-type>] [‘[‘ <multiplicity>
‘]’] [‘=’ <default>][‘{‘ <prop-modifier > [‘,’ <prop-modifier >]* ’}’]
It means, if you print 'year [1..3]', an association end will get name 'year',
its lower value will be '1' and its upper value will be '3'.
Unfortunately, it's not possible now to see and edit other properties of
AssociationEnds in the diagram editor (bugzilla #174003 Impossible to edit
Association link source/destination properties in diagram editor). But you
can always use domain model editor(*.uml file) to do that.
Best wishes,
Tanya.
> Hello friends!
>
> IŽm using UML2Tools and I didnŽt find where I should set some
> properties of an association. This properties are:
>
> -association name;
> -association source;
> -association multiplicity in the source;
> -association target name;
> -association multiplicity in the target;
> Indeed, the UML2Tools let me set the association name, the source and
> target names of an association, but theirs multiplicity I can just set
> on of them.
>
> Where should I set this properties?!
>
> P.S.: It would be a great ideia if these properties could be changed
> as the parameters in a method, like in a pop up window.
>
> Thanks a lot,
> Raphael
|
|
|
Re: Multiplicities and names in an Association [message #621732 is a reply to message #474696] |
Wed, 23 July 2008 17:16 |
Tatiana Fesenko Messages: 530 Registered: July 2009 |
Senior Member |
|
|
Hi Raphael,
You can edit name, multiplicity, visibility and modifiers of an AssociationEnd
in the diagram editor. To do that:
-Select label for source or target name of an association.
-Press F2 to edit it.
-edited string will be parsed as Property did (UML 2.1, 7.3.44, Property):
<property> ::= [<visibility>] [‘/’] <name> [‘:’ <prop-type>] [‘[‘ <multiplicity>
‘]’] [‘=’ <default>][‘{‘ <prop-modifier > [‘,’ <prop-modifier >]* ’}’]
It means, if you print 'year [1..3]', an association end will get name 'year',
its lower value will be '1' and its upper value will be '3'.
Unfortunately, it's not possible now to see and edit other properties of
AssociationEnds in the diagram editor (bugzilla #174003 Impossible to edit
Association link source/destination properties in diagram editor). But you
can always use domain model editor(*.uml file) to do that.
Best wishes,
Tanya.
> Hello friends!
>
> IŽm using UML2Tools and I didnŽt find where I should set some
> properties of an association. This properties are:
>
> -association name;
> -association source;
> -association multiplicity in the source;
> -association target name;
> -association multiplicity in the target;
> Indeed, the UML2Tools let me set the association name, the source and
> target names of an association, but theirs multiplicity I can just set
> on of them.
>
> Where should I set this properties?!
>
> P.S.: It would be a great ideia if these properties could be changed
> as the parameters in a method, like in a pop up window.
>
> Thanks a lot,
> Raphael
|
|
|
Powered by
FUDForum. Page generated in 0.03843 seconds