Second extension to include credit card system Credit Card System Billing Services Customer Manager Refueling Parking )Maintenance
Second extension to include credit card system Billing Services Refueling Parking Maintenance Customer Manager Credit Card System
Third extension to include inventory and accounting Customer Printer system Billing Credit card Services ystem Accounting System Manager( Refueling)( Parking)Maintenance) Controlling g Inventory Fuel Ordering Parts Ordering system system
Third extension to include inventory and accounting Billing Services Maintenance Refueling Parking Customer Manager Credit Card System Printer system Accounting System Controlling Inventory Fuel Ordering system Parts Ordering system
Use uml to represent oo OMG(Object Management Group have adopted UML as the oo notational standard UML can be used to visualize, specify, or document a problem UML can be used throughout the software development process
Use UML to Represent OO • OMG(Object Management Group)have adopted UML as the OO notational standard. • UML can be used to visualize, specify, or document a problem. • UML can be used throughout the software development process
UML diagrams Static view is depicted with Use case(用例图) Class diagrams(类图) Package diagrams(包图) Deployment diagrams(配置图) Dynamic view is depicted with State diagrams(状态图) Activity diagram(活动图) - Sequence diagrams(顺序图) Collaboration diagrams(合作图) Restrictions and formalization Be expressed with ocl(object constraint language)
UML diagrams • Static view is depicted with – Use cases(用例图) – Class diagrams(类图) – Package diagrams(包图) – Deployment diagrams(配置图) • Dynamic view is depicted with – State diagrams(状态图) – Activity diagrams(活动图) – Sequence diagrams(顺序图) – Collaboration diagrams(合作图) • Restrictions and formalization – Be expressed with OCL(object constraint language)
Oo System Design Five levels of oo design Identify subjects Identify classes and objects Identify attributes Identify structures Identify services
OO System Design • Five levels of OO design – Identify subjects – Identify classes and objects – Identify attributes – Identify structures – Identify services