1 / 12

UML Notation Overview

UML Notation Overview. by Brian Lawler Brian.Lawler@JHU.edu. Each of these symbols is from a model for a communications system Basic options are: Round Top and Round Sides Flat Top and Round Sides Flat Sides with Round Corners Flat Sides with Sharp Corners 3D Rectangle The shape conveys:

mgonzalez
Download Presentation

UML Notation Overview

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. UML Notation Overview by Brian Lawler Brian.Lawler@JHU.edu

  2. Each of these symbols is from a model for a communications system Basic options are: Round Top and Round Sides Flat Top and Round Sides Flat Sides with Round Corners Flat Sides with Sharp Corners 3D Rectangle The shape conveys: High-level vs. Low-level Logical vs. Physical Behavior vs. Structure vs. State Shape Counts Deliver Messages Verify Password Idle CommunicationsController Server Brian.Lawler@JHU.edu

  3. Solid Lines versus Dashed Lines Meaning depends upon diagram Line Style Counts Brian.Lawler@JHU.edu

  4. Compare “open” to “closed” arrows Compare “half” to “full” arrows Arrow Style Counts Brian.Lawler@JHU.edu

  5. Name Server Name Fill Counts Brian.Lawler@JHU.edu

  6. Italics font has a specific meaning This is subtle and easy to miss Other mechanisms can convey the exact same ideas more clearly Other design choices can be easier to understand Bank Account {abstract} Bank Account Savings Account Checking Account Savings Account Checking Account Savings Account Checking Account Font Counts << interface >>Bank Account Brian.Lawler@JHU.edu

  7. Meaning of the diamond shape depends upon the diagram. Context Counts Brian.Lawler@JHU.edu

  8. Cash Register Scale Scanner Monitor Transaction Shapes Count <<boundary>>Scale <<entity>>Transaction <<control>>Cash Register <<boundary>>Scanner <<boundary>>Monitor Brian.Lawler@JHU.edu

  9. In UML, color is has no meaning. Users/Projects may choose to use color for some purpose but: Use cautiously Define in legend Color Doesn’t Count Don’t use color to indicate that this process is performed by a certain part of the system. Use the swim lanes variant of this diagram. - BL [condition 1] [condition 2] Brian.Lawler@JHU.edu

  10. UML is intentionally based upon simple notational elements Symbols have precise meanings Symbols can be hand-drawn Models can be defined with text UML is a purposeful notation: Simple symbols have meaning Symbols combine to complex ideas Clip Art Can dilutes the clarity of the model Creates confusion about whether diagrams are designs or cartoons UML versus Clip Art Brian.Lawler@JHU.edu

  11. Unified Modeling Language(not Unified Drawing Language) You don’t have to draw anything. Your model can be entirely in text using the UML vocabulary. CASE tools store model information in a database. Class: Customer Attributes: Name, Address, Phone Use Case: Sell Stuff Scenario: Successfully Place Order Participants: Customer, Order Taker and Order Fulfillment Scenario: Customer submits order with Order Taker Order Taker places order with Order Fulfillment Order Taker acknowledges order with Customer Brian.Lawler@JHU.edu

  12. Patient Record <<entity>> Patient Record Notation Supports Simple Alternatives Window Company Frame has Department <<subsystem>>Billing <<Component>>Call Handling - or - <<Package>>Billing Most notations in the UML downgrade relatively gracefully into simple but meaningful block diagrams with simple but meaningful text descriptors. Brian.Lawler@JHU.edu

More Related