facebook

array of objects in UML class diagram using MyEclipse UML

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

    aanyouzoa
    Member

    I would like to add a method with the following signature – A[] nethodA(param B[])- to a class in a UML class diagram using MyEclipse modeling tool.

    Any help will be appreciated.

    Regards,

    Alain.

    #267469 Reply

    Riyad Kalla
    Member

    Alain,
    Another user had this question a while back and the exact method on how to do it slips my mind. I just tried using:
    getArray() : Integer[]

    and it worked (to a degree) but generated a class named “Integer[]”… I’ll ask someone internally how to avoid this.

    #321448 Reply

    A hint on how to do this (create an array param to a method in UML2 diagrams) would be much appreciated …

    Moises

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: array of objects in UML class diagram using MyEclipse UML

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