UML Flashcards
Define: Use Case
A list of event steps defining the interactions between an actor and a system
Ultimate criterion: if it ends with a value for the user, it is a use case
Define: Essential use case
Describes user intentions and system responsibilities
Define: System use case
Describes user actions and system responses at a technical level
What are the 3 UML use case relationships
Includes:
a common subpart is used within a containing use case
Extends:
A variant or exceptional situation that extends the normal case
Generalisation:
Several special use cases generalised to a common general description
Capturing alternative execution paths in a communication diagram
with guards and letter notation
Using interaction diagrams in implementation phase
Creating method skeletons
Using interaction diagrams in the testing phase
Generate test cases
Value of super states
Reduce complexity of system by hiding state information
Define: Super-state
The parent state of one or multiple substates
Define: OCL
Derivative of UML describing rules for UML models
Uses of OCL
Provide constraints on:
Limits, Uniqueness, Consistency and Contracts
OCL Limits
Constrain values to certain ranges
OCL Uniqueness
Constrain instance values to be unique
OCL Consistency
Express invariants on data structures
OCL contracts
Pre/post conditions for operations