140 likes | 262 Views
Chapter 4. Things in the System. Examples of “Things” (domain classes) Products Sales Shippers C ustomers Invoices P ayments D omain classes, data entities, same difference. Brainstorming Technique. Partial List of Nouns for RMO With notes on whether to include as domain class.
E N D
Chapter 4 Systems Analysis and Design in a Changing World, 6th Edition
Things in the System • Examples of “Things” (domain classes) • Products • Sales • Shippers • Customers • Invoices • Payments • Domain classes, data entities, same difference Systems Analysis and Design in a Changing World, 6th Edition
Brainstorming Technique Systems Analysis and Design in a Changing World, 6th Edition
Partial List of Nouns for RMOWith notes on whether to include as domain class Systems Analysis and Design in a Changing World, 6th Edition
Attributes and Values Systems Analysis and Design in a Changing World, 6th Edition
Associations Among Things Systems Analysis and Design in a Changing World, 6th Edition
Minimum and Maximum Multiplicity • Associations have minimum and maximum constraints • minimum is zero, the association is optional • If minimum is at least one, the association is mandatory Systems Analysis and Design in a Changing World, 6th Edition
A Simple Domain Model Class Diagram • A customer places zero or more orders • An order is placed by exactly one customer • An order consists of one or more order items • An order item is part of exactly one order Systems Analysis and Design in a Changing World, 6th Edition
Domain Model Class Diagramfor a bank with many branches Systems Analysis and Design in a Changing World, 6th Edition
Domain Model Class Diagramfor course enrollment at a university • Where is each student’s grade remembered in this model? Systems Analysis and Design in a Changing World, 6th Edition
Refined Course Enrollment Modelwith an Association Class CourseEnrollment • Association class— an association that is treated as a class in a many to many association because it has attributes that need to be remembered, such as grade Systems Analysis and Design in a Changing World, 6th Edition
Generalization/SpecializationSuper Class/Subclass, Inheritance Systems Analysis and Design in a Changing World, 6th Edition
Generalization/SpecializationInheritance for the Bank with Special Types of Accounts • A SavingsAccount has 4 attributes • A CheckingAccount Has 5 attributes • Note: the subclasses inherit the associations, too Systems Analysis and Design in a Changing World, 6th Edition
RMO CSMS ProjectSales Subsystem Domain Model Class Diagrams Systems Analysis and Design in a Changing World, 6th Edition