Presented by Ramesh V. Gurram (cm dept 3 rd year ) Class D iagram
A class diagram describes the set of Classes in a system and the static relationships between them. Class diagram
Describes a set of objects having similar: Attributes (status) Operations (behavior) Relationships with other classes Attributes and operations may have their visibility marked: "+" for public "#" for protected "−" for private "~" for package UML Class Diagrams 3 Class Window size: Size visibility: boolean display() hide() Class Name Attributes Operations
Class class is abstract concept each object is instance of a class classes classify objects attribute has no values Class Customer Custno Name Address Order Orderno dateReceived Price Object analysis than values to attributes
Attribute has no values Association is relation between classes Class Diagram Customer Cust_no Name Address Order Order_no Date_Received Price Link is instance of association 1 *
Library Management System
Relationships 1) Association:- Association is a relationship between classes . OR Association is a set of links. It is represented by solid line. Notation
2) Dependancy Dependancy is the relationship between two things in which changes to one thing(independent thing) may affect on other thing(Dependent thing). Notation
3) Genralisation Genralisation is the relationship between a superclass and subclass where subclass shares the properties of superclass . notation
4)Realization Realisation is relationship between classifier, where one classifier specifies A contract and another classifier guarantees to carryout. It is relatiopnship between interface sand classes . notation