THE LIFE OF AN OBJECT IT SYSTEMS

Similar documents
CONSTRUCTING STATECHART DIAGRAMS

READING STATECHART DIAGRAMS

Five Whys How To Do It Better

Lab 1 The Scientific Method

CAUSAL INFERENCE. Technical Track Session I. Phillippe Leite. The World Bank

How do scientists measure trees? What is DBH?

Assessment Primer: Writing Instructional Objectives

Flipping Physics Lecture Notes: Simple Harmonic Motion Introduction via a Horizontal Mass-Spring System

Flipping Physics Lecture Notes: Simple Harmonic Motion Introduction via a Horizontal Mass-Spring System

BASD HIGH SCHOOL FORMAL LAB REPORT

Subject description processes

We can see from the graph above that the intersection is, i.e., [ ).

A Quick Overview of the. Framework for K 12 Science Education

Writing Guidelines. (Updated: November 25, 2009) Forwards

Kinetic Model Completeness

CS 477/677 Analysis of Algorithms Fall 2007 Dr. George Bebis Course Project Due Date: 11/29/2007

Standard Title: Frequency Response and Frequency Bias Setting. Andrew Dressel Holly Hawkins Maureen Long Scott Miller

CHAPTER 4 DIAGNOSTICS FOR INFLUENTIAL OBSERVATIONS

(2) Even if such a value of k was possible, the neutrons multiply

Overview of the Molecule:

Pipetting 101 Developed by BSU CityLab

Bootstrap Method > # Purpose: understand how bootstrap method works > obs=c(11.96, 5.03, 67.40, 16.07, 31.50, 7.73, 11.10, 22.38) > n=length(obs) >

Weathering. Title: Chemical and Mechanical Weathering. Grade Level: Subject/Content: Earth and Space Science

AP Physics. Summer Assignment 2012 Date. Name. F m = = + What is due the first day of school? a. T. b. = ( )( ) =

If (IV) is (increased, decreased, changed), then (DV) will (increase, decrease, change) because (reason based on prior research).

Purchase Order Workflow Processing

AIP Logic Chapter 4 Notes

This section is primarily focused on tools to aid us in finding roots/zeros/ -intercepts of polynomials. Essentially, our focus turns to solving.

Purpose: Use this reference guide to effectively communicate the new process customers will use for creating a TWC ID. Mobile Manager Call History

Differentiation Applications 1: Related Rates

Science Unit: School year: 2006/2007

Editorial Calendar User Guide

E-Waybill in Tally.ERP9. V e r s i o n : 1. 0 g s a n t r a w e b. c o m w w w. t a l l y h e l p. c o m

NUROP CONGRESS PAPER CHINESE PINYIN TO CHINESE CHARACTER CONVERSION

Interference is when two (or more) sets of waves meet and combine to produce a new pattern.

Getting Involved O. Responsibilities of a Member. People Are Depending On You. Participation Is Important. Think It Through

making triangle (ie same reference angle) ). This is a standard form that will allow us all to have the X= y=

NUMBERS, MATHEMATICS AND EQUATIONS

Matter Content from State Frameworks and Other State Documents

CHAPTER 3 INEQUALITIES. Copyright -The Institute of Chartered Accountants of India

Homology groups of disks with holes

A solution of certain Diophantine problems

CHM112 Lab Graphing with Excel Grading Rubric

Experiment #3. Graphing with Excel

Lecture 13: Markov Chain Monte Carlo. Gibbs sampling

Introduction to Spacetime Geometry

Lab #3: Pendulum Period and Proportionalities

How T o Start A n Objective Evaluation O f Your Training Program

ENSC Discrete Time Systems. Project Outline. Semester

Unit Project Descriptio

The steps of the engineering design process are to:

Lecture 17: Free Energy of Multi-phase Solutions at Equilibrium

Modelling of Clock Behaviour. Don Percival. Applied Physics Laboratory University of Washington Seattle, Washington, USA

WRITING THE REPORT. Organizing the report. Title Page. Table of Contents

SPH3U1 Lesson 06 Kinematics

Chemistry 20 Lesson 11 Electronegativity, Polarity and Shapes

Ecology 302 Lecture III. Exponential Growth (Gotelli, Chapter 1; Ricklefs, Chapter 11, pp )

CESAR Science Case The differential rotation of the Sun and its Chromosphere. Introduction. Material that is necessary during the laboratory

Physics 2010 Motion with Constant Acceleration Experiment 1

o o IMPORTANT REMINDERS Reports will be graded largely on their ability to clearly communicate results and important conclusions.

Aristotle I PHIL301 Prof. Oakes Winthrop University updated: 3/14/14 8:48 AM

Comprehensive Exam Guidelines Department of Chemical and Biomolecular Engineering, Ohio University

Keysight Technologies Understanding the Kramers-Kronig Relation Using A Pictorial Proof

Lecture 5: Equilibrium and Oscillations

Please Stop Laughing at Me and Pay it Forward Final Writing Assignment

Turing Machines. Human-aware Robotics. 2017/10/17 & 19 Chapter 3.2 & 3.3 in Sipser Ø Announcement:

Thermodynamics Partial Outline of Topics

5 th grade Common Core Standards

1996 Engineering Systems Design and Analysis Conference, Montpellier, France, July 1-4, 1996, Vol. 7, pp

Revision: August 19, E Main Suite D Pullman, WA (509) Voice and Fax

AP Literature and Composition. Summer Reading Packet. Instructions and Guidelines

SticiGui Chapter 4: Measures of Location and Spread Philip Stark (2013)

ENG2410 Digital Design Sequential Circuits: Part A

Guide to Using the Rubric to Score the Caspase-3 Pre-Build Model for Science Olympiad National Competition

[COLLEGE ALGEBRA EXAM I REVIEW TOPICS] ( u s e t h i s t o m a k e s u r e y o u a r e r e a d y )

Determining the Accuracy of Modal Parameter Estimation Methods

Romeo and Juliet Essay

Dispersion Ref Feynman Vol-I, Ch-31

UNIT 5: ATOMIC THEORY & THE PERIODIC TABLE CHEMISTRY 215, DUFFEY, CHAPTER 4 & SECTION 6.1

Math 9 Year End Review Package. (b) = (a) Side length = 15.5 cm ( area ) (b) Perimeter = 4xside = 62 m

MODULE FOUR. This module addresses functions. SC Academic Elementary Algebra Standards:

COMP 551 Applied Machine Learning Lecture 5: Generative models for linear classification

Group Color: Subgroup Number: How Science Works. Grade 5. Module 2. Class Question: Scientist (Your Name): Teacher s Name: SciTrek Volunteer s Name:

Building Consensus The Art of Getting to Yes

Principles of Carbonate Reservoirs

Our Lady Star of the Sea Religious Education CIRCLE OF GRACE LESSON PLAN - Grade 1

Medium Scale Integrated (MSI) devices [Sections 2.9 and 2.10]

20 Faraday s Law and Maxwell s Extension to Ampere s Law

Unit 1 Review. Vocabulary: Match the Definition on the left with the term on the right.

LHS Mathematics Department Honors Pre-Calculus Final Exam 2002 Answers

INSTRUMENTAL VARIABLES

Preparation work for A2 Mathematics [2017]

Wagon Markings Guidelines

Kepler's Laws of Planetary Motion

CHAPTER 24: INFERENCE IN REGRESSION. Chapter 24: Make inferences about the population from which the sample data came.

OVERVIEW Properties of Similarity & Similarity Criteria G.SRT.3

THREE DIMENSIONAL SPACE-TIME Lu Shan No.1144, East of Jiuzhou Avenue, Zhuhai , Guangdong Province P. R. China

Phys. 344 Ch 7 Lecture 8 Fri., April. 10 th,

Einstein's special relativity the essentials

BIOLOGY 101. CHAPTER 17: Gene Expression: From Gene to Protein. The Flow of Genetic Information

Transcription:

THE LIFE OF AN OBJECT IT SYSTEMS Persns, bjects, r cncepts frm the real wrld, which we mdel as bjects in the IT system, have "lives". Actually, they have tw lives; the riginal in the real wrld has a life, and ur image, the bject, has a life as well. Thugh these tw lives are related, they d nt necessarily fllw the same curse. Usually, a life starts at birth, creatin, r generatin and ends with death, deletin, r destructin. In between, life fllws a mre r less rdered curse, as illustrated in Figure 4.43: Figure 4.43 The life f a plane T illustrate what we mentined befre we wuld like t take a clser lk at the life f a plane. The plane that we wuld like t lk at is an Airbus A330-223 f Swiss Internatinal Airlines with the registratin number HB-IQI. The birth f the Airbus A330-223 (f the riginal) ccurs, depending n the perspective, at the start f cnstructin r at the first flight. The birth f the bject f the Airbus A330-223 in the IT system ccurs when infrmatin abut the plane is recrded fr the first time. This can be at the pint f purchase, since the plane culd be recrded in the IT system fr

planning purpses, r when the plane is delivered. The initiatr fr the birth f an bject in the IT system is always a mutatin event. Because cmmercial airplanes are ften sld lng befre cnstructin begins, it is pssible that the birth f the bject ccurs befre the (physical) birth f the plane. The death f the riginal has t d with physical destructin. In the case f ur Airbus A330-233 death ccurs at withdrawal r pssibly in a plane crash. The death f the bject ccurs, when the bject is deleted frm the IT system f Swiss Airline. The initiatr fr the death f an bject in the IT system is always a mutatin event. Because cmmercial airplanes are ften sld n after a certain perid f time, it is pssible that the (lgical) death f an bject in the IT system ccurs befre the (physical) death f the riginal. Between birth and death the bject is alive in the IT system, that is, it will be read and changed. It will be read as the result f a query event; it will be changed as the result f a mutatin event (see Query Events and Mutatin Events). As lng as reading and mdifying bjects are nt subject t any restrictins, this is nt especially interesting. It can be described in a simple statechart diagram (see Figure 4.44). Hwever, as sn as rules fr mdificatin have t be bserved, it becmes imprtant t dcument these rules smewhere. Here, we are talking abut dynamic business rules (see Static and Dynamic Business Rules). Dynamic business rules are rules that nly apply at a certain pint in time, namely when a query event r a mutatin event ccurs. The behavir f bjects is largely determined by such dynamic business rules. Examples f dynamic business rules are: A plane cannt be assigned a flight during the time it is in maintenance. A plane cannt be withdrawn as lng as it is still scheduled fr flights. If we take a clser lk at these business rules, we recgnize that they refer t certain events n the ne hand, and t states f the bject n the ther hand: The mutatin event assigning a flight t a plane is nt permitted in the state in maintenance f the bject plane. The mutatin event withdrawing plane is nt permitted in the state flights scheduled f the bject plane. The mutatin event starting plane is nt permitted in the state in transit f the bject plane.

In ther wrds: Fr certain events it shuld be pssible t determine if an event is permitted in the current state f the bject, and hw the bject will react t the event. Cnsider the dynamic business rules that culd apply t the bject plane ticket in a passenger services system. In the behaviral view, ne statechart diagram per class is used t dcument which dynamic business rules have t be fllwed, and which events are allwed in which states f bjects. In the simplest case, all events are allwed. Figure 4.44 shws a simple statechart diagram fr the class frequent flyer card: Figure 4.44 Simple statechart diagram fr the frequent flyer card A new bject is created by the event «M» New Card (1). An bject is deleted by the event «M» Delete Card (2). In between the bject is in the state Nrmal (3), in which "all ther events" (4) are allwed (in a real statechart diagram the events that are actually allwed have t be listed by name instead f the event "all ther events"). If, hwever, we add business rules, the statechart diagram becmes mre cmplex. We wuld like t amend ur statechart diagram with the fllwing rules: It has t be pssible t suspend and reinstate a frequent flyer card. It is nt pssible t add any miles t a suspended frequent flyer card. If we amend ur statechart diagram with the mentined dynamic business rules, the diagram depicted in Figure 4.45 is created:

Figure 4.45 Mre cmplex statechart diagram fr the frequent flyer card A statechart diagram, such as the ne f the frequent flyer card in Figure 4.45, shws n which paths r within which bundaries the life f a frequent flyer card bject can prceed. In the diagram, pssible and impssible chains f events can be recgnized. A pssible flw is, fr instance, «M» new card,«m» add miles, «M» add miles, «M» add miles, «M» suspend card, «M» delete card. An example f a sequence that is nt permitted is: «M» new card, «M» add miles, «M» add miles,«m» suspend card, «M» add miles, «M» delete card. The secnd t last event, «M» add miles, is nt accepted. If the card were unsuspended, miles culd be added t it again. Cnsider whether r nt the fllwing chains f events are permitted accrding t the statechart diagram f the class frequent flyer card in Figure 4.45: «M» add miles, «M» add miles, «M» add miles, «M» delete card, «M» delete card. «M» new card, «M» add miles, «M» suspend card, «M» unsuspend card, «M» add miles, «M» delete card. «M» new card, «M» add miles, «M» suspend card, «M» suspend card, «M» delete card. Generally, the life f an bject fllws such a predetermined curse, meaning that the bject has t fllw certain rules. Thus, the behaviral view is especially imprtant, because it is the jb f the IT system t ensure that these rules are fllwed. It is imprtant that rules are dcumented in a crrect and cmplete manner, t avid misunderstandings n bth the user side and the develper side. In a cmpleted IT system, it shuld nt be pssible fr a user t delete r mdify bjects when it is nt permitted by business rules. In the Hanseatic Merchant's trading ffice, an bject crrespnds t a bk, fr instance, the rder bk, and the clerk wh is respnsible fr that bk. The statechart

diagram f the bject cntains the rules that the clerk has t fllw when he handles the bk. It is his instructin manual. It states, fr example, that an rder that has already been delivered, but that is nt yet paid fr, cannt be canceled. If yu culd sit next t the clerk fr a while and watch him d his wrk, yu wuld be able t see everything that can happen with an rder in the rder bk. It can, fr example, be recrded, mdified, delivered, canceled, r paid fr. The statechart diagram f the behaviral view cntains the result f this bject bservatin.