Applying Analysis Patterns 1. Identify the analysis patterns of the domain 2. Modify each analysis pattern: - Change names of classes and relationships - Remove classes and relationships 3. Integrate the modified patterns
KROPPSASPEKT DJURART DJUR MÄTNING KVANTITET PINGVIN LEJON Medelkroppslängd Medelvikt Utbredningsområde DJUR MÄTNING Tidpunkt Aktör KVANTITET Enhet Värde PINGVIN LEJON
A List of Patterns Accountability Pattern – Customer orders carpet Measurement Pattern Observation Pattern Hierarchy Pattern Action Pattern – Carpet production Resource Allocation Pattern – Carpet description Powertype Pattern – Carpets and carpet models
Powertypes VEHICLE TYPE would have instances such as: Car, Truck, Boat, Bike, MC, Aeroplane, ... VEHICLE TYPE 1 * VEHICLE would have instances such as: abc123 (which is a Car), vv22 (which is a Boat), ... VEHICLE
Powertypes DJURART 1 * DJUR
Observation Pattern Kroppsaspekter Djur Mått Kvantitet Measurements and category obser-vations can be combined into one pattern. Kroppsaspekter 1 * 1 * Djur Mått * 1 Kvantitet
Observation Pattern Fenomentyp Djurart Artobservation Kategori Measurements and category obser-vations can be combined into one pattern. Fenomentyp 1 * 1 * Djurart Artobservation Kategori observation Mått * * 1 1 Kvantitet Kategori
Fenomentyp 1 * 1 * Djur Djurobservation Mått * 1 Kvantitet
Djur Djurobservation Djurart Artobservation Fenomentyp Observation 1 * Artobservation Fenomentyp 1 Observation * Kategori observation Mått * * 1 1 Kvantitet Kategori
The Carpet Case 1. Identify the analysis patterns of the domain A customer orders a carpet - Accountability Pattern Carpets and carpet models - Powertypes Carpet description - Resource Allocation Pattern Carpet production - Action Pattern Booking for production - Resource Allocation Pattern
Accountability Pattern CUSTOMER ORDER From To TIME POINT 1 * * * responsible commissioner Name Address SALESMAN 1 1 CUSTOMER
Accountability Pattern ACCOUNTABILITY TYPE ACCOUNTABILITY TIME PERIOD commissioner responsible PARTY PERSON ORGANISATION ORDER TIME POINT ordered_by sold_by CUSTOMER SALESMAN
Powertypes Pattern Form Size Price KnotCount Colours CARPET MODELS Pattern Form Size Price KnotCount Colours VEHICLE TYPE would have instances such as: Car, Truck, Boat, Bike, MC, Aeroplane, ... 1 * VEHICLE would have instances such as: abc123 (which is a Car), vv22 (which is a Boat), ... CARPET
Powertypes CARPET MODEL Price Colours Size KnotCount Form CARPET CarpetId
CARPET PRODUCTION ORDER Action Pattern PERSON An action is carried out by a party at a certain point in time at a certain location. FACTORY TIME POINT An action may be only proposed or it may be implemented, i.e. carried out. CARPET PRODUCTION ORDER CARPET PRODUCTION
CARPET PRODUCTION ORDER Action Pattern PERSON FACTORY TIME POINT CARPET PRODUCTION ORDER CARPET PRODUCTION
Resource Allocation Pattern RESOURCE TYPE ASSET TYPE 1 CARPET MODEL * 1 RESOURCE NEED * Quantity
Resource Allocation Pattern RESOURCE TYPE MACHINE 1 1 * MACHINE USE RESOURCE ALLOCATION From To Quantity 1 * GENERAL RA SPECIFIC RA * CARPET PROD ORDER
Resource Allocation Pattern RESOURCE TYPE RESOURCE NEED Quantity CARPET MODEL
Resource Allocation Pattern RESOURCE TYPE MACHINE 1 1 * MACHINE USE Quantity RESOURCE ALLOCATION From To 1 * GENERAL RA SPECIFIC RA *
CUSTOMER SALESMAN PERSON TIME POINT FACTORY CUSTOMER ORDER CARPET MODEL TIME POINT CARPET PRODUC- TION ORDER RESOURCE NEED CARPET CARPET PRODUCTION RESOURCE TYPE MACHINE RESOURCE ALLOCATION MACHINE USE GENERAL RA SPECIFIC RA
CUSTOMER SALESMAN PERSON FACTORY ORDER CARPET MODEL TIME POINT CARPET PRODUC- TION ORDER RESOURCE NEED CARPET CARPET PRODUCTION RESOURCE TYPE MACHINE RESOURCE ALLOCATION MACHINE USE GENERAL RA SPECIFIC RA
CUSTOMER SALESMAN PERSON TIME POINT FACTORY ORDER CARPET MODEL TIME POINT CARPET PRODUC- TION ORDER RESOURCE NEED CARPET CARPET PRODUCTION RESOURCE TYPE MACHINE RESOURCE ALLOCATION MACHINE USE GENERAL RA SPECIFIC RA
Powertypes VEHICLE TYPE would have instances such as: Car, Truck, Boat, Bike, MC, Aeroplane, ... VEHICLE TYPE 1 * VEHICLE would have instances such as: abc123 (which is a Car), vv22 (which is a Boat), ... VEHICLE
Powertypes MÄNNISKOART VERKTYGSTYP Artnamn Verktygsnamn Längd Vikt Period Verktygsnamn MÄNNISKA VERKTYG Id Id
Measurement Pattern Phenomenon type Object Measurement Quantity 1 * 1 * 1 Object Measurement * Quantity The Measurement Pattern enables a compact representation of quantitative properties. A measurement measures the quantity of a phenomenon type for a certain object.
Measurement Pattern Phenomenon type Object Measurement Quantity 1 * 1 * 1 Object Measurement * Quantity The Measurement Pattern enables a compact representation of quantitative properties. A measurement measures the quantity of a phenomenon type for a certain object.
Mätning 1 MÄNNISKOEGENSKAP Namn MÄNNISKA MÄTNING KVANTITET Id Tidpunkt Observatör Enhet Värde
Mätning 2 VERKTYGSEGENSKAP Namn VERTYG MÄTNING KVANTITET Id Tidpunkt Observatör Enhet Värde
VERKTYGSTYP MÄNNISKOART VERKTYG MÄNNISKA MÄNNISKO EGENSKAP VERKTYGS EGENSKAP MÄNNISKOMÄTNING VERKTYGSMÄTNING KVANTITET MÄTNING PLATS
VERKTYGSTYP MÄNNISKOART VERKTYG MÄNNISKA MÄNNISKO EGENSKAP VERKTYGS EGENSKAP MÄNNISKOMÄTNING VERKTYGSMÄTNING KVANTITET MÄTNING PLATS
VERKTYGSTYP MÄNNISKOART VERKTYG MÄNNISKA MÄNNISKO EGENSKAP VERKTYGS EGENSKAP MÄNNISKOMÄTNING VERKTYGSOBSERVATION VERKTYGS KATEGORISERING VERKTYGS MÄTNING MÄTNING KVANTITET KATEGORI OBSERVATION PLATS