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.html94 of 378 07/10/2007 15:55In BOUML the generated code is obtained by the substitution of macros in a text, only the Declaration part is editable, the other one helpyou to see what will be generated for Java (supposing you do not modify the Java code generator !).When you push the button default declaration, the form specified through the generation settings is proposed, this last may be modifiedas you want, even to produce illegal source code.When you do not want to have this attribute defined in Java, empties the declaration <strong>manual</strong>ly or using the button not generated in Java.It is possible to follow the visibility as it is set in the UML Tab or to change it replacing ${visibility} by the desired one.${static} produce an empty string when the attribute is not an class attribute (see the UML tab), else produce static${final} produce an empty string when the attribute is not read only (see the UML tab), else produce final${transient} produce an empty string when check box transient is not checked, else produce transient${volatile} produce an empty string when the check box volatile is not checked, else produce volatile${type} is replaced by the class pointed by the attribute (see the UML tab)${stereotype} is replaced by the translation in Java of the relation's stereotype (see the UML tab)${multiplicity}is replaced by the multiplicity of the relation (see the UML tab), must be used in case the multiplicity is a vector or array dimensioningand ] are added when they are not present).${name} is replaced by the attribute's name (see the UML tab)${value}is replaced by the initial value of the attribute (see the UML tab), may be used to specify the value of an enumeration's item for instance${@} produces the annotations, when it is present in the definition the button Edit annotation is active, a specific dialog allows you toenter the annotations proposing the default annotations (Deprecated ...) and the ones defined through the classes stereotyped @interface :Refer to the generation settings and Java generator for more details and explanation of the other keywords.Attribute dialog, tab PhpThis tab allows to give the Php definition of the attribute, it is visible only when Php is set through the menu LanguagesFor a standard attribute :

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

Saved successfully!

Ooh no, something went wrong!