Introduction To UML What is Unified Modeling Language?•The UML is the standard language for visualizing,specifying, constructing, and documenting theartifacts of a software-intensive system.•It can be used with all processes, throughout thedevelopment life cycle, and across differentimplementation technologies.•The standard for OO systems
Introduction To UML What is UML Represent ?The UML combines the best of the bestfrom:- • Data Modeling concept (Entity Relationship Diagrams) • Business Modeling (work flow) • Object Modeling • Component Modeling
Introduction To UML The Value Of Unified Modeling Language• Is an open standard.• Supports the entire software development lifecycle.• Supports diverse applications areas.• Is based on experience and needs of the user community.• Supported by many tools.
Introduction To UML UML Usage ….• Define the boundaries of a system & its major functions.• Illustrate use cases.• Define the static structure of a system.• Model the behavior of objects.• Document the physical implementation architecture.• Provide for growth.
Introduction To UML Design Method Evolution ….. 1997 OOAD with UML 1990 OOAD 1986 CASE 1986 OOP 1980 4GL 1980 Data Modeling 1980 Structured Analysis 1975 Structured Design 1970 Structured Programming
Introduction To UML UML Support……….. Relationships ORDBMS Oracle Business Objects large scale system Classes Objects Use CasesComponentsMicrosoft Scenarios application partitioning CORBA OMG ActiveX/COM Microsoft Business Process
Object-Oriented Methodology Hint To know About ……•A program will typically consist of objects thatcooperate to solve a task.•An object will typically have attributes (data) andmethods (behavior), this defines the state of theobject and the manner in which the object operate.•Objects communicate by sending messages to eachother. Sending a message to an object is the sameas calling a method of the object.
Object-Oriented Methodology Hint To know About ……- Class: A description of a set of objects that sharethe same attributes, operations, relationships, andsemantics.- Object: A concrete manifestation of anabstraction; an entity with a well defined boundaryand identity that encapsulates state and behavior;an instance of a class.
Car---------------------- Color Type---------------------- Drive Brake Horn
UML Diagram Classifications Diagrams Classifications …….. State State Diagrams Class Use Case Diagrams Use Case Diagrams State Use Case Diagrams Use Case State Use Case Diagrams Diagrams Object Diagrams Sequence Diagrams Diagrams Diagrams Diagrams DiagramsScenario State Scenario StateDiagrams Collaboration Diagrams Component Diagrams Models Diagrams Diagrams Diagrams Scenario Component Scenario Component Diagrams Deployment Diagrams State machine Diagrams Diagrams Diagrams Diagrams Activity Diagrams Static Dynamic
UML Diagram Classifications:- Classification Of UML …..• Use Case Diagrams – Requirements• Activity Diagrams – Generally what, not who - good to detect parallelism• Interaction Diagrams – Sequence Diagrams (timeline) – Collaboration Diagrams (object centered)
UML Diagram Classifications:- Classification Of UML …..• Static Structure Diagrams – Objects/Classes/Packages• State Chart Diagrams – States of objects with interesting lifecycles• Implementation Diagrams – Component Diagrams – Deployment Diagrams
UML Diagram Classifications:- Use Case Diagram ………
UML Diagram Classifications:- Class Diagram ………
UML Diagram Classifications:- Compiled Class Diagram to Java ………