TOOM: The Temporal Object Oriented Methodology Centre de Recherche en Informatique University of Paris I - Sorbonne Training Session Patras.

Slides:



Advertisements
Similar presentations
TSQL 2 : QUERY LANGUAGE FOR TEMPORAL DATA CS 224 : Advanced Topics in Data Management.
Advertisements

LeadManager™- Internet Marketing Lead Management Solution May, 2009.
1 3D_XML A three-Dimensional XML-based Model Khadija Ali, Jaroslav Pokorný Czech Technical University Prague - Czech Republic.
BCDM Temporal Domains - Time is linear and totally ordered - Chronons are the basic time unit - Time domains are isomorphic to subsets of the domain of.
Advanced Databases Temporal Databases Dr Theodoros Manavis
New Kind of Logic The first step to approch this questions consists of a new definition of logic operators able to explain the richness of the events happened.
Introduction to Database Management  Department of Computer Science Northern Illinois University January 2001.
A Practical Introduction to Transactional Database Modeling and Design Mike Burr.
Temporal Indexing Snapshot Index. Transaction Time Environment Assume that when an event occurs in the real world it is inserted in the DB A timestamp.
Temporal Databases. Outline Spatial Databases Indexing, Query processing Temporal Databases Spatio-temporal ….
Irwin/McGraw-Hill Copyright © 2004 The McGraw-Hill Companies. All Rights reserved Whitten Bentley DittmanSYSTEMS ANALYSIS AND DESIGN METHODS6th Edition.
Temporal Databases. Outline Spatial Databases Indexing, Query processing Temporal Databases Spatio-temporal ….
Modified from Sommerville’s originalsSoftware Engineering, 7th edition. Chapter 8 Slide 1 System models.
Client State Management & Application Security  Client State Management  Concept  ASP Examples  Application Security  Database Based Approach 
Databases and Database Management System. 2 Goals comprehensive introduction to –the design of databases –database transaction processing –the use of.
Sharif University of Technology Session # 7.  Contents  Systems Analysis and Design  Planning the approach  Asking questions and collecting data 
DBMS1 Database Management System (DBMS) Introductory Concepts Week-1.
Software Development Unit 2 Databases What is a database? A collection of data organised in a manner that allows access, retrieval and use of that data.
The chapter will address the following questions:
Chapter 3 Object-Oriented Analysis of Library Management System(LMS)
CPT 140 Programming Constructs1 OBJECT ORIENTED TECHNOLOGY Terminology and Basic Concepts.
Page 1 of 53 The Work In Progress functionality of Transfers enables you to retrieve a transfer request, view/change the request status depending on your.
Chapter 5: Modeling Systems Requirements: Events and Things
Modeling Systems Requirements: Events and Things.
Information storage: Introduction of database 10/7/2004 Xiangming Mu.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 2-1 David M. Kroenke’s Chapter One: Why DB? Database Processing: Fundamentals,
Systems Analysis and Design in a Changing World, Fifth Edition
Chapter 4 System Models A description of the various models that can be used to specify software systems.
1 CMPT 275 Software Engineering Requirements Analysis Phase Requirements Analysis Activity (Identifying Objects, Scenarios) Janice Regan,
5 Systems Analysis and Design in a Changing World, Fourth Edition.
Chapter 2 Data Models Database Systems: Design, Implementation, and Management, Rob and Coronel Adapted for INFS-3200.
ObjectStore Database System By C. Lamb, G Landis, J.Orenstein, L. Weinreb Presentation by Meghana Chemburkar December 4, 2002 Instructor: Dr.Vasilis Megalooikonomou.
Sommerville 2004,Mejia-Alvarez 2009Software Engineering, 7th edition. Chapter 8 Slide 1 System models.
© 2005 Prentice Hall10-1 Stumpf and Teague Object-Oriented Systems Analysis and Design with UML.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 14 Slide 1 Object-oriented Design.
Chapter 9 Applying UML and Patterns -Craig Larman
1 15 quality goals for requirements  Justified  Correct  Complete  Consistent  Unambiguous  Feasible  Abstract  Traceable  Delimited  Interfaced.
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design, 2 nd Edition Copyright 2003 © John Wiley & Sons, Inc. All rights reserved.
5 Systems Analysis and Design in a Changing World, Fifth Edition.
Object Oriented Design Jerry KotubaSYST Object Oriented Methodologies1.
INTERNET BANKING SYSTEM Mohamed Hassan Ali Supervisor : Mr Michael Norman.
INTRODUCTION lecture1 1. Data base concept Data is a meaningless static value. What does 3421 means? Information is the data you process in a manner that.
UB & UC An Update on Resource Sharing Developments.
CS212: Object Oriented Analysis and Design Lecture 32: Use case and Class diagrams.
SPATIO-TEMPORAL DATABASES Temporal Databases. Temporal Data. Modeling Temporal Data Temporal Semantics Temporal density: the time is seen as being: 
Temporal Data Modeling
Spatiotemporal GIS Standard GIS: Spatial Characteristics only Implicit time is usually “now” Spatiotemporal GIS: Adds concept of time What happened when.
Data Modeling (Entity Relationship Diagram) Farrokh Alemi, Ph.D. Updated by Janusz Wojtusiak (Fall 2009)
Singleton Academy, Pune. Course syllabus Singleton Academy Pune – Course Syllabus1.
CPT-S Advanced Databases 11 Yinghui Wu EME 49.
Module 5: Managing Content. Overview Publishing Content Executing Reports Creating Cached Instances Creating Snapshots and Report History Creating Subscriptions.
SPECIAL PURPOSE DATABASES 13/09/ Temporal Database Concepts  Time is considered ordered sequence of points in some granularity Use the term choronon.
State Modeling. Introduction A state model describes the sequences of operations that occur in response to external stimuli. As opposed to what the operations.
5 Systems Analysis and Design in a Changing World, Fourth Edition.
5 Chapter 5: Modeling Systems Requirements: Events and Things Systems Analysis and Design in a Changing World.
Databases and DBMSs Todd S. Bacastow January 2005.
Database Management.
Roberta Roth, Alan Dennis, and Barbara Haley Wixom
The Movement To Objects
Systems Analysis and Design
Paolo Terenziani, Alessio Bottrighi, Stefania Montani
Automated Trip Approval
TODL - Temporal Object Definition Language
Introduction lecture1.
Data, Databases, and DBMSs
Temporal Databases.
Temporal Databases.
Chapter 4 System Modeling.
Chapter 6: Architectural Design
Presentation transcript:

TOOM: The Temporal Object Oriented Methodology Centre de Recherche en Informatique University of Paris I - Sorbonne Training Session Patras

The TOOM methodology Training Session Patras

TOOM Methodology Patras, Training Session, Page 3 Introduction Objectives : specification at the analysis level of a temporal database application. Characteristics of a temporal database application : –complex time management (period, interval, relative time) –management of specific granularity of time (week, working day) –managing past «real world» data or «database» data (Valid, Transaction time) –exploitation of the delay of the database refreshment regarding the real world evolution (BiTemporal) –temporal business rules & temporal constraints –intensive exploitation of «past data»

TOOM Methodology Patras, Training Session, Page 4 Introduction - Levels of Abstractions Requirements Analysis levelTOOBIS environment TOOM model Mapping rules

TOOM Methodology Patras, Training Session, Page 5 Introduction - Its Characteristics Based on only one model perspectives managed : structure : What are the pertinent information ? Examples : Copy of a book, Loan, function : how are the activities modified information ? Examples : CreateCopy, ReserveCopy, BorrowCopy dynamic : When are the activities performed ? Examples : Availability of copy

TOOM Methodology Patras, Training Session, Page 6 Concepts Overview the database system Its environment

TOOM Methodology Patras, Training Session, Page 7 Concepts Overview - database system the database system structural aspects : object class, inheritance, aggregation or association link, attribute Subscriber Person Loan Request Copy Book Reservation make concern of ask for

TOOM Methodology Patras, Training Session, Page 8 Concepts Overview - database system the database system dynamic & functional aspects : interval event, operation, condition, factor Subscriber Person Loan Request Copy Reservation create reserve activate c1 Availability of copy

TOOM Methodology Patras, Training Session, Page 9 Concepts Overview - Dynamic view Object Internal EventOperation triggers has a particular state change generating an event occurrence modifies state of Causal approach :

TOOM Methodology Patras, Training Session, Page 10 Concepts Overview - system environment the database system Its environment Actor classes : (1) external event : stimuli coming from the actor requirring the performance of activities on the database (2) external operation : informational message sent by the database system to the actor Subscriber Person Loan Request Copy Reservation create reserve activate c1 Availability of copy (1) (2) subscriber actor

TOOM Methodology Patras, Training Session, Page 11 Concepts Overview - system environment the database system Its environment Subscriber Person Loan Request Copy Reservation create reserve activate c1 send a notification of reservation create Arrival of a loan request Remark : a subscriber acts on the system & information about him is stored in the database

TOOM Methodology Patras, Training Session, Page 12 Concepts Overview - system environment the database system Its environment Subscriber Person Loan Request Copy Reservation (1) (2) Actor class can represent system (1) service offered by the database & asked by the actor (external event) (2) service asked by the database & provided by the actor (external operation) A Library Network

TOOM Methodology Patras, Training Session, Page 13 Concepts Overview - system environment the database system Its environment Subscriber Person Loan Request Copy Reservation A Library Network send a notification of reservation create Arrival of a loan request create reserve c1 activate internal event : based on the last state change of the object

TOOM Methodology Patras, Training Session, Page 14 Concepts Overview - system environment Its environment Calendar class : temporal event : temporal condition satisfied by the current state of the clock requiring the performance of activities on the database  absolute : the 25th of december 1996  periodic : each christmas day  relative to event : 1 month after ev1.time  relative to object : 1 week before the end of loan SubscriberLoan Request Copy Reservation cancel available 2 weeks after the notification

TOOM Methodology Patras, Training Session, Page 15 Concepts Presentation - structure Object class : persistent & relevant information of the application Examples : Subscriber, Loan Request, Copy, Book A persistent collection is attached to an object class Object class Snapshot class Temporal class

TOOM Methodology Patras, Training Session, Page 16 Concepts Presentation - Calendar Class Library a name an origin a basic unit (granule) an ordered set of granules conversions operations translation operations

TOOM Methodology Patras, Training Session, Page 17 Concepts Presentation - Calendar Class Library User defined time calendars Calendar classObservationCalendar origin="1/01/01/0000"basic unit=hour of Gregoriancalendar granules turn : { 6 basic unit, basic unit = 6 turns} day : { 4 turns, turn=1/4 day} month : { irregular} year : {12 months, month=1/12 year} operations instant operator + (instant, interval ) interval operator + (instant, instant ) instant operator - (instant, instant ) instant conversion ( ) instant ObservationCalendar *> conversion ( ) EndClass

TOOM Methodology Patras, Training Session, Page 18 Concepts Presentation - Snapshot class class without time management a snapshot class is equivalent to a OOM object class «only the current state exists in the database» Basic class : COPY properties reference : string lifespan : PERIOD state : copy_state loans : inverse (zeromany, LOAN.copy) notices : inverse (zeromany, NOTICE.copy) constraints unique(Copies,reference) operations COPY purchase(c:structure(COPY)) type create reservation() type update availability() type update check out() type update wear out() type update loss() type update deletion() type update queries boolean $exist_copy_available() internal-events availability of copy Example of temporal domains –Birthday: Instant-A –Loan period: Period –Task effort: Interval

TOOM Methodology Patras, Training Session, Page 19 Concepts Presentation - Temporal Class Class managing valid or/and transaction time(s) the time management is available for all the properties of this class

TOOM Methodology Patras, Training Session, Page 20 Concepts Presentation - Temporal Class (example) Employee has Basic class Function Basic class

TOOM Methodology Patras, Training Session, Page 21 Concepts Presentation - Temporal Class (way of using) Basic class FamilyStatus Basic class assignment Basic class function Basic class salary Basic class State History Person Employee Basic class Employee employeeNumber, name address familyStatus Salary function Basic class Department

TOOM Methodology Patras, Training Session, Page 22 Concepts Presentation - Temporal Class (Valid time definition) –nature of the valid time (instant or period) –granularity of the valid time (granule, calendar) –type of management (state or history) –completeness of the history (complete or partial) –extrapolation function (yes or not) Employee has Basic class Function Basic class VT<period, Gregorian,Day, history, complete> Patient has Basic class weight Basic class VT<instant, Gregorian,Day, history, partial> VT=date of the visit

TOOM Methodology Patras, Training Session, Page 23 Concepts Presentation - Temporal Class (Transaction time definition) –type of management (state or history) Patient has Basic class weight Basic class Patient has Basic class weight Basic class state History

TOOM Methodology Patras, Training Session, Page 24 Concepts Presentation - Temporal Class (Bi-temporal definition) Patient has Basic class weight Basic class VT TT

TOOM Methodology Patras, Training Session, Page 25 Concepts Presentation - Events on temporal class internal event on history : –Three revisions of loan in two years, (based on the state of the history revisions) –Third salary update in one year (based on the history salary of an employee)

TOOM Methodology Patras, Training Session, Page 26 Conclusion Methodology based on temporal aspects Guidelines to the TOOBIS environment (TOODBMS, TODL, TOQL) Compliant to UML