Your Internet Explorer version is not compatible with our shopping cart system. Please use version 9 or higher to avoid problems with your order(s). Close
How to add new data types for parameters in class diagrams
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?
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.
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?
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.