תרגול מס' 7

29
ססססס סס'7 OPM Object-Process Methodology ססס ס'

Upload: nerina

Post on 13-Jan-2016

58 views

Category:

Documents


5 download

DESCRIPTION

תרגול מס' 7. OPM Object-Process Methodology חלק א'. What is OPM?. A comprehensive system modeling, engineering and lifecycle support paradigm. Describe the system structure and behavior. OPM Bi-modal Representation. A single diagramming tool: Object-Process Diagram (OPD) - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: תרגול מס'  7

7תרגול מס'

OPM Object-Process Methodology

חלק א'

Page 2: תרגול מס'  7

Analysis of Information Systems 2OPM tutorial 1

What is OPM?

A comprehensive system modeling, engineering and lifecycle support paradigm.

Describe the system structure and behavior.

Page 3: תרגול מס'  7

Analysis of Information Systems 3OPM tutorial 1

OPM Bi-modal Representation

A single diagramming tool:

Object-Process Diagram (OPD)

A corresponding subset of language:

Object-Process Language (OPL)

Page 4: תרגול מס'  7

Analysis of Information Systems 4OPM tutorial 1

OPM Modeling Environment

Object-Process Diagram (OPD)

Object-Process Language (OPL)

OPD Tree

OPCAT is the Object Process CASE Tool

Page 5: תרגול מס'  7

Analysis of Information Systems 5OPM tutorial 1

OPM Elements: Entities and Links

Entity types: Object: A thing that exists for some time State: A situation at which an object can be Process: A thing that transforms an object

Link types: Structural link: A link denoting a persistent

relation between objects Procedural link: A link between a process and

the object it transforms or a state of that object

Page 6: תרגול מס'  7

Analysis of Information Systems 6OPM tutorial 1

OPM: Combining Function and Structure

OBJECT

A thing that exists

PROCESS

A thing thattransforms objects

STATE

Describes theObject’s situation

OPD

OPL

LINKS

Procedural

Structural

Page 7: תרגול מס'  7

Analysis of Information Systems 7OPM tutorial 1

OPM Structural LinksLinks denoting persistent relations between objects

Fundamental: Aggregation-participation Exhibition-characterization Generalization-specialization Classification-instantiation

General: Unidirectional tagged structural relation Bidirectional tagged structural relation

Page 8: תרגול מס'  7

Analysis of Information Systems 8OPM tutorial 1

Aggregation-participation A structural relation between the whole and its parts

Page 9: תרגול מס'  7

Analysis of Information Systems 9OPM tutorial 1

Participation constraints The aggregation-participation link can have participation

constraints on the parts

Page 10: תרגול מס'  7

Analysis of Information Systems 10OPM tutorial 1

Exhibition-characterization A structural relation between a thing and its features

Page 11: תרגול מס'  7

Analysis of Information Systems 11OPM tutorial 1

Generalization-specialization A structural relation between a thing and its

specializations (known as the “is-a” relation)

Page 12: תרגול מס'  7

Analysis of Information Systems 12OPM tutorial 1

Classification-instantiation A structural relation between a thing and its instances

Page 13: תרגול מס'  7

Analysis of Information Systems 13OPM tutorial 1

A structural relation between two things whose semantics is expressed through its tag

General tagged structural link

Unidirectional tagged structural link

Bidirectional tagged structural link

Page 14: תרגול מס'  7

Analysis of Information Systems 14OPM tutorial 1

Structural relation can be associated with various quantities

Participation constraints

Page 15: תרגול מס'  7

Analysis of Information Systems 15OPM tutorial 1

Procedural Links Links denoting how processes relate to objects

Enabling Links Agent link Instrument link

Transforming Links Result/Consumption (input/output) link Effect link

Page 16: תרגול מס'  7

Analysis of Information Systems 16OPM tutorial 1

Agent Link Links a human or a group of humans that trigger the

process or participate in it

Page 17: תרגול מס'  7

Analysis of Information Systems 17OPM tutorial 1

Instrument Link Links a non-human object that the process requires in

order for it to occur or execute

Page 18: תרגול מס'  7

Analysis of Information Systems 18OPM tutorial 1

Result link Object does not exist before the process starts

Page 19: תרגול מס'  7

Analysis of Information Systems 19OPM tutorial 1

Consumption link Object does not exist when the process ends

Page 20: תרגול מס'  7

Analysis of Information Systems 20OPM tutorial 1

A process changes an object’s state

Page 21: תרגול מס'  7

Analysis of Information Systems 21OPM tutorial 1

An OPM modeling exercise

Exercise: What is word processing? The editor uses a word processor in order to convert the content

of a document from raw text to properly edited material. Modeling Steps:

Who/what is involved? The edited document and the editor What are the main processes? Word processing

Inputs and outputs Document’s text What are the transformations? Document’s raw text becomes

edited What are the information elements? Document’s text

Page 22: תרגול מס'  7

Analysis of Information Systems 22OPM tutorial 1

An OPM modeling exercise (cont.)

Page 23: תרגול מס'  7

Analysis of Information Systems 23OPM tutorial 1

תרגיל כיתהמשה החליט לקנות עוגת שוקולד בקונדיטוריית "טוב וטעים". עפ"י המתכון

ביצים, קמח, 3המפקחת חני הכינה את הבצק (לצורך זה היא הייתה זקוקה ל-סוכר, מרגרינה, אבקת אפיה וקקאו) והכניסה אותו לתנור. בזמן האפייה עפ"י

המתכון היא והעובדת דקלה הכינו את ציפוי השוקולד (המצרכים הדרושים חבילות שוקולד ומרגרינה).2הם:

כשהעוגה והציפוי היו מוכנים, חני הוציאה את העוגה מהתנור ויחד עם דקלה שמה את הציפוי שוקולד. לבסוף דקלה קישטה את העוגה עם סוכריות

צבעוניות.

Modeling Steps: Who/what is involved? חני, דקלה What are the main processes? הכנת בצק, אפייה, הכנת ציפוי, ציפוי העוגה, קישוט העוגה

Inputs and outputs חומרי גלם לבצק, בצק, עוגה, חומרי גלם לציפוי, ציפוי, סוכריות

What are the transformations? ח"ג הופכים לבצק, בצק הופך לעוגה, ח"ג הופכים לציפוי What are the information elements? מתכון

Page 24: תרגול מס'  7

Analysis of Information Systems 24OPM tutorial 1

פתרון תרגיל כיתה. והכניסה אותו לתנור2 . המפקחת חני הכינה את הבצק1

Page 25: תרגול מס'  7

Analysis of Information Systems 25OPM tutorial 1

פתרון תרגיל כיתה (המשך)

. בזמן האפייה היא והעובדת דקלה הכינו את ציפוי השוקולד3

Page 26: תרגול מס'  7

Analysis of Information Systems 26OPM tutorial 1

פתרון תרגיל כיתה (המשך). כשהעוגה והציפוי היו מוכנים, חני הוציאה את העוגה מהתנור ויחד עם דקלה4 שמה את הציפוי שוקולד.

Page 27: תרגול מס'  7

Analysis of Information Systems 27OPM tutorial 1

פתרון תרגיל כיתה (המשך). לבסוף דקלה קישטה את העוגה עם סוכריות צבעוניות5

Page 28: תרגול מס'  7

Analysis of Information Systems 28OPM tutorial 1

תרגיל כיתה נוסףחברת "עיניים לשמיים" מוכרת משקפי ראיה בהתאם לנתוני לקוח.

לחברה לקוחות קבועים ולקוחות ארעיים.כאשר לקוח קבוע מגיע לחברה עליו:

לפנות למוכר אשר שולף את טופס הלקוח המתאים לפי מספר 1.לקוח ממערכת "מיאינפו" על מנת להציג ללקוח משקפיים

רצויים.כאשר לקוח ארעי מגיע לחברה עליו:

להיבדק ע"י אופטמטירס – לאחר ביצוע הבדיקה ע"י מכשיר 1.הנקרא "בדקעין" האופטמטירסט ממלא פרטי מספר והאם

קיים צילינדר (כולל גודל) עבור כל עין בטופס לקוח במערכת (בשלב זה הלקוח הופך ללקוח קבוע)

לפנות למוכר על מנת להזין לטופס לקוח את נתוני משקפיים 2.הרצויים הבאים: סוג מסגרת (שלם, חצי, ללא), צורת מסגרת

רצויה (עגול, אליפטי, מרובע), עובי מסגרת וצבע מסגרת.ולבסוף בחירת משקפיים רצויות מתוך מבחר המשקפיים המוצגות

לפניו ע"י המוכר.

Page 29: תרגול מס'  7

Analysis of Information Systems 29OPM tutorial 1

פתרון תרגיל כיתה נוסף