facebook

How to add new data types for parameters in class diagrams

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

    RCobb1
    Member

    How do I create new data types to define attributes in my models? For example, I wish to model a typical Servlet class; how do I define HttpServletRequest and HttpServletResponse objects without having to re-model the javax.servlet.* classes?

    thanks in advance!

    #256706 Reply

    Riyad Kalla
    Member

    You need to make sure those classes are in your build path and then you should be able to drag and drop them onto the diagram so the initial point of your hierarchy is available.

    #256741 Reply

    RCobb1
    Member

    If I understand then, I should be able to take a class from jar in the classpath, drag and drop it into a class diagram, and that type is now part of the model?

    #256759 Reply

    Riyad Kalla
    Member

    Yes. The reverse generation process normally does this for you, for example, if you reverse engineer classes that refer to JDK classes, it will populate the model with them.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: How to add new data types for parameters in class diagrams

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