Unified Process - Analysis Behavioural and Structural Modelling Flashcards
What are the two types of representing a view of a system model? UML
- Static view [Structural]: emphasizes the static structure of the system using objects, attributes, operations and relationships.
- Dynamic view [ Behavioral]: emphasizes the dynamic behavior of the system by showing collaborations among objects and changes to the internal states of objects.
During the life of a project using an iterative life cycle, models change along the dimensions of:
- abstraction: they become more concrete
- formality: they become more formally specified
- level of detail: additional detail is added as understanding improves
What is a use-case?
It describes functions performed by users of a system (One and only one function). It’s usually a diagram supported with a description.
What is the main goal of structural modelling?
Structural models represent system objects; their relationships People, Places, Things. Its main goal is to discover the key data contained in the problem domain and to build a structural model of the object.
“Objects have state, behavior and identity.” Define those properties.
- State:the condition of an object at any moment, affecting how it can behave
- Behavior: what an object can do, how it can respond to events and stimulation
- Identity: each object is unique
A bicycle -> MTB -> move, stop -> new, second hand
What is a class?
A class is a description of a set of objects with similar features: semantics; constraints.
All objects are instances of some class and are similar in:
- structure (what information they hold, what links they have to other objects)
- behavior (what they can do)
A class diagram is a static model that shows classes and their relationships to one another
Types of relationships.
- Generalization: Represents relationships that are a-kind-of
- Aggregation: Represents relationships that are “a-part-of”
- Association: Represents relationships that are “linked-to”
What are behavioral models?
They are behavioral state machine diagrams(show how data change throughout the process) and interaction diagrams (Sequence and communication-> show how object interact to provide functionality in the use cases)
What are sequence diagrams? Figure.
They emphasize message sequence. By illustrating the object that participate in a single use-case
What are communication diagrams? Figure.
They emphasize message flow. An object diagram that show message passing relationships.