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.html320 of 378 07/10/2007 15:55${name} is replaced by the item's name (see the UML tab)${class} is replaced by the name of the class supporting the enumeration@{xyz} is replaced by the user property value in case xyz is the key of this property. The property if searched first for the attribute,if not found for the class containing the attribute etc ...RelationThe Java definition of a relation is set through the Uml and Java tabs of the relation dialog.The indentation of the first line of the definition give the indentation added to the class definition for all the relation definition.Relation equivalent to an attributeIn BOUML the generated code is obtained by the substitution of macros in a text, the macros known by the Java code generator are :${comment} is replaced by the description of the attribute adding /* */${description} is replaced by the attribute description without adding /* */${visibility} produce the visibility (see the UML tab)${static} produce static when the attribute is a class attribute (see the UML tab)${final} produce final when the attribute is final${transient} produce transient when the attribute is transient${volatile} produce volatile when the operation is volatile${type} is replaced by the name of the class pointed by the relation (see the UML tab)${name} is replaced by the role's name (see the UML tab)${value} is replaced by the initial value of the relation (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 arradimensioning ([ and ] are added when they are not present).${association} is replaced by the association class (see UML tab)@{xyz} is replaced by the user property value in case xyz is the key of this property. The property if searched first for the relation, ifnot found for the class containing the relation etc ...InheritanceThe class inheritance are managed at the class level.${type} is replaced by the name of the inherited class more the actuals if the generated class instantiate a generic.Extra memberThe Java definition of an extra member is set through the Java tabs of the extra member dialog.No macros.

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

Saved successfully!

Ooh no, something went wrong!