Home. 
.

transparent

transparent

transparent

UML Class Diagrams

Altova UModel® 2012 lets you create UML class diagrams with ease, providing a fast and effective way to graphically model your object-oriented programming constructs.

UML class diagrams define the classes in your system by illustrating object-orented programming features such as class relationships, operations, attributes, and interfaces.

Altova UModel Features Overview

Altova UModel® 2012 is an intuitive, affordable, and fully featured tool to create UML class diagrams, and to employ all the additional advantages of UML-based software development. UModel supports these advanced features:

Download Click here to download a fully functional, free 30-day trial of Altova® UModel® 2012!

Class Diagrams in Altova UModel

UModel® 2012 makes class diagrams easy to draw and interpret with color-coded icons and text for each diagram element, intelligent entry helpers, and intuitive element relationship tools.

UML class diagram

Click image to enlarge screenshot

For example, in a fictional Meal_type class for an expense reporting application, the class attributes (or properties) would be identified by blue squares, while class operations are marked with violet diamonds in the lower compartment. In addition, UModel® 2012 identifies the visibility property of each attribute and operation with a unique pictorial icon. The icons are keyed to indicate whether an attribute is public, protected, or private.

UML class diagram

As you create your class diagram, you can set the visibility of each attribute and operation in the properties window, or by clicking to open a pop-up menu in the diagram. Convenient fast editing buttons and a specialized class diagram toolbar are also provided to help you easily add elements.

One of the unique benefits of UModel® 2012 is that you can directly edit attributes (or properties) and operations within the diagram view. As you type, intelligent entry helpers automatically appear to help you input information correctly.

Altova UModel® 2012 automatically applies syntax coloring to the text of attributes and operations in class diagrams to make them more intuitive. Constraints, identifiers, mathematical and logical operators, types, and values are all automatically displayed in unique colors as you enter your text. Syntax coloring makes your diagrams easier to create, and easier to understand when viewed later.

Auto-completion

When one class inherits properties from another class, the generalization arrow is used to indicate the relationship. UModel® 2012 supports UML 2 generalization features with special icons and entry helpers so that relationships between classes and subclasses are easily defined and identified.

When you create a new class, UModel® 2012 lets you specify its parent class simply by drawing a generalization arrow between child and parent. To add properties to the new class, UModel® 2012 offers an intelligent auto-completion window to help you define the class quickly and accurately.

UML class diagram datatype auto-completion

You can resize the auto-completion window on the fly for an expanded view of your options. You can also filter the window contents by clicking the datatype icons. Datatype categories displayed in the auto-completion window are:

  • Class
  • Interface
  • Primitive Type
  • Data Type
  • Enumeration
  • Class Template
  • Interface Template
  • Datatype Template

Single Model lets you quickly enable any single category, as shown in the screenshot below.

UML class diagram auto-completion

Choosing datatypes from the auto-completion window as you create classes helps prevent type definition errors in source code later on as your project progresses.

Relationships, Dependencies, and Associations

UModel® 2012 also offers a right-click menu to easily locate relationships, dependencies, and associations between classes. ‘Show Generalization’ or ‘Show Dependency’ selections can help you analyze and understand models you did not create yourself. The ‘Show Association’ selection can automatically place a copy of all elements associated with the selected class into the design pane.

UML class diagram

Click image to enlarge screenshot

UML class diagram

Click image to enlarge screenshot

The UModel® 2012 Hierarchy helper window also provides a quick view of generalization and inheritance relationships of classes. You can click the Hierarchy tab to view the relationships of any class selected in a class diagram or in the Model Tree.

UModel Hierarchy helper window

Customized Display Options

If your project will generate source code in .NET programming languages (C# or Visual Basic), your classes may contain .NET properties that can be called from outside like attributes, but are implemented internally as methods. To better organize .NET classes, UModel offers an option to display .NET properties and methods in separate operations compartments inside classes.

UML class diagram

This view is an optional setting in the Styles helper window for class diagram display and editing only. Your choice to display separate .NET properties compartments or continue using a single traditional UML operations compartment will have no influence on code generated from the class.

You can also customize the display of classes in your diagram to show or hide individual class properties and operations. The right-click context menu offers a Visible Elements dialog for the selected class.

UML class diagram

UML class diagram

Click image to enlarge screenshot

This feature lets you simplify the diagram to focus on the properties and operations relevant to the task at hand. Hidden items are indicated by ellipses.

UML class diagram

Clicking on an ellipsis reopens the Visible elements dialog.

UModel® 2012 supports alternate diagram styles for interfaces between classes. By default, new interfaces are created in class diagram style with arrowhead styles and notations to indicate the interface creator and interface users.

UML class diagram

Interfaces have a special Toggle Notation quick-editing button to switch from the class diagram style to the UML ball and socket interface notation.

UML class diagram

UML class diagram

Override Class Inheritance

UModel® 2012 lets you easily override class operations that are inherited from a base class. Simply select any class and open the Override/Implement Operations dialog from the right-click menu and select the operation you’d like to redefine.

UML class diagram

UML class diagram

UModel® 2012 also offers multiple features to easily create get/set methods for existing class attributes. You can grab a property and drag it to the operations compartment to open the Create Getters/Setters menu for the property.

UML class diagram

You can also choose Create Getters/Setters Operations from the right-click menu to open a combined Create Getters/Setters dialog for all the properties of the class

UML class diagram


Quickly create and comprehend clear, color-enhanced diagrams of the classes in your development project.

Download Click here to download a fully functional, free 30-day trial of Altova® UModel® 2012 for your own development project!



transparent
Download
Pricelist
Buy
Video
Comparison
Datasheet
Print
Mail
Like It
.

Read the Altova Blog
...and get the most from our products Read the Altova Blog!

.

The techies at Altova love to show off what our applications can do! Our in-depth coverage of individual features helps you deliver exceptional projects. Subscribe here!

.
.

transparent

transparent