Applying Analysis Patterns 1 Identify the analysis patterns

  • Slides: 32
Download presentation
Applying Analysis Patterns 1. Identify the analysis patterns of the domain 2. Modify each

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 Tidpunkt Aktör Medelkroppslängd Medelvikt Utbredningsområde KVANTITET Enhet Värde PINGVIN LEJON

KROPPSASPEKT DJURART DJUR MÄTNING Tidpunkt Aktör Medelkroppslängd Medelvikt Utbredningsområde KVANTITET Enhet Värde PINGVIN LEJON

A List of Patterns • Accountability Pattern – Customer orders carpet • Measurement Pattern

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,

Powertypes VEHICLE TYPE would have instances such as: Car, Truck, Boat, Bike, MC, Aeroplane, . . . 1 * VEHICLE would have instances such as: abc 123 (which is a Car), vv 22 (which is a Boat), . . .

Powertypes DJURART 1 * DJUR

Powertypes DJURART 1 * DJUR

Observation Pattern Kroppsaspekter 1 Djur 1 * * 1 Kvantitet * Mått Measurements and

Observation Pattern Kroppsaspekter 1 Djur 1 * * 1 Kvantitet * Mått Measurements and category observations can be combined into one pattern.

Observation Pattern Measurements and category observations can be combined into one pattern. Fenomentyp 1

Observation Pattern Measurements and category observations can be combined into one pattern. Fenomentyp 1 Djurart 1 * Mått * 1 Kvantitet * Artobservation Kategori observation * 1 Kategori

Fenomentyp 1 Djur 1 * * Djurobservation Mått * 1 Kvantitet

Fenomentyp 1 Djur 1 * * Djurobservation Mått * 1 Kvantitet

Djurart Djurobservation 1 * Artobservation Fenomentyp 1 Observation Mått * 1 Kvantitet * Kategori

Djurart Djurobservation 1 * Artobservation Fenomentyp 1 Observation Mått * 1 Kvantitet * Kategori observation * 1 Kategori

The Carpet Case 1. Identify the analysis patterns of the domain A customer orders

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 TIME POINT CUSTOMER ORDER * * commissioner 1 * responsible SALESMAN 1

Accountability Pattern TIME POINT CUSTOMER ORDER * * commissioner 1 * responsible SALESMAN 1 Name Address CUSTOMER 1 From To

Accountability Pattern ACCOUNTABILITY TYPE commissioner TIME PERIOD responsible PARTY PERSON ORGANISATION ORDER ordered_by CUSTOMER

Accountability Pattern ACCOUNTABILITY TYPE commissioner TIME PERIOD responsible PARTY PERSON ORGANISATION ORDER ordered_by CUSTOMER TIME POINT sold_by SALESMAN

CARPET MODELS Pattern Form Size Price Knot. Count Colours Powertypes VEHICLE TYPE would have

CARPET MODELS Pattern Form Size Price Knot. Count Colours Powertypes VEHICLE TYPE would have instances such as: Car, Truck, Boat, Bike, MC, Aeroplane, . . . 1 * CARPET VEHICLE would have instances such as: abc 123 (which is a Car), vv 22 (which is a Boat), . . .

Powertypes CARPET MODEL Price Colours Size Knot. Count Form CARPET Carpet. Id

Powertypes CARPET MODEL Price Colours Size Knot. Count Form CARPET Carpet. Id

Action Pattern PERSON FACTORY An action is carried out by a party at a

Action Pattern PERSON FACTORY An action is carried out by a party at a certain point in time at a certain location. TIME POINT CARPET PRODUCTION ORDER CARPET PRODUCTION An action may be only proposed or it may be implemented, i. e. carried out.

Action Pattern PERSON FACTORY TIME POINT CARPET PRODUCTION ORDER CARPET PRODUCTION

Action Pattern PERSON FACTORY TIME POINT CARPET PRODUCTION ORDER CARPET PRODUCTION

Resource Allocation Pattern RESOURCE TYPE ASSET TYPE 1 1 * RESOURCE NEED Quantity *

Resource Allocation Pattern RESOURCE TYPE ASSET TYPE 1 1 * RESOURCE NEED Quantity * CARPET MODEL

Resource Allocation Pattern RESOURCE TYPE MACHINE 1 1 * RESOURCE ALLOCATION Quantity MACHINE USE

Resource Allocation Pattern RESOURCE TYPE MACHINE 1 1 * RESOURCE ALLOCATION Quantity MACHINE USE From To 1 * GENERAL RA SPECIFIC RA * CARPET PROD ORDER

Resource Allocation Pattern RESOURCE TYPE RESOURCE NEED Quantity CARPET MODEL

Resource Allocation Pattern RESOURCE TYPE RESOURCE NEED Quantity CARPET MODEL

Resource Allocation Pattern RESOURCE TYPE MACHINE 1 1 * RESOURCE ALLOCATION Quantity MACHINE USE

Resource Allocation Pattern RESOURCE TYPE MACHINE 1 1 * RESOURCE ALLOCATION Quantity MACHINE USE From To 1 * GENERAL RA SPECIFIC RA *

CUSTOMER SALESMAN PERSON TIME POINT FACTORY CUSTOMER ORDER CARPET MODEL TIME POINT CARPET PRODUCTION

CUSTOMER SALESMAN PERSON TIME POINT FACTORY CUSTOMER ORDER CARPET MODEL TIME POINT CARPET PRODUCTION ORDER CARPET PRODUCTION RESOURCE NEED RESOURCE TYPE CARPET MACHINE RESOURCE ALLOCATION MACHINE USE GENERAL RA SPECIFIC RA

CUSTOMER SALESMAN PERSON FACTORY ORDER CARPET MODEL TIME POINT CARPET PRODUCTION ORDER CARPET PRODUCTION

CUSTOMER SALESMAN PERSON FACTORY ORDER CARPET MODEL TIME POINT CARPET PRODUCTION ORDER CARPET PRODUCTION RESOURCE NEED RESOURCE TYPE CARPET MACHINE RESOURCE ALLOCATION MACHINE USE GENERAL RA SPECIFIC RA

CUSTOMER SALESMAN PERSON TIME POINT FACTORY ORDER CARPET MODEL TIME POINT CARPET PRODUCTION ORDER

CUSTOMER SALESMAN PERSON TIME POINT FACTORY ORDER CARPET MODEL TIME POINT CARPET PRODUCTION ORDER CARPET PRODUCTION RESOURCE NEED RESOURCE TYPE CARPET MACHINE RESOURCE ALLOCATION MACHINE USE GENERAL RA SPECIFIC RA

Powertypes VEHICLE TYPE would have instances such as: Car, Truck, Boat, Bike, MC, Aeroplane,

Powertypes VEHICLE TYPE would have instances such as: Car, Truck, Boat, Bike, MC, Aeroplane, . . . 1 * VEHICLE would have instances such as: abc 123 (which is a Car), vv 22 (which is a Boat), . . .

Powertypes MÄNNISKOART VERKTYGSTYP Verktygsnamn Artnamn Längd Vikt Period MÄNNISKA VERKTYG Id Id

Powertypes MÄNNISKOART VERKTYGSTYP Verktygsnamn Artnamn Längd Vikt Period MÄNNISKA VERKTYG Id Id

Measurement Pattern Phenomenon type 1 Object 1 * * Measurement The Measurement Pattern enables

Measurement Pattern Phenomenon type 1 Object 1 * * Measurement The Measurement Pattern enables a compact representation of quantitative properties. * 1 Quantity A measurement measures the quantity of a phenomenon type for a certain object.

Measurement Pattern Phenomenon type 1 Object 1 * * Measurement The Measurement Pattern enables

Measurement Pattern Phenomenon type 1 Object 1 * * Measurement The Measurement Pattern enables a compact representation of quantitative properties. * 1 Quantity A measurement measures the quantity of a phenomenon type for a certain object.

Mätning 1 MÄNNISKOEGENSKAP Namn MÄNNISKA Id MÄTNING Tidpunkt Observatör KVANTITET Enhet Värde

Mätning 1 MÄNNISKOEGENSKAP Namn MÄNNISKA Id MÄTNING Tidpunkt Observatör KVANTITET Enhet Värde

Mätning 2 VERKTYGSEGENSKAP Namn VERTYG Id MÄTNING Tidpunkt Observatör KVANTITET Enhet Värde

Mätning 2 VERKTYGSEGENSKAP Namn VERTYG Id MÄTNING Tidpunkt Observatör KVANTITET Enhet Värde

VERKTYGS EGENSKAP VERKTYGSTYP MÄNNISKOART VERKTYG MÄNNISKA VERKTYGSMÄTNING MÄNNISKOMÄTNING KVANTITET MÄTNING PLATS MÄNNISKO EGENSKAP

VERKTYGS EGENSKAP VERKTYGSTYP MÄNNISKOART VERKTYG MÄNNISKA VERKTYGSMÄTNING MÄNNISKOMÄTNING KVANTITET MÄTNING PLATS MÄNNISKO EGENSKAP

VERKTYGS EGENSKAP VERKTYGSTYP MÄNNISKOART VERKTYG MÄNNISKA VERKTYGSMÄTNING MÄNNISKOMÄTNING KVANTITET MÄTNING PLATS MÄNNISKO EGENSKAP

VERKTYGS EGENSKAP VERKTYGSTYP MÄNNISKOART VERKTYG MÄNNISKA VERKTYGSMÄTNING MÄNNISKOMÄTNING KVANTITET MÄTNING PLATS MÄNNISKO EGENSKAP

VERKTYGS EGENSKAP VERKTYGSTYP MÄNNISKOART VERKTYG MÄNNISKA VERKTYGSOBSERVATION MÄNNISKOMÄTNING VERKTYGS KATEGORISERING VERKTYGS MÄTNING KATEGORI OBSERVATION

VERKTYGS EGENSKAP VERKTYGSTYP MÄNNISKOART VERKTYG MÄNNISKA VERKTYGSOBSERVATION MÄNNISKOMÄTNING VERKTYGS KATEGORISERING VERKTYGS MÄTNING KATEGORI OBSERVATION PLATS MÄNNISKO EGENSKAP KVANTITET