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.html110 of 378 07/10/2007 15:55${volatile} produce an empty string when the check box volatile is not checked, else produce volatile${friend} produce an empty string when the check box friend is not checked, else produce friend${virtual} produce an empty string when the check box virtual is not checked, else produce virtual${inline} produce an empty string when the check box inline is not checked, else produce inline${type} is replaced by the value type (see the UML tab)${abstract} produce the string = 0 when the operation is abstract (see the UML tab), else an empty string.${class} is replaced by the name of the class containing the operation.${staticnl} produce a line break when the operation is static, else an empty string. In case you do not like this notation, change thegeneration settings to remove this macro.${(} and ${)} produce ( and ), but there are also a mark for BOUML to find the parameters list${t} and ${p}produce the type and the name of each parameter (count from 0), this allows you to remove a parameter, add type modifiers etc ...${throw} is replaced by the form throw (...) when at least an exception is defined in the UML tab. It is also possible to produce throw()when there is no exception depending on the generation settings.${body} is replaced by the body of the operation, this macro may also be replaced by the body itself (BOUML use this way for the getand set operations associated to a relation/attribute). The usage of ${body} has a great advantage : when you hit Default definition orFromdeclarationthe body is not cleared ! At least BOUML share the declaration and definition forms of the operations (and other objects) to minimizneeded memory size, ${body} help for this ! The indentation of the keyword ${body} is added at the beginning of each line except theones starting by a '#' or when the previous one ends by '\'.The forms @{property}are replaced by the value of the corresponding user property if it is defined for the class or at an upper level, else it is not substituted.A template operation is defined with an empty declaration (allowing <strong>Bouml</strong> to detect this case) and placing the actuals between ${class}and :: in the definition part.The edit body button is active when the definition contains ${body}, to edit it through the editor you want define the environmentvariable BOUML_EDITOR, furthermore, when you set add operation profile on body edition through the miscellaneous menu the formdefining the operation in the editor is added at the beginning of the edited file.Operation dialog, tab JavaThis tab allows to give the Java definition of the operation, it is visible only if Java is set through the Language menu

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

Saved successfully!

Ooh no, something went wrong!