
Figure 10-25: A basic Sequence diagram with events and transitions.
The states of the object is defined by the values of one or more of its attributes.

Figure 10-26: Mapping a Sequence diagram to a Statechart diagram.
predecessors '/' sequence-term iteration [condition] return ':=' operationstimulus - is an item of communication between two objects. It associated with both a sending and a receiving object. It may invoke an operation, raise a signal, or even cause an object to be created or destroyed. It may include parameters/arguments. It is associated with the procedure that causes it to be sent.
-abstraction
-binding
-permission
-usage
-attribute definitions
-attribute domain of values
-operations(signature)
-methods
-associations
-links
-Overlapping
-Disjoint
-Complete
-Incomplete
associationAssociation is a semantic relationship between two model elements. i.e defines the rules that apply to relationships between the objects defined by participating classes.
generalization
dependency
-RolesRoles
-Interface specifier
-visibility
-multiplicity
-ordering
-constraints
-qualifier
-navigability
-changeability
tagged valuesConstraints are really just strings, you can add as many constraints as you need between the pairs of braces{}. It define which objects are allowed to participate in an association. It placed in an unambiguous place at the end of the association and near the class it applies to.
stereotypes
constraints
AbstractionsThe Superstructure relies on the essential concepts defined by the infrastructure to build the concepts for constructing UML diagrams.
Basic
Constructs
PrimitiveTypes
structural
behavioral
supplemental
Private -
Package ~
Public +
Protected #
InformationClass
- Its unique Identity
- How to describe itself
- Its current condition, or state.
Behavior
- Wht it can do
- wht can be done to it.
1. Draw an association (a line) between the class that represents the member or part of the assembly and the class that represents aggregation, the assembly.
2. Draw a hollow diamond on the end of the association that is attached to the aggregate class.
1.Draw this stronger form of aggregation simply by making the aggregation diamond solid (black).
-Attribute type
-Attribute values allowed
-Operation(interface)
-Method(implementation)
-Associations
Core package
- Core package
- Profiles packages
Provides the foundation on which to build the MOF, UML, CWM, profiles and future languages.
The common metamodel makes possible model interchange via XML Model Interchange(XMI).
Each of the four packages, UML, CWM, MOF and profiles, need help from Core package. They depend on the contents of the Core in order to complete their own sets of definitions.
The Core package contains three other packages, all depend on the data types defined in the PrimitiveTypes package
- Abstractions
- Basic
- Constructs
The primitive Types package defines a small set of data types that are userd to specify the core metamodel. The 3 types are Integer, Boolean, and String.
Abstractions package - defines the common concepts needed to build modeling abstract elements such as classifiers, behavioral elements, comments, generalizations, and visibilities.
Basic package - defines the common characteristics of classifiers, classes, data types, and packages.
Constructs package - refines contents of the Abstractions and Basic packages, merging and refining abstract concepts to create a set of common modeling elements. They are implementable concepts with package names like Classes, Attributes, Associations, and Packages.
The Profiles package contains mechanisms to adapt existing metaclasses to a specific subject or platform.
- replaced the Collabration diagram with a more limited Communication diagram.
- added new 2 interaction diagrams: the interaction Overview diagram the Timing diagram.
- added the Protocol State Machine.
- added the Composite Structure diagram
- isolated the Activity diagram with its own semantics separate from the State Machine.
Behavioral ElementsBehavioral Elements and Model management packages depends on Foundation package.
Model Management Packages
Foundation package
Core elements.All of the diagram elements in UML derive their basic features from the elements defined in these 3 packages.
Extension mechanisms.
Data types.
It contain some classes that cannot be instantiated is called abstract. eg. ModelElement, GeneralizableElement, Classifier.
A class that can be instantiated is called concrete. eg. Core concrete classes include Class, Property, Association.
Other concrete classes include Instance, Operation, Link etc.
Provides a means to tailor the use and appearence of existing elements for specific application domains or technologies.Data Types package
The Data Type package defines a common set of valid data types and enumerations for use in defining the metamodel.
collabration diagram.
Use Case diagram.
State Machine.
Activity Graph.
pre-condition - Constraints on an operation define wht must be true in order to invoke the operation.Action Semantics
post-condition - wht must be true when operaton is completed.
Define the rules that govern the dynamic aspects of a system.
An action is a class that defines a behaviour.
eg. the instance of CreateObjectACtion defines how to create an object.
Actions can be used to define method implementations.
UML use the MDA approach. MDA separates the business logic and implementation mechanism.MOF - (Meta-Object Facility) is at the heart of the MDA strategy. It defines the languages used to describe systems and MDA itself. That defines the concepts used to build models.