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.html334 of 378 07/10/2007 15:55${custom} only for the valuetypes, produce abstract when the valuetype is custom${name} is replaced by the class's name${inherit} is replaced by the inheritance${members} is replaced by the code generated for all the class's members (relations, attributes, operations and extra members)following the browser order.${switch} only for the unions, is replaced by the union switch type${items} only for the enums, is replaced by the enum's items definition@{xyz} is replaced by the user property value in case xyz is the key of this property. The property if searched first for the class, ifnot found for the container of the class (an other class of a class view) etc ...OperationThe Idl definition of an operation is set through the Uml and Idl tabs of the operation dialog.The indentation of the first line of the declaration/definition give the indentation added to the class definition for all the operationdefinition.In BOUML the generated code is obtained by the substitution of macros in a text, the macros known by the Idl code generator are :${comment} is replaced by the description of the operation adding //${description} is replaced by the operation description without adding //${oneway} produce oneway when the operation is oneway${type} is replaced by the value type (see the UML tab)${name} is replaced by the name of the operation.${(} 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, etc ...${raise} is replaced by the form raise (...) when at least an exception is defined in the UML tab.${raisenl} produce a line break when the operation have exception. In case you do not like this notation, change the generationsettings to remove this macro.@{xyz} is replaced by the user property value in case xyz is the key of this property. The property if searched first for the operation,if not found for the class containing the operation etc ...AttributeThe Idl definition of an attribute is set through the Uml and Idl tabs of the attribute dialog.The indentation of the first line of the definition give the indentation added to the class definition for all the attribute definition.The definition of an attribute depend on the stereotype of its class.interface's attributeIn BOUML the generated code is obtained by the substitution of macros in a text, the macros known by the Idl code generator are :${comment} is replaced by the description of the attribute adding //${description} is replaced by the attribute description without adding //

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

Saved successfully!

Ooh no, something went wrong!