13.07.2015 Views

Bouml reference manual - Fedora Project Packages GIT repositories

Bouml reference manual - Fedora Project Packages GIT repositories

Bouml reference manual - Fedora Project Packages GIT repositories

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

file:///C:/uml/BOUML/bouml_3.0/doc/TOUT.html73 of 378 07/10/2007 15:55Menu : editedit allows to show/modify the relations properties. In case the relation is read-only, the fields of the dialog are also read-only.Relation dialog, tab UmlThe tab Uml is a global tab, independent of the language :Here the two roles are editable because the relation is bi-directional, and because it is an association or aggregation.The default name of a relation is its kind between < and >, for instance , the default name does not appears in a diagram.It is possible to change the kind of the relation through the combo box type, but it is not possible to reverse a relation, the role A is alwaysattached to the start class used to draw the relation, and the role B is only available when the relation is bi-directional.The proposed stereotypes are the default ones specified through the Default stereotypes dialog more the current one (empty here). It ispossible to choose into the list or to give a new one, or to empty it. The stereotype and the multiplicity are used both (may be withstereotype of the class(es) in Idl) to compute the default declaration.Association allows to define a class association, to produce it in the generated code use the keyword ${association}By default, the names of the generated attributes are the role names.Themultiplicityis used to compute the default declaration and the generated code for each language, the proposed ones are not the alone know by thecode generators, you may also use a number or a number between [] (they are not distinguished by BOUML) to specify a vector, osequence or numbers each between [] to specify a multi dimensioned array.The initial valuegive the default value of the generated attribute(s), in C++ it is taken into account only when the relation is a read only class relation.default the generated form is exactly the one you give, this means that you have to give the '=' when it must be generated, this allows togive the arguments of a constructor.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!