facebook

UML 2 diagram generates java enumeration classes w/o content

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #346696 Reply

    David G. Libke
    Participant

    MyEclipse Professional 2014 Build id: 12.0.0-20131202 generates the enumeration class but class has no content, i.e. public enum <class name> {<literal list>}.

    An improvement would be support parametrized literals, i.e. {<literal>(<value>, [<value>]…), … } and generate the IVars, constructor, and getters. The ability to add operations would be good also.

    Dave

    #346698 Reply

    support-swapna
    Moderator

    Dave,

    Thank you for the suggestions. I have filed an enhancement request against UML for the same.

    Let us know if you see any issues with MyEclipse.

    #346957 Reply

    David G. Libke
    Participant

    Only enums with constants are generated. Empty enums are not written to the file even though the file is created for the enum.

    Dave

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: UML 2 diagram generates java enumeration classes w/o content

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