Hi,
My remarks bellow

De : [email protected] 
[mailto:[email protected]] De la part de Topcased user 
list where issues are discussed
Envoyé : mardi 15 mars 2011 23:41
À : [email protected]
Objet : [Topcased-users] UML from java : did I miss something ?

Still about UML generation from Java.

- constructors are not created in the UML model

- JDK classes are modelize as <data type> , it is not possible to do a call on 
a data type ...
see ResourceBundle.jpg

- the signature and return value of the method getInstance of AppFactory are 
not well managed in sequences diagram.
I use a Sync Call to modelize a call to getInstance, in the diagram sequence 
the signature has a "null" which should not be here and I  did not find a way 
to use a reply call to set a variable from a call to getInstance
(something like myVar=AppFactory.getInstance("maClasse")

+ file AppFactory.java is the source file
+ AppFactory.jpg shows a part of the UMLmodel of  AppFactory and a part of the 
sequences diagram : there is no constructor and the opaque behavior of 
getInstance has a paramter without name ...

Is there solutions to :

- to generate constructors in the UML model ?
AFAIK there is no specific element for constructors, you can create a method 
named like the Class.
Another possibility is I think using the stereotype Create (applicable on 
Operations) from the Standard profile (already present in Profiles Tab in 
Package property view)

- to modelize JDK Classes as classes during a "UML from Java" action ?
I think you have taken a look at UML2Java code, the process is not really 
configurable but it could be a great idea, can you open a Feature Request about 
this point ?

- to generate return value in the UML model and to use reply call to set a 
variable ?
What do you mean ? in UML2Java Action ? In editor ?


thanks for any helps,

Regards
Tristan FAURE

Bernard
________________________________

Ce message et les pièces jointes sont confidentiels et réservés à l'usage 
exclusif de ses destinataires. Il peut également être protégé par le secret 
professionnel. Si vous recevez ce message par erreur, merci d'en avertir 
immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant 
être assurée sur Internet, la responsabilité du groupe Atos Origin ne pourra 
être recherchée quant au contenu de ce message. Bien que les meilleurs efforts 
soient faits pour maintenir cette transmission exempte de tout virus, 
l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne 
saurait être recherchée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for 
the addressee; it may also be privileged. If you receive this e-mail in error, 
please notify the sender immediately and destroy it. As its integrity cannot be 
secured on the Internet, the Atos Origin group liability cannot be triggered 
for the message content. Although the sender endeavours to maintain a computer 
virus-free network, the sender does not warrant that this transmission is 
virus-free and will not be liable for any damages resulting from any virus 
transmitted.
_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users
  • Re: [Topcased-users] UML fro... Topcased user list where issues are discussed

Reply via email to