The rea dsl
This presentation is the property of its rightful owner.
Sponsored Links
1 / 28

The REA-DSL PowerPoint PPT Presentation


  • 74 Views
  • Uploaded on
  • Presentation posted in: General

The REA-DSL. A Domain Specific Language For The Resource-Event-Agent Ontology. C. Sonnenberg , C. Huemer , B. Hofreiter , D. Mayrhofer , A. Braccini TU Vienna , University of Liechtenstein , LUISS University. Dieter Mayrhofer. Background and Motivation. Fish Company Business Model.

Download Presentation

The REA-DSL

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


The rea dsl

The REA-DSL

A Domain Specific Language For The Resource-Event-Agent Ontology

C. Sonnenberg, C. Huemer, B. Hofreiter, D. Mayrhofer, A. Braccini

TU Vienna, University of Liechtenstein, LUISS University

Dieter Mayrhofer


Background and motivation

Background and Motivation

Fish Company Business Model

Sy’s Fish Sale Company


The rea ontology

The REA Ontology

REA Example

REA meta model

REA object constellation

inside

outside


Motivation

Motivation

Complex REA Models

Creating an easy to understand domain specific language for REA


Systematic development of domain specific languages

Systematic Development of Domain Specific Languages

By Strembeck and Zdun

Identify elements in the REA ontology

Derive the abstract syntax of the REA model including the core language model and the language model constraints (multiple revision cycles)

Define the DSL behavior, i.e. determining how the language elements of the DSL interact to produce the intended behavior

Define the DSL concrete syntax

Implement a modeling tool support for the DSL

Skipped integrating the DSL into a software platform


The rea dsl1

The REA-DSL

Overview

Old model

New REA-DSL model: three model types

  • Duality model

  • Value chain model

  • Resource model


The rea dsl

REA Commitments

Event

I

EventSeries

R1

RS2

RS4

R3


The rea dsl2

The REA-DSL

Duality Model

Meta model

Model instance


The rea dsl3

The REA-DSL


The rea dsl4

The REA-DSL

Value Chain Model

Meta model

Model instance


The rea dsl

PayrollProcess

Buying

Cash

Cash

CashDisbursementLabor

PaymentForFish

Labor

Fisherman

Cashier

Cashier

Worker

Fish

Labor

FishObtained

LaborAquisition

Worker

Purchaser

Fisherman

Human Resource

Cleaning

Transport

TruckAcquisition

Selling

Fish

Fish

TransportIn

CleanIn

PaymentForTruck

Labor

FishSale

Cash

Truck

Labor

Fish

Labor

Driver

Cleaner

Customer

Cashier

Truck Rental

Salesman

TruckLease

Truck

CleanOut

Payment

Fish

Cash

Fish

TransportOut

Customer

Cashier

Truck Rental

Logistics

Driver

Cleaner


The rea dsl

TypeLevel

Planning

Car

CarSale

T

Salesman

T

T

I

Payment

CarSellCommitment

Salesman

Mechanic

Customer

Reciprocity

Extras

Cash

T

Customer

T

Cashier

Customer

PayCommitment


The rea dsl

Operational Level

Car

CarSale

I

Payment

Salesman

Mechanic

Customer

DUALITY

Extras

Cash

Cashier

Customer


The rea dsl

Commits

Customer

CommitmentCarSale

EmployeeType

Employee

CustomerType

CarSaleType

Car

CarType

John

Ferrari/#2S34XXZ

Salesman

Order1/1.3.2011

Ferrari F40

RegularCustomer

Regular Sale

Mr. Woodfield

Max

Cashier

SpecialCustomer

Order2/4.3.2011

Jaguar RX

Mr. Penney

Alex

Rudi

VW Golf

Mechanic

Mat

Order1 is made on 1.3.2011. Salesman John commits to sell a specific car Ferrari #2S34XXZ of Type Ferrari F40 to the customer Mr. Woodfield.


The rea dsl

Commits

Reserves

Customer

ExtraType

Employee

Extra

EmployeeType

Specify #Mechanics

CarSaleType

Car

CarType

SaleCommitExtra

CommitmentCarSale

CustomerType

John

Order1/TomTom1

TomTom/#234ASD

Order1/1.3.2011/

Ferrari/#2S34XXZ

Ferrari F40

Salesman

RegularCustomer

Regular Sale

2

Mr. Woodfield

TomTom

Max

Order1/TomTom2

TomTom/#235XYZ

Cashier

SpecialCustomer

Jaguar RX

Order2/4.3.2011/

Mr. Penney

CarCover

Alex

Rudi

CarCoverFer/#1XXX

Order1/CarCover1

Mechanic

VW Golf

Mat

Order1 is made on 1.3.2011. Salesman John commits to sell a specific car Ferrari #2S34XXZ of Type Ferrari F40 to the customer Mr. Woodfield. Additionally 2 extras of Type TomTom and 1 extra of Type CarCover are reserved. For the actual day of the CarSale Event Salesman Max and two not yet known employees of type Mechanic are reserved.


The rea dsl

Commits

Reserves

Customer

EmployeeType

Extra

CarSaleType

ExtraType

CarSale

CarType

Car

SaleCommitExtra

SaleStockFlowExtra

CustomerType

Employee

CommitmentCarSale

Specify #Mechanics

John

TomTom/#234ASD

Sale1/TomTom1

Order1/TomTom1

Regular Sale

Salesman

Ferrari F40

RegularCustomer

Order1/1.3.2011/2Mecha

Ferrari/#2S34XXZ

2

Mr. Woodfield

TomTom

Sale1/7.3.2011

Max

Order1/TomTom2

TomTom/#235XYZ

Sale1/TomTom2

Cashier

Order2/4.3.2011/1Mecha

Jaguar RX

SpecialCustomer

Mr. Penney

CarCover

Alex

Rudi

CarCoverFer/#1XXX

Sale1/CarCover1

Order1/CarCover1

VW Golf

Mechanic

Mat

Order1 is made on 1.3.2011. Salesman John commits to sell a specific car Ferrari #2S34XXZ of Type Ferrari F40 to the customer Mr. Woodfield. Additionally 2 extras of Type TomTom and 1 extra of Type CarCover is reserved. For the actual day of the CarSale Event Salesman Max and two not yet known employees of type Mechanic are reserved.

Sale1 happens on the 7.3.2011 and is connected to the Commitment Order1. The Ferrari #2S34XXZ, two specific TomToms and one specific CarCover is sold by Salesman Max to the Customer Mr. Woodfield.


The rea dsl

Commits

Reserves

Customer

ExtraType

CarSaleType

Extra

EmployeeType

Employee

SaleCommitExtra

CarSale

SaleStockFlowExtra

MechParticipateSale

Car

CarType

Specify #Mechanics

CommitmentCarSale

CustomerType

John

Sale1/TomTom1

Order1/TomTom1

TomTom/#234ASD

Ferrari F40

Order1/1.3.2011/2Mecha

Sale1/Rudi

Ferrari/#2S34XXZ

RegularCustomer

Regular Sale

Salesman

2

Mr. Woodfield

TomTom

Sale1/7.3.2011

Max

TomTom/#235XYZ

Order1/TomTom2

Sale1/TomTom2

Cashier

Sale1/Alex

Jaguar RX

Order2/4.3.2011/1Mecha

SpecialCustomer

Mr. Penney

CarCover

Alex

Rudi

Sale1/CarCover1

CarCoverFer/#1XXX

Order1/CarCover1

VW Golf

Mechanic

Mat

Order1 is made on 1.3.2011. Salesman John commits to sell a specific car Ferrari #2S34XXZ of Type Ferrari F40 to the customer Mr. Woodfield. Additionally 2 extras of Type TomTom and 1 extra of Type CarCover is reserved. For the actual day of the CarSale Event Salesman Max and two not yet known employees of type Mechanic are reserved.

Sale1 happens on the 7.3.2011 and is connected to the Commitment Order1. The Ferrari #2S34XXZ, two specific TomToms and one specific CarCover is sold by Salesman Max to the Customer Mr. Woodfield. The two Mechanics Rudi and Alex prepare the car.


Conclusion

Conclusion

Unambiguous domain specific language

Easier to understand

Less complexity

Tool support


Thank you

Thank you

Thank you!


Backup

Backup

Backup


The rea dsl5

The REA-DSL

Resource Model

Meta model

Model instance


Future work

Future Work

Adding commitments to REA

PrivateSale

Sale

RestaurantSale

Quantity:int

Book

Fish

Storekeeper

Customer

SalesPerson


Future work1

Future Work

Add properties and derive DB design for enterprise information systems


Future work2

Future Work

Adding types to REA


Future work3

Future Work

Extending REA to support policy infrastructure


Future work4

Future Work

Car and nail resources


  • Login