Basic Structural Modeling (continued)

 

C. Common Mechanisms

  1. Terms and Concepts

A note is a graphical symbol for rendering constraints or comments attached to an element or a collection of elements.

 

A stereotype is an extension of the vocabulary of the UML, to allow creating new kinds of building blocks.

A tagged value is en extension of the properties of a UML element to allow creating new information in the specification of that element.

A tagged value is metadata.

A constraint is an extension of the semantics of a UML element to allow adding or modifying rules.

  1. Common Modeling Techniques
  1. Put a comment in a note and link the note to the corresponding
  2. element using dependency.

  3. Make a note visible or invisible
  4. Embed external document in a note.

Using stereotypes, and tagged values

D. UML Diagrams

  1. Terms and Concepts

For illustrating the static design view of a system.

For illustrating data structures, the static snapshots of class instances.

For illustrating the static implementation view of a system

For illustrating the static deployment view of an architecture.

For illustrating the static use case view of a system.

For illustrating the dynamic view of a system

For illustrating the dynamic view of a system

For illustrating the dynamic view of a system

For illustrating the dynamic view of a system

  1. Common Modeling Techniques

Use case view:

The use of use cases that describe the behavior of the system as seen by its end users, analysts, and testers.

Design View:

The classes, interfaces, and collaborations that form the vocabulary of the problem and its solution.

Supporting the functional requirements of the system.

Process View:

The threads and processes that form the concurrency and synchronization of the system.

Addressing the performance, scalability, and throughput of the system.

Implementation View:

The components and files that are used to assemble and release the physical system

Addressing the configuration of the system.

Deployment View:

The nodes that form the hardware topology of the system on which the system executes

Addressing the distribution, delivery, and installation of parts that make up the physical system.

Use case view:

Use case diagrams, interaction diagrams, activity diagrams

Design view:

Class diagrams, interaction diagrams, statechart diagrams

Process view:

Class diagrams (with active classes), interaction diagrams

Implementation view:

Component diagrams

Deployment view

Deployment diagram

Use case view, design view

Use case view, design view, component view, deployment view

 

E. Class Diagrams

  1. Terms and Concepts
  1. Common Modeling Techniques
  1. Identify the mechanism to be modeled
  2. Mechanism represents some function or behavior of the part of the system from interaction of classes, interfaces, and others.

  3. For each mechanism, identify the participating classes, interfaces, and others.
  4. Use scenarios to walk through these things to discover missing and wrong.
  1. Identify those classes whose state must transcend the lifetime of their applications.
  2. Create a class diagram that contains these classes and mark them as persistent (a standard tagged value)
  3. Specify the details of their attributes, associations, and cardinalities.
  4. Use intermediate abstractions to solve cyclic, one-to-one, and n-ary associations.
  5. Expanding operations for data access and data integrity. (No business rules in this layer)

The process of transforming a model into code through a mapping to an implementation language.

Result in a loss of information (structural and behavioral features)

Forward engineering a class diagram:

    1. Identify the rules for mapping to the implementation language
    2. Constrain the use of certain UML features because of language limitation
    3. Use tagged values to specify the target language
    4. Use a tool to forward engineer the model.

The process of transforming code into a model through a mapping from the implementation language.

Result in a flood of low-level information.