Matakuliah Tahun Versi : M0086/Analisis dan Perancangan Sistem Informasi : 2005 :5 Pertemuan 7 Structure 1 Learning Outcomes Pada akhir pertemuan ini, diharapkan mahasiswa akan mampu : • Mahasiswa dapat Merumuskan Object dengan Class (C2) • Mahasiswa dapat Menghubungkan Object dan Class (C3) • Mahasiswa dapat Menghubungkan Class (Structure) (C4) 2 Outline Materi • Asosiasi • Generalisasi • Agregasi 3 Problem Domain Analysis System Definition Behaviour Classes Structure Model 4 Menentukan Structure • Dimulai dengan class dan event yang ada pada event table • Tentukan struktur object dan struktur class • Hubungkan antar class • Hasilnya adalah class diagram 5 Association Anywhere from one to many Car 0..* Anywhere from zero to many Ownership 1..* Person Name is optional, but recommended 6 Aggregation Car 1 1 1 1 Body One and only one Anywhere from four to many 1 4..* Motor 1 1..* Cam Shaft Wheel 1 2..* Cylinder Assembly side Component side (min and max) 7 Generalisation Passenger Car Taxi Group under one generalisation Bank book Private Car Person Taxi “is a” passenger car or Taxis are Customer a subset of passenger cars Account Checking Class without objects Employee Loan Service Multiple inheritance 8 Membuat Class Diagram Event table Explore patterns Find candidates for structure Evaluate systematically Class diagram 9 Contoh Class Diagram Customer 1 0..* 0..* Appointment 1 1 1 1..* Employee Day Schedule 1 1..* Apprentice Assistant Time Slot 1 Work Free Other 10 To Be Continue 11
© Copyright 2026 Paperzz