facebook

Using Eclipse code template to improve UML Java code generat

  1. MyEclipse Archived
  2.  > 
  3. UML Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #282107 Reply

    m4swanson
    Member

    I have not been able to find where to put the “Java type annotations” in the UML model, so all the associations come out as ClassName _;

    This mechanisms of expecting people to annotate every association is way too fiddly and produces incompatible results.

    A better method would be to use (and extend) the Java coding templates inside Eclipse. Generating the stanard comments, etc would be a big step towards meetin JavaDoc and copyright claim comment requirements. In addition, one ought to add new default template entries for each of your association types so that the code can be generated consistently without fiddling.

    #282213 Reply

    Loyal Water
    Member

    A better method would be to use (and extend) the Java coding templates inside Eclipse. Generating the stanard comments, etc would be a big step towards meetin JavaDoc and copyright claim comment requirements. In addition, one ought to add new default template entries for each of your association types so that the code can be generated consistently without fiddling.

    Thank you for your feedback. I’ll make a note of this.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Using Eclipse code template to improve UML Java code generat

You must be logged in to post in the forum log in