Presentation is loading. Please wait.

Presentation is loading. Please wait.

Conceptual Models. Models A model is a structure that represents certain aspects of some part of the reality.

Similar presentations


Presentation on theme: "Conceptual Models. Models A model is a structure that represents certain aspects of some part of the reality."— Presentation transcript:

1 Conceptual Models

2 Models A model is a structure that represents certain aspects of some part of the reality

3 Purpose of Models -Facilitate communication and create a common view - Studying the reality through studying the model

4 Properties of Models Models simplify Models focus - topographic, political Models lie - Africa, Greenland

5 Conceptual Modelling Fundamental concepts Objects Relationships Attributes Classes

6 Objects Object: phenomenon of interest Concrete objects Napoleon The Eiffel tower A car Abstract objects Beethoven’s fifth symphony The number 7 The currency euro

7 Relationships Relationships describe how objects are associated to each other has_father has_mother owns married_to

8 Attributes Attributes are properties of objects reg. no model year colour name age salary hair colour

9 Classes Classes group together similar objects Concrete classes People Buildings Cars Abstract classes Symphonies Numbers Currencies

10 Example Conceptual Model PERSON CAR owns married to name age salary hair colour reg.no. model year colour

11 Objects in Classes PERSONCAR name: Luc Rolland age: 33 salary: 2700 hair colour: brown name: Gregor van Hee age: 61 salary: 2700 hair colour: white name: Anna van Hee age: 62 salary: 3400 hair colour: white reg. no.: ABC123 model: Ford T year: 1922 colour: black reg. no.: DEF456 model: Renault D year: 1928 colour: green reg. no.: GHI789 model: Ford T year: 1922 colour: black owns married to

12 Example Model Borrowers may borrow books at a library. Each book has a title, one or several authors, and an ISBN number. When a borrower borrows a copy of a book, the date of the loan has to be registered as well as the date when the copy is to be returned. If the borrower returns the copy too late or if it is damaged, she has to pay a fee. If a borrower wants a book which is not available (i.e. it is borrowed by another person), she may make a reservation for the book.

13 Example Model - Objects Borrowers may borrow books at a library. Each book has a title, one or several authors, and an ISBN number. When a borrower borrows a copy of a book, the date of the loan has to be registered as well as the date when the copy is to be returned. If the borrower returns the copy too late or if it is damaged, she has to pay a fee. If a borrower wants a book which is not available (i.e. it is borrowed by another person), she may make a reservation for the book. BOOK COPY BORROWER LOAN classes

14 Example Model - Relationships Borrowers may borrow books at a library. Each book has a title, one or several authors, and an ISBN number. When a borrower borrows a copy of a book, the date of the loan has to be registered as well as the date when the copy is to be returned. If the borrower returns the copy too late or if it is damaged, she has to pay a fee. If a borrower wants a book which is not available (i.e. it is borrowed by another person), she may make a reservation for the book. BOOK COPY BORROWER LOAN classes relationships who what of reserves

15 Example Model - Attributes Borrowers may borrow books at a library. Each book has a title, one or several authors, and an ISBN number. When a borrower borrows a copy of a book, the date of the loan has to be registered as well as the date when the copy is to be returned. If the borrower returns the copy too late or if it is damaged, she has to pay a fee. If a borrower wants a book which is not available (i.e. it is borrowed by another person), she may make a reservation for the book. BOOK COPY BORROWER LOAN classes relationships who what of reserves attributes title authors isbn loandate duedate returndate fee serialno damaged name number


Download ppt "Conceptual Models. Models A model is a structure that represents certain aspects of some part of the reality."

Similar presentations


Ads by Google