Posts

Showing posts from July, 2023

UML RELATIONS

Working with Relationships 1. Associations-An association is a structural relationship that describes a set of links, each link being a connection among objects 2. Multiplicity 3. Qualified Associations 4. Reflexive Associations 5. Inheritance and Generalization – A Generalization is a relationship in which objects of the specialized element(child) are substitutable for objects of the generalized element(parent) 6. Dependencies – A dependency is a semantic relationship between two things in which a change to one thing may affect the semantics of the other thing

Use case diagram for bank

Image

Rules of the UML

Semantic Rules of the UML • Names-things,Relationships and diagrams • Scope-specific meaning to a name • Visibility-how these names can be seen and used by others • Integrity-things properly and consistently relate to one another • Exception-It means to run or simulate a dynamic model

Understanding Object Oriented Analysis and Design

Understanding Object-Orientation 1. Abstraction means to filter out an object properties and operations until just the ones you need are left 2. Inheritance means one class acquire the properties of another class 3. Polymorphism means an operation can have the same name in different classes, and proceed differently in each class 4. Encapsulation means binding of data members and member functions The Components of the UML-Unified Modelling Language • The UML consists of a number of graphical elements that combine to form diagrams • The purpose of the diagrams is to present multiple views of a System, and this set of multiple views is called a model. 1. Use case diagrams The use case analysis describes the behavior of a system The main purpose of a use case diagram is to portray the dynamic aspect of a system. • Functionalities to be represented as use case • Actors • Relationships among the use cases and actors There can be 5 relationship types in a use case diagram. • Association betwe...