Matakuliah : M0086/Analisis dan Perancangan Sistem Informasi Tahun : 2005 Versi : 5 Pertemuan 7 Structure
Mahasiswa dapat Merumuskan Object dengan Class (C2) 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)
Outline Materi Asosiasi Generalisasi Agregasi
Problem Domain Analysis System Definition Behaviour Classes Structure Model
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
Association Anywhere from one to many Ownership Anywhere from Car Person 0..* 1..* Ownership Anywhere from zero to many Name is optional, but recommended
Aggregation Anywhere from four to many One and Assembly side only one 4..* 1..* 1 Body Motor Wheel Cam Shaft Cylinder Car 2..* Anywhere from four to many One and only one Assembly side Component side (min and max)
Generalisation Group under one generalisation Class without objects Passenger Car Private Car Taxi Group under one generalisation Account Loan Checking Acc. Basic Account Service Acc. Taxi “is a” passenger car or Taxis are a subset of passenger cars Class without objects Multiple inheritance Person Employee Customer
Evaluate systematically Membuat Class Diagram Find candidates for structure Event table Explore patterns Evaluate systematically Class diagram
Contoh Class Diagram Customer Employee Time Slot Other Free Work Day Schedule Time Slot Other Free Work Apprentice Assistant 1 1..* 0..* Appointment
To Be Continue