Beruflich Dokumente
Kultur Dokumente
Course description:
OBJECTIVE: The understand the Unified Modeling Language and orient towards Object Oriented methodology using UML for modeling software systems. TARGET AUDIENCE: In particular, it is intended for software professionals who have sound knowledge of object concepts and some experience towards analysis and design. PREREQUISITES: Good understanding of object concepts. Sound knowledge of any object oriented language. Knowledge of software engineering process.
2
1. Objects
An Object is a concept, abstraction, or thing with identity that has meaning for an application Some objects has : Real-word Counterpart (Ex., Employee & Company) Some objects are : Conceptual entities (Ex., Solving Equation) All objects have identity and are distinguishable Identity means objects are distinguished by their inherent existence and not by descriptive properties that they may have.
2. Classes
An Object is an instance of a class. A Class describes a group of objects with the same - properties (Attribute) - behavior (Operations) - Kinds of Relationship - Semantics Ex., Person Company Process Each Object knows its class (implicit property)
5
2. Classes
Abstract a problem, by grouping objects into classes Abstraction gives modeling its power and ability to generalize from a few specific cases to a host of similar cases. Per class: classname and attribute name
Object diagram
Object Diagram: - shows individual objects & their relationship - helpful for documenting test cases Class diagram corresponds to an infinite set of object diagrams
10
11
12
13
14
Ordering
15
Bag : Collection of elements with duplicate allows Sequence : An ordered collection of elements with duplicate allows
16
Association Class
17
Association Class
18
Association Class
19
Association Class
20
Association Class
21
Qualified Association
QA is an association in which an attribute called qualifier disambiguates the objects for a many association ends.
22
23
24
25