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.html316 of 378 07/10/2007 15:55Java generatorThe Java code generator is a plug-out directly written in C++.The generated sources follows the definition made in BOUML at the artifact / class / operation / relation / attribute / extra member levels.When the code generation is applied on a artifact associated to several classes, the code generation is made for all these classesNevertheless the the Java code generator produce first the code in memory and update the appropriate files only when it is necessary, tonot change the last write date of the files for nothing. Depending on the toggle verbose code generation of the global menu Languages thecode generator is verbose or not.The Java code generator plug-out may be called on :a class : in this case the code generation is in fact applied on the class's artifact, then on all the classes associated to this artifacta artifact : in this case the code generation is in fact applied on all the classes associated to the artifacta class view : the code generation will be applied on all the sub classes, then on all the artifacts associated to these classesa deployment view : the code generation is applied on all the sub artifactsa package (may be the project itself) : the code generation will be applied on all the sub class views and deployment views, then onall their sub classes and artifacts.When the Java code generator is ask through the Tools menu, it is applied on the project, then on all the artifacts.The name of the generated files depend on the artifact name, the extension depend on the language and is fixed for each by thegenerationssettings(see below), the directory where the files are generated may be set in each package containing directly or indirectly the artifact (seegeneration directory).artifactThe Java definition of a artifact is set through the Java source tabs of the artifact dialog.The code generation depend on the stereotype of the artifact :text : the Java definition of the artifact is produced without changes, the name of the generated file is the name of the artifact,including the extension.source : see below.else nothing is generated for the artifact.The generated file name is the artifact's name with the extension specified in the first Java tab of the generations settings :

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

Saved successfully!

Ooh no, something went wrong!