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
A List of Patterns Accountability Pattern Measurement Pattern Observation Pattern Hierarchy Pattern Action Pattern Resource Allocation Pattern Powertype Pattern
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 Phenomenon type Object Observation Category Measurements and category obser-vations can be combined into one pattern. Phenomenon type 1 * 1 * Object Observation Category observation Measurement * * 1 1 Quantity Category
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 Name ACCOUNTABILITY TYPE ACCOUNTABILITY From To TIME PERIOD 1 * 1 * * * commissioner Name Address PARTY responsible 1 1 PERSON ORGANISATION
Accountability Pattern ACCOUNTABILITY TYPE ACCOUNTABILITY TIME PERIOD commissioner responsible PARTY PERSON ORGANISATION ORDER TIME POINT ordered_by sold_by CUSTOMER SALESMAN
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 CARPET MODEL Price Colours Size KnotCount Form CARPET CarpetId
Action Pattern An action is carried out by a party at a certain point in time at a certain location. PARTY TIME POINT ACTION LOCATION An action may be only proposed or it may be implemented, i.e. carried out. PROPOSED ACTION IMPLEMENTED ACTION
CARPET PRODUCTION ORDER Action Pattern PERSON FACTORY TIME POINT CARPET PRODUCTION ORDER CARPET PRODUCTION
Resource Allocation Pattern RESOURCE TYPE ASSET TYPE ASSET 1 * 1 1 * TEMPORAL RESOURCE RESOURCE ALLOCATION From To Quantity 1 * GENERAL RA SPECIFIC RA *
Resource Allocation Pattern RESOURCE TYPE ASSET TYPE ASSET 1 * 1 1 * TEMPORAL RESOURCE RESOURCE ALLOCATION From To Quantity 1 * GENERAL RA SPECIFIC RA *
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 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