|
UML Class DiagramsThis page explains the use of UML Class Diagrams to represent a Business Object Model — a static collection of classes and interfaces and the collaborations and relationships among them. Take the Brainbench certification test on the Unified Modeling Language (UML)
|
|
|
Compartments for Role, Attributes, Operations
The middle compartment holds attributes (properties of the class) associated with each instance. Statics (data obtained through a function) are underlined. Operations (OO Methods) — functionality that the class supports— in the 3rd compartment should begin with strong active verbs. Ellipsis (...) appear at the bottom of a list in place of additional items not shown. Additional "non-standard" compartments may be added to the class to list exceptions thrown or other notes pertaining to the class. In accordance with Java coding style, class names should begin with an uppercase letter. while operations and attributes should begin with a lowercase letter. During the design phase, class attribute names are prefixed by a special character to specify visibility, usually in order of decreasing visibility. Class names are singular because cardinality symbols express how many of them are involved in associations. During design work (not during analysis), the data type (such as Date, Currency, Vector, etc.) are added to class attributes. Some tools enable a user to toggle between viewing or omitting data type, arguments, modifiers, and other detailed design information. Scaffolding accessors such as getItem() and mutators such as setItem() (getters and setters) are assumed because they can be automatically generated for each class. Text enclosed in {braces} are constraints — conditions among model elements that must be maintained as true. Braces are also used with a UML property string to indicate exceptions. Example: {exceptions=NetworkFailure, DBError}
|
Real Time UMLiming Expressions: A time expression is an expression that resolves to a time value.Timing marks: A timing mark is a denotation of the specific time at which a given event or message occurs Timing Constraint: A timing constraint is a constraint that involves an absolute or relative value of time From http://softdocwiz.com/UML.htm
|
Related:
| Your first name: Your family name: Your location (city, country): Your Email address: |
Top of Page
Thank you! |