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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

file:///C:/uml/BOUML/bouml_3.0/doc/TOUT.html105 of 378 07/10/2007 15:55OperationBOUML only manage class's operations and friendoperations, not standard C or Php functions (even it is possible to define a C or Php function through an extra member or in an artifactdefinition etc ...). An operation may have a stereotype, but it does not have a special meaning for BOUML.Contrarily to several UML toolbox, the body of the operations is fully managed by BOUML and saved among the project data (seeproject files). Howerver you can also enter the bodies out of BOUML thanks to the option Preserve operations's bodies of the Language(see top level menu).An operation is created through the class menu called from the browser or a class picture in a class diagram :The icon in the browser indicate if the operation is public (+), protected (#) , private (-) or package (~). The protected and packagevisibilities are translated in private in Idl. The package visibility is translated in private in C++, and produce nothing in Php allowing youto generate Php 4 code. Note that BOUML doesn't check the validity of the (re)refinition of an inherited operation (for instance thevisibility is not checked, the operation may be finalin Java etc ...), but some operations are not part of the proposed operations list : the constructors, destructors, and the operations alredefined in the current class for the UML point of view (the 'UML' definition of an operation is the one written under the browser windwhen the operation is selected in the browser).A class operation is underlined, an abstract one is written in italic. It is possible to move an operation from a class into an other, exceptfor the get and set operations associated to a relation or an attribute.MenusThe operation menu appearing with a right mouse click on its representation in the browser is something like these, supposing it is notread-only nor deleted :

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

Saved successfully!

Ooh no, something went wrong!