I nte rna t io na l J o urna l o f   E lect rica l a nd   Co m p ute E ng in ee ring   ( I J E CE )   Vo l .   7 ,   No .   5 Octo b e r   2 0 1 7 ,   p p .   2 8 2 3 ~2 832   I SS N:  2 0 8 8 - 8708 DOI : 1 0 . 1 1 5 9 1 / i j ec e . v7 i 5 . pp 2 8 2 3 - 2 832          2823       J o ur na l ho m ep a g e h ttp : //ia e s jo u r n a l.c o m/o n lin e/in d ex . p h p /I JE C E   Co nv erting UML   C la ss   D ia g ra m i nto  T e m po ra O b ject  R ela tiona D a ta B a se       Ain E l H a y a t   So u m iy a ,   B a ha j   M o ha m ed    De p a rtme n o f   M a th e m a ti c s an d   Co m p u ter S c ien c e ,   Ha ss a n   1 st Un iv e rsit y ,   S e tt a t,   M o r o c c o         Art icle  I nfo     AB ST RAC T     A r ticle  his to r y:   R ec eiv ed   Dec   1 4 ,   2 0 1 6   R ev i s ed   Ma y   1 ,   2 0 1 7   A cc ep ted   A ug   11 ,   2 0 1 7       Nu m b e o f   a c ti v e   re se a rc h e rs  a n d   e x p e rts,   a re   e n g a g e d   to   d e v e lo p   a n d   im p le m e n n e w   m e c h a n ism   a n d   f e a tu re in   ti m e   v a r y in g   d a tab a se   m a n a g e m e n s y st e m   ( T V DBMS ),   to   re sp o n d   to   th e   re c o m m e n d a ti o n   o f   m o d e rn   b u sin e ss   e n v iro n m e n t. T im e - v a r y in g   d a ta  m a n a g e m e n h a b e e n   m u c h   tak e n   in to   c o n si d e ra ti o n   w it h   e it h e th e   a t tri b u te  o r   t u p le  t ime   sta m p in g   sc h e m a .   Ou m a in   a p p ro a c h   h e r e   is  to   try   to   o f f e a   b e tt e so lu ti o n   to   a ll   m e n ti o n e d   li m it a ti o n o f   e x isti n g   w o rk s,  in   o rd e to   p ro v i d e   th e   n o n - p ro c e d u ra d a ta  d e f in it io n s,  q u e ri e o f   te m p o ra d a ta  a c o m p lete   a p o ss ib le  tec h n ica c o n v e rsio n   , th a a ll o w   to   e a sil y   re a li z e   a n d   sh a re   a ll   c o n c e p tu a l   d e tails  o f   th e   UML   c las sp e c i f ic a ti o n s,  f ro m   c o n c e p ti o n   a n d   d e si g n   p o i n o f   v ie w .   T h is  p a p e c o n tri b u tes   to   re p re se n a   lo g ica d e si g n   sc h e m a   b y   UML   c las d iag r a m s,  w h ich   a r e   h a n d led   b y   ste re o t y p e to   e x p re ss   a   te m p o ra o b jec re latio n a d a tab a se   w it h   a tt rib u te t im e sta m p in g .   K ey w o r d s :   Me ta - m o d el   T em p o r al  d atab ase   T im v ar y i n g   UM L   cla s s     Valid   ti m e   Co p y rig h ©   2 0 1 7   In stit u te o A d v a n c e d   E n g i n e e rin g   a n d   S c ien c e   Al rig h ts  re se rv e d .   C o r r e s p o nd ing   A uth o r :   A i n   E l H a y at  So u m i y a   Dep ar t m en t o f   Ma th e m at ics a n d   C o m p u ter   Scien ce ,   Hass a n   1 s t U n iv er s it y ,   Se ttat,  Mo r o cc o ,   E m ail:  s o u m y a . ai n el h a y a t@ g m ail. co m       1.   I NT RO D UCT I O N     A   T e m p o r al  o b j ec r elatio n al  d atab ase  is   a   co llectio n   o f   1 NF,  n o n - N F,  a n d   /o r   t y p ed   tab les.  T em p o r al  d ata  r ep r esen tatio n   h as  b ee n   f o r m ed   w it h   t w o   d if f er en ti m esta m p i n g   s c h e m e s :   t u p le  an d   attr ib u te.   T u p le  ti m esta m p in g   u s e s   t h f ir s n o r m al   f o r m   ( 1 NF)   r elatio n s   to   s to r ti m e - v ar ian d ata.   A ttrib u te   ti m e s ta m p i n g   r eq u ir es  n o n - f ir s n o r m al - f o r m   r elatio n s ,   th a d v an ta g o f   attr ib u te  t i m e s ta m p in g   is   t h at  v alu e s   o f   ti m e - v ar ian t a ttrib u tes ar g r o u p ed   to g eth er   an d   s to r ed   as a   u n it i n   o n co l u m n [ 1 ] .   T h liter atu r o n   te m p o r al  d at ab ase  o f f er s   t h r ee   d i m e n s io n s   o f   ti m f o r   te m p o r al  d ata  s u p p o r t,  w h ic h   ar in d ep en d en ea ch   to   o th er :   tr an s ac tio n   ti m e,   v alid   ti m e,   u s er - d ef i n ed   ti m e.   Valid   ti m is   th p er io d   d u r in g   w h ic h   r o w   is   o cc u r r ed   in   th r ea lit y   i n   th d atab ase,   it  is   th f ac as  i s   v alid   in   t h m o d eled   in   t h r ea l.   T r an s ac tio n   ti m a u to m atica ll y   ca p tu r es c h an g e s   m ad to   th s tate  o f   ti m e - v ar ia n t d ata  i n   d atab ase  [ 2 ] . User - d ef in ed   ti m is   t i m e   th a u s er s   i n p u ac co r d in g   to   t h eir   n ee d s   [ 3 ] .   T h er is   also   a n o th er   d i m e n s io n   o f   te m p o r al  d atab ase  ca lled   b ite m p o r al  d ata.   B item p o r al  d atab ase  s y s te m s   s u p p o r b o th   v a lid   ti m a n d   tr an s ac tio n   ti m e.   O n   t h o th e r   h an d ,   b ite m p o r al  d atab ases   m o d el  o u r   ch a n g in g   k n o w led g o f   th c h a n g i n g   w o r ld ,   h e n ce   ass o ciate   d ata  v alu es  w i th   f ac t s   an d   al s o   s p ec i f y   w h e n   t h f ac ts   w er v alid .   T h er b y   p r o v id in g   co m p lete  h i s to r y   o f   d ata   v alu e s   a n d   t h eir   c h a n g e s   [ 4 ] .   Sev er al   te m p o r al  d ata   m o d els,  w h ic h   s u p p o r d if f er e n t d i m e n s io n   o f   ti m e,   ar d is cu s s ed   in   p r ev i o u s   w o r k .   T em p o r al  d atab ases   ca p tu r t h h is to r y   o f   o b j ec o r   ac tiv ity   o f   d atab ase.   Si n ce   t h te m p o r al  d ata   m o d el s   u s th e   ter m   o b j ec lo o s el y ,   o n e   w m a y   t h i n k   o f   th p o s s ib ilit y   o f   i n teg r ati n g   n o n - te m p o r al  d atab as e   lan g u a g s u c h   OODB   o r   O R DB .   W ith   n o n - te m p o r al  d ata b ase  lan g u ag e,   it  i s   a   g r ea t   b u r d en   f o r   DB   u s er s   to   d ea w it h   te m p o r al  d ata  all  o n   t h eir   o w n   [ 5 ] .   Fo r   r ep r esen tin g   ti m v ar y i n g   d ata  f r o m   t h r ea w o r ld   in to   o b j ec ts ,   class   d ia g r a m   o f   t h Un i f ied   Mo d elin g   L an g u ag e   ( UM L )   h as  b ec o m e   s ta n d ar d   o f   t h I n f o r m atio n   T ec h n o lo g y .   UM L   i s   a n   in d u s tr y   s ta n d ar d   lan g u a g to   s p ec if y ,   v is u alize ,   co n s tr u ct,   an d   d o cu m e n t h e   Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 0 8 8 - 8708   I J E C E     Vo l.  7 ,   No .   5 Octo b er   2 0 1 7   :   2 8 2 3     2 8 3 2   2824   ar tif ac ts   o f   s o f t w ar s y s te m s   [ 6 ] .   I is   t h i n te n tio n   o f   th i s   p ap er   to   d ev elo p   g en er al  s tr ate g y   f o r   tr an s f o r m atio n   m ec h a n is m   f r o m   UM L   c las s   d iag r a m   in to   o b j ec ts   in   te m p o r al  d atab ase  b ased   o n   OR DB .   T h is   ar ticle  co n tain s   d e f in i tio n s   o f   w id r an g o f   co n ce p ts   s p ec if ic  to   an d   w id el y   u s ed   w ith i n   te m p o r al  d atab ases .   T h ai m s   o f   th i s   w o r k   i s   to   f o r m al ize  th s tep s   in v o l v ed   in   t h tr an s f o r m atio n   f r o m   UM L   class   d ia g r a m s   in to   te m p o r al  Ob j ec t r elatio n al  d atab ase( T OR DB )   h an d li n g   v alid   ti m at  t h attr ib u te.   W w il ex a m in e   an d   s to r d ata  u s i n g   attr ib u te   ti m esta m p i n g .   I n   ad d itio n ,   w e   ad d r ess   t h is s u es  o f   s ea m les s   in te g r atio n   w i th   UM L   m eta m o d el,   a n d   t h u s e f u f ea tu r es  o f   te m p o r al  q u er y   to   r ep r esen t h te m p o r al   d atab ase  s ch e m a.   T h cr ea tio n   o f   t h p r o to ty p is   ca r r ied   o u o n   Or ac le  1 2 C   w ith o u t h d ef in it io n   o f   a n y   n e w   ta m p o r al  cla u s es i n to   SQ L 4 ,   s o   th at  n o   s tu d y   o f   n e w   q u er y   is   n ee d ed .   T h is   p ap er   is   s tr u ctu r ed   as   f o llo w s .   An   o v er v ie w   o f   t h te m p o r al  o b j ec r elatio n al  h as   b ee n   m en tio n ed   in   s ec tio n   3 .   Secti o n   4   th en   d escr ib es  h o w   a n   ex is t in g   UM L   clas s   d iag r a m   i s   en r ich ed   w it h   OC L   to   d ev elo p   m eta - m o d el  o f   t e m p o r al  d atab ase.   T h m ap p i n g   r u les  b et w ee n   UM L   a n d   T OR DB   h av b ee n   p r o p o s ed   in   s ec tio n   5       2.   RE L AT E WO RK   Sig n i f ica n r esear c h es  ad d r ess   th p r o b le m   o f   n u m er o u s   te m p o r al  m o d els  a n d   q u er y   la n g u a g e.   A ta y   co m p ar ed   i n ter v al - b ased   attr i b u te  an d   t u p le  ti m e s ta m p ed   b ite m p o r al  d ata  m o d els,  ac ce s s es   an d   e v al u ated   th eir   u s ab ilit y   u s i n g   t h s a m d ata  an d   s a m q u er ies  f o r   b o th   ap p r o ac h es.  A cc o r d in g   t o   th is   co m p ar i s o n ,   P etk o v iç  ex a m i n ed   th p er f o r m an ce   i m p lica tio n   f o r   tu p le  an d   attr ib u te  ti m e s ta m p i n g ,   t h is   te s s to r ed   d ata   u s i n g   t w o   d i f f er en f o r m s ,   a n d   p er f o r m   t h 3 6   q u er y   o n   b o th .   A   r e s ea r ch   w o r k   i n   [ 7 ]   p r o p o s ed   te m p o r al  o b j ec r elatio n al  SQ L   la n g u a g h a n d lin g   v al id   ti m a th attr ib u te  le v el  i n   a   te m p o r al  tr an s p ar en c y   e n v ir o n m e n h is   p ap er .   T h ap p r o ac h   in   [ 8 ]   p r esen ted   a   d atab ase  ap p licatio n   d ev elo p m en en v i r o n m en f o r   b o th   te m p o r al  an d   n o n - te m p o r al  u s i n g   SQ L 2 0 0 3   f o llo w in g   th attr ib u te  ti m e s t a m p in g .   C o m p ar is o n   o f   th r ee   d if f er en s to r ag m o d els  ( OODB ,   OR DB ,   an d   XM L )   f o r   th p ar a m etr ic  te m p o r al  d ata  m o d el  an d   esti m ate  s to r ag co s ts   ar d is cu s s ed   in   [ 9 ] .     T h e   I SO  ( in ter n atio n al  o r g an izatio n   f o r   s ta n d ar d )   an d   I E C   ( I n ter n atio n al  E lec tr o tech n ica l   C o m m is s io n )   co m m ittee,   i n iti ated   o   p r o j ec to   cr ea te  lan g u a g e x te n s io n   to   s u p p o r tem p o r al   d atab ase,   i s   g iv e n   i n   [ 1 0 ] .   T h m o s i m p o r tan f ea tu r es  i n   SQ L 2 0 1 1   to   cr e ate  an d   m an ip u late   te m p o r al  d atab ase   i m p le m en ted   b y   I B MD B 2 ,   is   d is cu s s ed   in   [ 1 1 ] .   Slav i m ir   Vesić  p r esen ted   te m p o r al  co n c ep an d   f o cu s ed   o n   te m p o r al  f ea t u r es  d ef in ed   i n   SQL:  2 0 1 1   in   DB 2   [ 1 2 ] .   San d r o   R ad o v an o v ić  e v alu a t ed   p er f o r m a n ce   o f   tr ad itio n al  r elatio n al  DB MS  ( R DB MS)   an d   te m p o r al  d atab ases   u s i n g   Or ac le  1 2 DB MS  [ 1 3 ] .   Fro m   th all - o v er h ea d   r esu lt s ,   w co n cl u d th at  m o s p r o p o s ed   s o lu tio n s   co n tai n   li m ited   an d   s i m p le   r u les  co m p ar ed   to   o u r   w o r k ,   n o tab ly   r eg ar d in g   t h s co p an d   m et h o d o lo g y .   W b elie v t h at  s t u d ies   ar b ased   o n   ti m e - v ar ia n d ata  s ch e m t o   m ak e   r ec o r d s   o f   d ata,   n o e v en   co m p leted   to   p r o v id c o m p r e h en s iv e   d ata  m o d el;   esp ec iall y   at   th e   r ep r esen tat io n   le v el.   Als o ,   t h e y   d id   n o co n tr ib u te  to   a n y   f o r m a p r o ce d u r f o r   th e   r ea lizatio n   o f   m ap p in g   m e th o d s .   Ou r   s tu d y   i s   u s i n g   t h co n ce p o f   p r o f iles   t h at  g iv e   t h p o s s ib ilit y   to   u s e   ex ten s io n s   o f   m eta - m o d el s   b ased   o n   s ter eo t y p es  to   ex ten d   class es.  T h s ter eo t y p es  c an   b m ap p ed   in to   te m p o r al  o b j ec r elatio n al  w it h   SQ L   lan g u ag e.   I r eq u ir es  th i m p le m e n tatio n   o f   p r ed ef i n ed   s et  o f   r u les   d ep en d in g   to   t h t y p o f   r eq u ir ed   in   ti m v ar ia n d ata.   I n   F ig u r 2 ,   w s u m m ar ize  an d   ill u s tr ate s   clea r l y   t h e   co m p lete n e s s   o f   o u r   m ap p in g   s tr ateg y ,   th a in cl u d en tit ies,  o b j ec ts ,   an n o tatio n ,   r elatio n s h ip s   b et w ee n   class e s ,   a ttrib u te s   i n   t h eir   v ar i o u s   f o r m s ,   d ata  t y p es,  v al u t y p e s ,   clas s   co n s tr u ct s ,   co n s tr a in t y p es  a n d   m u c h   m o r e.   Du r in g   o u r   cr i tic ized   an al y s i s ,   w f ee t h at  s o m a s p ec ts   o f   ti m v ar ia n d ata  w as  o v e r lo o k ed   in   m an y   w o r k s ,   w h ich   r e f lect  t h at  th c h alle n g f o r   th o s a u t h o r s   w as  o n l y   to   co v er   th te ch n ica p a r o f   th e   s to r ag an d   r etr iev a l   r ath er   t h an   o n   g ai n   f r o m   t h o f f er e d   ad v an tag e s   i n   te m p o r al  o b j ec r elatio n al.   I n   ad d itio n ,   A r ticle s   ab o u t th tr a n s f o r m atio n   f r o m   UM L   class   t o   tem p o r al  d atab ase  ar n o t a s   f r eq u en t.    T h g o al  o f   o u r   w o r k   is   n o m ai n l y   to   cr ea te  b etter   tem p o r al  o b j et  r elatio n al  d atab ase  f r o m   UM L   class   d ia g r a m ,   b u t   to   a f f o r d   w ell   ar r an g ed   a n d   co m p lete   as  p o s s ib le  tr an s f o r m a tio n ,   th a ca n   b co n cr ete   r ef er en ce   f o r   f u r t h er   in v est ig at io n s   a n d   w o r k s   in   t h i s   co m m o n   ar ea .     W cr ea te  o u r   s o lu tio n   b y   co m b i n s e v er al  r es u lt s   f r o m   t h ex is ti n g   m eth o d s   a n d   ap p ly   o u r   en h a n ce m en u s i n g   m eta - m o d el  ap p r o ac h .   Mo r p r ec is el y ,   w p r o p o s th r u le s   th at  f ac ilit ate   th e   tr an s f o r m atio n   f r o m   UM L   class   d iag r a m   i n to   te m p o r al  d atab ase  b ased   o n   OR DB .   T h er ef o r e,   th is   s tu d y   p r esen ts   m eta - m o d el  to   d ef i n s et  o f   s ter eo t y p f o r   th s p ec if icatio n   o f   n e w   c h ar ac ter i za tio n   o f   th v al id   ti m as s o ciate d   w ith   U ML   cla s s   d iag r a m s ,   i n   o r d er   to   m ak co r r ec t d escr ip tio n   o f   d at s tr u ct u r e.           Evaluation Warning : The document was created with Spire.PDF for Python.
I J E C E     I SS N:  2 0 8 8 - 8708       C o n ve r tin g   UML C la s s   Dia g r a ms in to   Temp o r a l O b ject  R ela tio n a l D a ta B a s e   ( A in   E l H a ya t S o u miya )   2825   3.   T E M P O RAL O B J E CT   RE L AT I O NA L   DAT AB ASE   R E P RE SE N T A T I O N   Ob j ec t - R elatio n al  Data b ase  ( OR DB )   is   in cr ea s i n g l y   p o p u la r   as  th d atab ase  s to r ag e.   I ts   p o p u lar it y   is   b ased   o n   its   ab ilit y   to   ca p tu r th o b j ec t - o r ien ted   m o d elin g   s e m an t ic  an d   th m a t u r it y   o f   r elatio n al  i m p le m en ta tio n   [ 1 4 ] .   OR DB   e m er g ed   to   i n co r p o r ate  th o b ject  tech n o lo g y   to   th e   r elatio n   d atab ases ,   allo w in g   th tr ea t m en o f   co m p le x   d ata  t y p an d   d if f er en t y p o f   r el atio n s h ip s .   T o   en h an ce   O R   d atab ase  an d   g i v t h e   co r r ec d escr ip tio n   o f   attr ib u t e,   w e   as s o ciate   ti m a r o w s .   T h is   m o d el  i s   d e v elo p ed   to   an s w er   th e   li m itatio n   o f   o b j ec r elatio n   m o d el.   T e m p o r al  d ata  m ea n s   t h at   th d ata  ar d ef i n ed   to   h a v e   s o m e   ti m e - r elate d   in f o r m atio n   a s s o ciate d   w it h   th e m   [ 1 5 ] .     Dif f er en n e w   e x te n s io n   o f   S QL   allo w   u s er   to   d ef i n n e s tr u ct u r ed   d ata  t y p ac co r d in g   to   t h e   r eq u ir ed   d ata  t y p es  f o r   ea ch   s y s te m .   Stru ct u r ed   t y p ca n   b u s ed   as   t h t y p to   d ef i n ta b le  o r   as  th t y p o f   co lu m n .   T h is   k in d   o f   tab le  is   c alled   t y p ed   tab le  co r r esp o n d s   to   th Ob j ec t ty p e.   I n   th i s   p ap er ,   s ev er al  te m p o r al   co n ce p ts   w i ll   b ad d ed   to   o n   OR DB   d atab ase.   A   te m p o r al  tab le  is   f o r m all y   d e f in ed   as  f o llo w s T= { Na m e ,   UDT,  Co ns t ra int s } ,   w h er n a m is   th n a m as s ig n ed   to   th tab le. UDT   is   th co r r es p o n d in g   t y p f r o m   w h ic h   t h tab le   is   b a s ed .   C o n s tr ain t s   li k p r i m ar y   k e y   o r   c h ec k   co n s tr ain t s   m u s t   b co n s id er ed   b ec au s t h e y   d ef in c h ar ac ter is tic  a n d   ac ce s s   p ath   to   th o b j ec ts .     A   u s er   d ef i n ed   t y p ( U DT )   is   s tr u ct u r ed   t y p h a v i n g   s tate,   b eh av io r   a n d   r elatio n s h ip   to   o th er   t y p e   [ m ap p in g   UM L   cla s s ] .   I n   t h i s   s en s e,   a n   U DT   ca n   b d ef i n e d   as  f o llo w s UDT = { na m e,   p er io d,  At t } ,   w h er n a m i s   n a m o f   u s d e f in e d   ty p e.   P er io d   m ea n s   th UD T   h as  an   o p en - clo s in ter v al  t i m ( s tar an d   en d   attr ib u tes)  r ep r esen ti n g   v a li d   p er io d .   A n d   att  is   s et  o f   UDT y p e’ s   attr ib u te s ,   w h ic h   i ts   d ata  t y p ca n   b e   p r ed ef in ed   t y p ( in te g er ,   d ate, . . . ) ,   u s er   d ef in ed   co n s tr u cted   ( co llectio n ,   R E F,  R o w , . . . )   o r   r ef er en ce   .   A ttrib u tes   r ep r esen tatio n   h as  b ee n   f o r m ed   w it h   t w o   d i f f er en le v el s :   n o n - te m p o r al  attr ib u te,   a n d   attr ib u te  h is to r y   o r   attr ib u te  ti m esta m p i n g .     4.   CASE   S T UD AND  M O DE L I N G   AP P RO ACH   4 . 1 .   U M L   Cla s s   Dia g ra m s :   UM L   h as  v er y   r ic h   n o tat io n   o f f er s   m an y   asp ec t s   o f   s o f t w ar e n g i n ee r i n g   a n d   ap p licatio n s   d ev elo p m en t.   I is   s tan d ar d   lan g u a g f o r   o b j ec o r ien ted   an al y s i s   t h at  is   a b le  to   s p ec i f y   w id r a n g e   o f   o b j ec o r ien ted   co n ce p ts   b y   m o d elin g   d atab ase  s c h e m a.   I n   ad d itio n ,   UM L   p r o v id es  m ec h an i s m s   th at   en ab le   n e w   k in d s   o f   m o d elin g   ele m e n ts   to   b d ef in ed ,   a n d   also   e n ab le  to   r elate   t h e   in f o r m a tio n   to   n e w   m o d eli n g   ele m e n ts .   T h is   i s   ac co m p lis h ed   b y   in te g r ati n g   s ter eo t y p e,   co n s tr ain ts   an d   tag g ed   v al u es .   I d ef in es  s ev er al   g r ap h ical  d ia g r a m s   in   ter m s   o f   t h v ie w s   o f   s y s te m .   I h as   b ee n   w id el y   u s ed   i n   d atab ase   d esig n   p r o ce s s   f o r   th co n ce p tu al,   lo g ical  an d   p h y s ical  r ep r esen tatio n .   I n   t h i s   w o r k ,   w f o cu s   o n   th u s o f   class   d ia g r a m s   f o r   th is   p u r p o s e.   C la s s   d ia g r a m   in clu d es  m a n y   e le m e n t s   to   m o d el  co r r esp o n d in g   to   t h s y s te m   r eq u ir e m en ts .   W e   h av s elec ted   t h m o r co m m o n l y   u s ed   f o r   d atab ase  d esig n it  is   co m p o s ed   o f   p r o p er ties ,   class ,   a s s o ciatio n ,   etc.   Dif f er e n t y p e s   o f   r elatio n s h ip s   b et w ee n   cla s s es  c an   b estab lis h ed ag g r e g at io n ,   co m p o s i tio n ,   ass o ciatio n ,   i n h er i tan ce .   Fig u r 1   p r esen t s   t h cla s s   d i ag r a m   m o d eli n g   d ata  o f   e m p l o y ee   Ma n a g e m en S y s te m   in   b u s i n es s   co m p a n y .   T h is   m o d el  w ill b e   u s ed   in   t h e x a m p le s   p r esen te d   alo n g   th i s   p ap er .           Fig u r 1 . C las s   d iag r a m   f o r   m an a g e m e n t e m p lo y ee   s y s te m       Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 0 8 8 - 8708   I J E C E     Vo l.  7 ,   No .   5 Octo b er   2 0 1 7   :   2 8 2 3     2 8 3 2   2826   4 . 2 .   M et a - M o del f o T e m po r a l D a t a ba s e   W n ee d   in   t h is   w o r k   to   d e v el o p   an   ap p licatio n ,   w h ic h   ta s k   is   to   k ee p   r ec o r d s   o f   c h an g es   o f   d ata  i n   p ast,   p r esen o r   in   th f u t u r e.   T h is   ap p licatio n   m a in ta in s   th e   h is to r y   o f   e m p lo y ee s   w it h   s al ar y ,   d ep ar t m e n an d   p r o j ec in f o r m a tio n .   T h p r o b le m   t h at  o cc u r s   i n   n o n   te m p o r al  d atab ases   is   th at   o n l y   c u r r en s tate  o f   d ata  is   m e m o r ized .   T h is   p r o b lem   ca n   b s o lv ed   u s i n g   v ar y i n g   ti m f ea tu r es.  T h te m p o r al  co n ce p ts   li n k s   ti m o f   ev en o r   f ac w it h   ti m e,   t h n ee d   to   d escr ib clea r ly   t h ev en w h e n   it  h a s   o cc u r r ed   in   r ea ti m to   b tr u e   o r   v alid .   W ith   te m p o r al  d atab ase,   th t i m v ar y in g   o f   e m p l o y ee ,   p r o j ec an d   th d ep ar t m en w h er h w o r k s   is   ca p tu r ed .   Fo r   ex a m p le:  w ca n   k ee p   tr ac k   o f   t h s p ec i f ic   p er io d   o f   tim d u r in g   a n   e m p lo y ee   h as  h ir ed   in   co m p a n y   o n   Feb r u ar y   2 ,   2 0 0 1   to   n o w .   T h is   P er io d   ca n   b r ep r esen ted   as  th s et  o f   all  ti m p o in t s   an d   h is to r ical  d ata  f r o m   i ts   s tar to   n o w .   T h at  e m p lo y ee   h a v w o r k ed   in   f in a n cial  d ep ar t m e n d u r in g   f o u r th   y ea r s ,   h h a s   w o r k ed   f r o m   0 1 /0 2 /2 0 0 1   u n til  1 0 /1 1 /2 0 0 5 .   A n   e m p l o y ee   c h a n g ed   h is   d ep ar t m en t   an d   h r ec ei v ed   an   ad d itio n al  6 % salar y   i n cr ea s w h e n   h er   d ep ar t m en t c h a n g ed .     A lt h o u g h   t h cla s s   d ia g r a m   i s   g en er al  p u r p o s lan g u ag e   f o r   v i s u al  m o d eli n g ,   te m p o r al  d atab ase  m o d eli n g   h as  n o b ee n   ad d r e s s ed .   T h er ef o r e,   it  is   n ec ess ar y   to   d ev elo p   n e w   Me ta - Mo d el  f o r   tem p o r al  d atab ase  o p er atio n   m o d elin g .   A   Me ta - Mo d el  is   in v o lv ed   f o r   ea ch   d a tab ase  an d   s y s te m   en g i n ee r i n g   to   g et  a   b etter   co m p r eh e n s io n   o f   d ata  m o d el  ,   b ec au s it  d escr i b es  th s tr u ct u r e,   r elatio n s h i p s ,   co n s tr ain t s   an d   s e m a n tic   o f   d ata.   T h is   p ap er   p r o p o s es  an   ap p r o ac h   u s in g   UM L   ex te n s io n   m ec h an is m   t o   d ef in e   n e w   s e o f   UM L   m o d e ele m e n ts   t h at  r e p r esen t h p r ev io u s   clas s   d ia g r a m   in c lu d i n g   v ar y i n g   ti m f ea tu r es.  T h is   Me ta - Mo d el  g iv t h p o s s ib il it y   to   u n d er s tan d   t h s tr u ct u r o f   te m p o r al  d atab ases   an d   co n s tr u ct   s ch e m tr a n s latio n ,   w h ic h   f ac i late  th m i g r atio n   i n to   te m p o r al  d atab a s b ased   o n   OR DB .   T h is   n e w   m o d el  is   en r ich ed   b y   O C L   ex p r ess io n .   O C L   is   m o d eli n g   lan g u ag u s ed   to   s p ec if y   t h e   co n s tr ain t o f   ele m en t s   w it h i n   m o d el  [ 1 6 ] .             Fig u r 2 .   UM L   p r o f ile  f o r   m a n ag e m e n t e m p lo y ee   s y s te m   e n r ich ed   w i th   te m p o r al  d ata   Evaluation Warning : The document was created with Spire.PDF for Python.
I J E C E     I SS N:  2 0 8 8 - 8708       C o n ve r tin g   UML C la s s   Dia g r a ms in to   Temp o r a l O b ject  R ela tio n a l D a ta B a s e   ( A in   E l H a ya t S o u miya )   2827   5.   P RO P O SE M E T H O DS T O   M AP P I NG   UM L   I NT O   T E M P O RAL O RDB   T em p o r al  OR DB   is   co llectio n   o f   tab les  ea ch   o f   w h ic h   is   ca n   d er iv ed   f r o m   an y   s tr u ct u r ed   ty p o r   t y p ed   tab le.   User - d ef in ed   t y p in cl u d es   li s o f   at tr ib u te  d ef in i tio n s attr ib u te  a n d   attr i b u te  ti m es ta m p i n g .   T im e - v ar y i n g   attr ib u tes  m u s b n o n - ato m ic  v a lu e s .   Als o ,   ty p ed   tab le  h a s   r o w   ca lled   R E F.  T h R E is   a   d ata  t y p w h ich   co n tai n s   th r ef er en ce   o f   an o t h er   t y p ed   ta b le.   T h ex is te n ce   o f   th i s   co l u m n   ca n   r ep lace   t h e   co n ce p o f   th f o r eig n   k e y   i n   t h r elatio n al  d ata  m o d el.   I n   th is   s ec tio n ,   th r u les  o f   th m i g r atio n   o f   t h UM L   in to   T OR DB   w ill  b d is c u s s e d .   W in teg r ate  o r ac le’ s   co n c ep ts   o f   n es ted   tab les  to   cr ea te  th ti m v ar y in g   co lu m n s .     5 . 1 .   Ass o cia t io n   Ass o ciatio n   is   r elatio n s h ip   b et w ee n   2   class e s   i n d icatin g   t h at,   at  leas o n s id o f   t h r elatio n s h ip   k n o w s   ab o u t h o th er   s id e.   I n   T OR DB ,   w p r o p o s m et h o d   o f   m ai n tai n i n g   th r e f er e n ce   t y p ( R E F)  as  co llectio n   in   t h o n e   s id w it h   v ar y in g   T i m p er io d .   T r an s f o r m at io n   r es u lt is :     5 . 1 . 1 .   1 : Ass o cia t io n   Def i n itio n   1 :   Fo r   t w o   class e s   n a m e l y   C 1   an d   C 2   co n tain   v alid   ti m P er io d .   I f   C 1   an d   C 2   h as  1 :N  ass o ciatio n   r elati o n s h ip ( R E L ) ,   th is   R ela tio n s h ip   is   tr an s late d   in   UDT 1   an d   UDT 2   co r r esp o n d in g   to   C 1   an d   C 2 ,   w h er UDT 1   h as  an   attr ib u te  ti m s ta m p i n g   s to r co llectio n   o f   R E F   v alu r e f er en c in g   to   an   o b j ec in   UDT 2   w it h   v a lid   ti m P er io d   ( Vt_ Star t,V t - E n d ) .   T r an s f o r m atio n   r esu l is UD T 1 = [ U DT . Na m e,   At t ribute s ,   vt - s t a rt , v t - end,  NT ( Ref ( UDT ) ,   v t - s t a r t ,   v t - end)]   And UDT 2 =[ UD T . Na m e,   At t ribut es,  v t - s t a rt , v t - end]   E x a m p le   1 C lass e s   E m p lo y e an d   Dep ar t m en t   h av e   1 ass o ciatio n   r elatio n s h ip   ( s ee   F ig   1 ) .   T h i s   t y p ical  ex a m p le  i s   ad ap ted   to   s u it  o u r   v alid   ti m s u p p o r at  th attr ib u te  ti m esta m p in g   l ev el.   A s   s h o w n   i n   tab les  1   an d   2 ,   th e   ti m v ar y i n g   i n f o r m atio n   o f   e m p lo y ee   a n d   d ep ar tm e n ts   w h er h w o r k s   is   s to r ed .   I n   t h ese   t w o   tab les,  ea c h   v alid   ti m p er io d   is   clo s ed - o p en   in ter v a l [ Vt - s tar t,  Vt - E n d ) .       T ab le   1 .   T h E m p lo y ee   T e m p o r al  T ab le       T ab le  2 .   T h Dep ar tm e n t T em p o r al  T ab le   N u md e p t   N a me d e p t   M a n a g e r   V T _ S t a r t   V T _ EN D   N o e mp   V T _ S t a r t   V T _ EN D   1   C o mp u t e r   2   0 6 / 0 6 / 2 0 1 0   2 2 / 1 1 / 2 0 1 5   1 5 / 0 7 / 1 9 9 8   3 1 / 1 2 / 9 9 9 9       1   2 3 / 1 1 / 2 0 1 5   3 1 / 1 2 / 9 9 9 9       2   A c c o u n t i n g   5   0 3 / 0 5 / 2 0 0 4   3 1 / 1 2 / 9 9 9 9   0 3 / 0 5 / 2 0 0 4   3 1 / 1 2 / 9 9 9 9   3   A f t e r - sal e s   3   2 0 / 1 2 / 2 0 0 5   2 9 / 1 1 / 2 0 1 2   2 0 / 1 2 / 2 0 0 5   2 9 / 1 1 / 2 0 1 2   4   M a r k e t i n g   3   3 0 / 1 1 / 2 0 1 2   3 1 / 1 2 / 9 9 9 9   2 1 / 1 2 / 2 0 1 0   3 1 / 1 2 / 9 9 9 9       5 . 1 . 2 .   N:   Ass o cia t io n   Def i n itio n   2 :   Fo r   t w o   class es  n a m e l y   C 1   an d   C 2   co n tain   v a lid   ti m P er io d .   I f   C 1   an d   C 2   h as  N:N   ass o ciatio n   r elatio n s h ip ( R E L )   in   C 3 ,   i m p le m en C 1   an d   C 2   as  UDT s   , w h er UDT 1   h as  an   attr ib u te  ti m e   s ta m p i n g   s to r co l lectio n   o f   Att.C3   an d   co llectio n   o f   R E v alu r ef er en ci n g   to   an   o b j ec t   i n   UDT 2   w it h   v al id   ti m P er io d   ( Vt_ Star t,V t - E n d ) .   T r an s f o r m atio n   r es u lt  i s :   UDT 1 = [UD T . Na m e ,   Attr ib u te s,  v t - sta r t,   v t - e n d ,   NT(R e f(UD T ),   Attr ib u te   , v t - st a r t,   v t - e n d )]  A n d   UD T 2 =[ UDT . Na m e ,   Attr i b u t e s,  v t - sta r t,   v t - e n d ]   E xa mp le  2 :   C lass es  e m p lo y e an d   p r o j ec h av N:  a s s o ciatio n   r elatio n s h ip   ( s ee   Fi g   1 ) .   T h e   r ef er en ce s   o f   o n clas s   to g et h er   w it h   th r elatio n s h ip s   w il b m ap p ed   as  co llectio n   in   an o th er   clas s   tab le   w it h   clo s ed - o p en   i n ter v al  [ Vt - s tar t,  Vt - E n d ) .         No   Emp   N a me   B i r t h d a y   g r a d e   V T _ S t a r t   V T _ EN D   D e p a r t me n t   g r a d e   V T _ S t a r t   V T _ EN D   D e p t   V T _ S t a r t   V T _ EN D   1   H a j a r   1 0 / 0 4 / 1 9 8 6   e n g i n e e r   1 5 / 0 2 / 2 0 0 7   2 2 / 1 1 / 2 0 1 5   1 5 / 0 2 / 2 0 0 7   3 1 / 1 2 / 9 9 9 9   1   1 5 / 0 2 / 2 0 0 7   3 1 / 1 2 / 9 9 9 9   M a n a g e r   2 3 / 1 1 / 2 0 1 5   3 1 / 1 2 / 9 9 9 9   2   M o h a me d   0 2 / 0 6 / 1 9 5 6   e n g i n e e r   1 5 / 0 7 / 1 9 9 8   0 8 / 1 0 / 2 0 0 6   1 5 / 0 7 / 1 9 9 8   2 2 / 1 1 / 2 0 1 5   1   1 5 / 0 7 / 1 9 8 0   2 2 / 1 1 / 2 0 1 5   M a n a g e r   0 9 / 1 0 / 2 0 0 6   2 2 / 1 1 / 2 0 1 5   3   A mi n e   2 4 / 0 8 / 1 9 7 6   A c c o u n t   0 3 / 0 5 / 2 0 0 4   1 2 / 0 9 / 2 0 0 6   0 3 / 0 5 / 2 0 0 4   3 1 / 1 1 / 2 0 1 1   2   0 3 / 0 5 / 2 0 0 1   1 2 / 0 9 / 2 0 0 6   C o mm e r c i a l   1 3 / 0 9 / 2 0 0 6   3 1 / 1 1 / 2 0 1 1   4   1 3 / 0 9 / 2 0 0 6   3 1 / 1 1 / 2 0 1 1   4   I l y a s   3 0 / 0 1 / 1 9 7 9   M a n a g e r   2 0 / 1 2 / 2 0 0 5   3 1 / 1 2 / 9 9 9 9   2 0 / 1 2 / 2 0 0 5   3 1 / 1 2 / 9 9 9 9   3   2 0 / 1 2 / 2 0 0 5   2 9 / 1 1 / 2 0 1 2   4   3 0 / 1 1 / 2 0 1 2   3 1 / 1 2 / 9 9 9 9   5   I man e   3 1 / 0 5 / 1 9 7 5   M a n a g e r   0 3 / 0 5 / 2 0 0 4   3 1 / 1 2 / 9 9 9 9   0 3 / 0 5 / 2 0 0 4   3 1 / 1 2 / 9 9 9 9   3   0 3 / 0 5 / 2 0 0 4   3 1 / 1 2 / 9 9 9 9   Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 0 8 8 - 8708   I J E C E     Vo l.  7 ,   No .   5 Octo b er   2 0 1 7   :   2 8 2 3     2 8 3 2   2828   T ab le   3 .   T h E m p lo y ee   T e m p o r al  T ab le       T ab le  4 .   T h Pro j ec T em p o r al  T ab le   N o   Emp   N a me   B i r t h d a y   g r a d e   V T _ S t a r t   V T _ EN D   P r o j e c t   g r a d e   V T _ S t a r t   V T _ EN D   P r o j e t   V T _ S t a r t   V T _ EN D   D a t e _ d e l i v e y   1   H a j a r   1 0 / 0 4 / 1 9 8 6   e n g i n e e r   1 5 / 0 2 / 2 0 0 7   2 2 / 1 1 / 2 0 1 5   1 5 / 0 2 / 2 0 0 7   3 1 / 1 2 / 9 9 9 9   1   1 5 / 0 6 / 2 0 0 6   1 5 / 1 2 / 2 0 0 6   3 0 / 1 2 / 2 0 0 6   M a n a g e r   2 3 / 1 1 / 2 0 1 5   3 1 / 1 2 / 9 9 9 9   2   0 1 / 1 2 / 2 0 1 3   3 1 / 0 2 / 2 0 1 4   3 1 / 0 2 / 2 0 1 4       5 . 2 .   Ag g re g a t io n   An   ag g r eg at io n   r e latio n s h ip   is   b in ar y   a s s o ciatio n   t h at  s p ec if ies  w h o le - p ar t y p r elatio n s h ip   . T h p ar is   s h ar ea b le  an d   in d ep en d en f r o m   t h w h o le,   w h er ea ch   p ar co m p o n e n ( C 2 )   ca n   b p a r o f   m o r e   th an   w h o le  co m p o n en ( C 1 ) .   I n   ad d itio n ,   ag g r eg at io n   d o es  n o i m p l y   an y   r estrictio n   o v er   th lif o f   C 2 ,   i f   s h ar ed   p ar co u ld   b in clu d ed   in   s e v er al  w h o le,   a n d   if   s o m o r   all  o f   th w h o le s   ar d elete d ,   s h ar ed   p ar m a y   s till   e x i s t.  I n   T OR DB ,   to   m ee t   th r eq u ir e m e n t,  w e   u s t h c o llectio n   o f   UDT   w ith   v ar y i n g   ti m p er io d   in   t h e   w h o le  tab le.     Defin itio n   3 :   Fo r   t w o   class e s   n a m el y   C 1   an d   C 2   co n ta in   v alid   ti m P er io d .   I f   C 1   ( UDT 1 )   ca n   b e   co m p o s ed   b y   m o r t h a n   o n e   s h ar ea b le  a n d   ex is te n ce - in d ep en d en C 2 ,   i m p le m e n C 2   as  UDT   co llectio n   attr ib u te  w it h   Valid   T i m P er io d   ( Vt - Star t,  Vt - E n d )   in   t ab le  C 1 .   T r an s f o r m a tio n   r es u lt  is UDT 1 =[ UDT . Na m e ,   Attr i b u t e s,  v t - sta r t, v t - e n d ,   NT(U DT )]  A n d   UD T 2 =[ U DT . Na m e ,   Attr ib u te s,  v t - sta r t, v t - e n d ]   E xa mp le  3 :   T y p Dep ar t m e n is   th ag g r eg a tio n   o f   t y p l o ca tio n   d ep ar tm e n ( s ee   Fi g u r e   1 ) .   T h latter   t y p ca n   s ti ll  ex i s o u t s i d ty p d ep ar t m en t,  p r o b ab ly   in   an o t h er   class .   T h ag g r eg at io n   w ill  b m ap p ed   as a   co llectio n   o f   UDT   in cl u d in g   Va lid   T im P er io d   ( Vt - Star t,  Vt - E n d )   as a ttrib u tes.       T ab le   5 .   T h Dep ar tm e n t T em p o r al  T ab le       5 . 3 .   Co m po s it io n   I is   s p ec ial  k in d   o f   a g g r eg atio n   i n   w h ic h   t h p ar co m p o n en ts   ar p h y s ical l y   i n cl u d ed   in   t h e   w h o le.   co m p o s itio n   r elatio n s h ip   i s   a n   a s s o ciatio n   t h at  s p ec if ies   w h o le - p ar t y p r el atio n s h ip ,   b u t   t h is   r elatio n   is   s tr o n g er   th an   t h ag g r e g atio n ,   d u to   th p ar lif d ep en d s   o n   th w h o le  ex i s t en ce .   T h p ar t   m u s t   b elo n g   to   a   u n iq u w h o le,   a n d   it  ca n   b e x p licitl y   r e m o v ed   b ef o r r e m o v i n g   it s   as s o c iated   w h o le.   So   in   T OR DB ,   w n ee d   to   ex clu s i v el y   d e f in t h p ar co m p o n e n in s id th w h o le.   Fo r   th is   r ea s o n ,   w u s t h n ested   tab le  co llectio n .   A   n e s t ed   tab le  is   tab le  ca n   b s to r e d   w it h in   a n o th er   tab le.   Defin itio n   4 :   Fo r   t w o   class es  n a m e l y   C 1   an d   C 2   co n tain   v a lid   ti m P e r io d .   I f   C 1   ( UDT 1 )   co m p o s ed   b y   C 2   i n   a   co m p o s itio n   a g g r e g atio n ,   i m p le m e n C 2   as  a   co l lectio n   o f   m u l tip le  attr ib u te  f r o m   C 2   w it h   Valid   T im P er io d   in   tab le  C 1 .   T r a n s f o r m atio n   r es u lt   is UD T 1 = [ UDT . Na m e,   At t ribute s ,   v t - s t a rt ,   v t - end,  NT   ( At ribute s ,   v t - s t a rt ,   v t - end)]     E xa mp le  4 :   class   P r o j ec is   th co m p o s itio n   o f   cla s s   B u d g et  ( s ee   Fig u r 1 ) .   T h co m p o s itio n   t y p w il b m ap p ed   as  co llectio n   o f   m u ltip le  co lu m n s   f r o m   b u d g et,   ca n   b p lace d   in to   s in g le  co lu m n   i n   p r o j ec t ta b le.             N u mP r o j   N a me p r o   D e t a i l s   V T _ S t a r t   V T _ EN D   N a me   Vt - S t a r t   Vt - En d   1   P a y me n t   M a n a g e me n t   1 5 / 0 5 / 2 0 0 6   0 1 / 0 1 / 2 0 0 7   C r e a t i o n   o f   p a y me n t   man a g e me n t   a p p l i c a t i o n   w e b   1 5 / 0 5 / 2 0 0 6   0 1 / 0 1 / 2 0 0 7   2   Emp l o y m e n t   M a n a g e me n t   3 0 / 1 0 / 2 0 1 3   0 1 / 0 2 / 2 0 1 4   I n t e g r a t i o n   o f   a   mo d u l e   i n   a n   e r p   so u r c e   3 0 / 1 0 / 2 0 1 3   0 1 / 0 4 / 2 0 1 4   H R   M a n a g e me n t   0 2 / 0 2 / 2 0 1 4   0 1 / 0 4 / 2 0 1 4   N u m d e p t   N a me d e p t   M a n a g e r   V T _ S t a r t   V T _ EN D   D e p t _ l o c a t i o n   N o e mp   V T _ S t a r t   V T _ EN D   L o c a t i o n   V T _ S t a r t   V T _ EN D   1   C o mp u t e r   2   0 6 / 0 6 / 2 0 1 0   2 2 / 1 1 / 2 0 1 5   1 5 / 0 7 / 1 9 9 8   3 1 / 1 2 / 9 9 9 9   C a sa b l a n c a   1 5 / 0 7 / 1 9 9 8   3 1 / 1 2 / 9 9 9 9   1   2 3 / 1 1 / 2 0 1 5   3 1 / 1 2 / 9 9 9 9   2   A c c o u n t i n g   5   0 3 / 0 5 / 2 0 0 4   3 1 / 1 2 / 9 9 9 9   0 3 / 0 5 / 2 0 0 4   3 1 / 1 2 / 9 9 9 9   C a sa b l a n c a   0 3 / 0 5 / 2 0 0 4   0 3 / 0 6 / 2 0 1 0   R a b a t   0 4 / 0 6 / 2 0 1 0   3 1 / 1 2 / 9 9 9 9   Evaluation Warning : The document was created with Spire.PDF for Python.
I J E C E     I SS N:  2 0 8 8 - 8708       C o n ve r tin g   UML C la s s   Dia g r a ms in to   Temp o r a l O b ject  R ela tio n a l D a ta B a s e   ( A in   E l H a ya t S o u miya )   2829   T ab le   6 .   T h Pro j ec T em p o r al  T ab le       5 . 4 .   I nh er it a nce   I n   P r ac tice,   th in h er itan ce   is   v er y   i m p o r ta n an d   ea s y   t y p o f   r elatio n s h ip .   Fo r   th cr ea tio n   o f   t y p es   th at  r ep r esen t   th in h er ita n ce ,   w ad d   un der  f o r   th s u b   clas s ,   th k e y w o r d   no t   f ina i f   t h e   t y p h a s   s u b t y p e s ,   an d   f ina if   th t y p h as  n o   s u b ty p e s .   F u r th er m o r e,   A d d itio n al  p r o p er ties   o f   s u b t y p ar d ef i n ed   in   t h u s u al   w a y   w it h   ti m v ar y i n g   f ea tu r es.  Fo r   ex am p le,   s alar ied   em p lo y ee   is   f u ll  ti m e m p l o y ee   i n h er it s   clas s   e m p lo y ee   w it h   attr ib u te s   ti m e s ta m p i n g .   T h d etails ar illu s tr ated   in   th f o llo w in g   tab les:       T ab le   7 .   T h E m p lo y ee   T e m p o r al  T ab le                 T ab le   8 .   T h Salar ied - E m p lo y ee   T em p o r al  T a b le       6.   T RANSF O RM I N G   T H E   E XAM P L E   F RO M   U M L   I NT O   T E M P O RAL O RDB   Q U E RY   T h is   s ec tio n   d escr ib es  t h s c h e m a   d ef i n itio n   o f   t h e m p lo y ee   m an a g e m e n i n   a   b u s i n e s s   co m p a n y   ex a m p le   Fi g u r 2 ,   u s in g   th e   co m m er cial   d atab ase  o r ac le  1 2 C .   W ith   t h s t u d ies  p r ese n ted   in   th e   p r ev io u s   s ec tio n s ,   it  ca n   b ab le  to   p r o d u ce   te m p o r al  q u er ies  f o r   r ela tio n s h ip s .   T h te m p o r al  q u er i es  f o r m ed   a s   s h o w n   in   Fi g u r e3 :       N u m P r o j   N a me p r o   D e t a i l s   V T _ S t a r t   V T _ EN D   B u d g e t   N a me   Vt - S t a r t   Vt - En d   V a l u e   Vt - S t a r t   Vt - En d   1   P a y me n t   M a n a g e me n t   1 5 / 0 5 / 2 0 0 6   0 1 / 0 1 / 2 0 0 7   C r e a t i o n   o f   p a y me n t   man a g e me n t   a p p l i c a t i o n   w e b   1 5 / 0 5 / 2 0 0 6   1 5 / 0 5 / 2 0 0 6   1 0 0 0 0 0   1 5 / 0 5 / 2 0 0 6   1 5 / 0 5 / 2 0 0 6   2   Emp l o y m e n t   M a n a g e me n t   3 0 / 1 0 / 2 0 1 3   0 1 / 0 2 / 2 0 1 4   I n t e g r a t i o n   o f   a   mo d u l e   i n   a n   e r p   so u r c e   3 0 / 1 0 / 2 0 1 3   0 1 / 0 4 / 2 0 1 4   5 0 0 0 0   3 0 / 1 0 / 2 0 1 3   3 0 / 1 0 / 2 0 1 3   H R   M a n a g e me n t   0 2 / 0 2 / 2 0 1 4   0 1 / 0 4 / 2 0 1 4   5 0 0 1 0   0 1 / 0 3 / 2 0 1 4   0 1 / 0 4 / 2 0 1 4   No   Emp   N a me   B i r t h d a y   g r a d e   V T _ S t a r t   V T _ EN D   g r a d e   V T _ S t a r t   V T _ EN D   1   H a j a r   1 0 / 0 4 / 1 9 8 6   e n g i n e e r   1 5 / 0 2 / 2 0 0 7   2 2 / 1 1 / 2 0 1 5   1 5 / 0 2 / 2 0 0 7   3 1 / 1 2 / 9 9 9 9   M a n a g e r   2 3 / 1 1 / 2 0 1 5   3 1 / 1 2 / 9 9 9 9   No   Emp   N a me   B i r t h d a y   g r a d e   V T _ S t a r t   V T _ EN D   S a l a r y   g r a d e   V T _ S t a r t   V T _ EN D   S a l a r y   V T _ S t a r t   V T _ EN D   1     H a j a r   1 0 / 0 4 / 1 9 8 6   e n g i n e e r   1 5 / 0 2 / 2 0 0 7   2 2 / 1 1 / 2 0 1 5   1 5 / 0 2 / 2 0 0 7   3 1 / 1 2 / 9 9 9 9   5 0 0 0   1 5 / 0 6 / 2 0 0 6   1 5 / 1 2 / 2 0 0 7   M a n a g e r   2 3 / 1 1 / 2 0 1   3 1 / 1 2 / 9 9 9 9   5 2 0 0   1 6 / 1 2 / 2 0 0 7   3 1 / 0 2 / 2 0 1 0   1 0 0 1 0   0 1 / 0 3 / 2 0 1 0   3 1 / 1 2 / 9 9 9 9   Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 0 8 8 - 8708   I J E C E     Vo l.  7 ,   No .   5 Octo b er   2 0 1 7   :   2 8 2 3     2 8 3 2   2830        Cre a te t y p e   t_ lo c a ti o n   a s o b jec (   L o c a ti o n     V a rc h a r(2 0 ) ,   V t_ S tart  Da te,   V t_ En d     Da te )/     Cre a te t y p e   NT _ d e p tl o c a ti o n   a s o b jec (   L o c a ti o n _ d e p t _ lo c a ti o n   ) /   Cre a te t y p e   L o c _ d e p is  tab le  o f     NT _   d e p tl o c a ti o n   ;         Cre a te t y p e   NT _ M a n a g e   a s o b jec (   Em p No   Nu m b e r,   V t_ S tart  Da te,   V t_ En d     Da te)/   Cre a te t y p e   M a n a g e r_ d e p is  tab l e   o f     NT _ M a n a g e r   ;     Cre a te t y p e   t_ De p a rtm e n a s o b jec t(   Nu m d e p NU M BER  ,     Na m e d e p V A RCH A R(2 0 ),   M a n a g e   M a n a g e r_ d e p ,   V t_ S tart  Da te,   V t_ En d     Da te,   De p t_ lo c a ti o n     L o c _ d e p t) /     Cre a te  tab le  De p a rtm e n o f   t_ De p a rtm e n   CON S T R A IN T   d e p t - P P RIM A RY  KEY(N u m d e p t),   NES T ED   TA B L M a n a g e S T ORE  A S   M a n a g e r_ tab ,   NES T ED  T A B L   De p t_ l o c a ti o n   S T ORE  A S   L o c a ti o n _ tab ;     Cre a te t y p e   NT _ Na m e     a s o b jec (   Na m e   V A RCH AR(1 0 ),   V t_ S tart  Da te,   V t_ En d     Da te)/   Cre a te t y p e   Na m e _ p ro is  tab le  o f     NT _ Na m e ;     Cre a te t y p e   NT _ Bu d g e   a s o b jec (   V a lu e   V A RCH A R( 1 0 ),   V t_ S tart  Da te,   V t_ En d     Da te,   Cre a te t y p e   Bu d g e t_ p ro   is  tab le  o f     NT _ Bu d g e t;       Cre a te t y p e   t_ p ro jec a o b jec t(   Nu m p ro NU M BER  ,     Na m e p ro   Na m e _ p ro ,   De tails V A RCH A R(2 0 ),   V t_ S tart  Da te,   V t_ En d       Da te   Bu d g e     B u d g e t_ p r o   )/   Cre a te  tab le  p r o jec o f   t_ p ro jec   CON S T R A IN T   p ro j - P K   P RIM A RY  KEY(N u m p ro j),   NES T ED  TA B L E   Na m e p ro S T ORE  A S   n a m e _ tab ,   NES T ED  TA B L Bu d g e S T OR A S   Bu d g e t_ tab ;     Cre a te t y p e   NT _ d e p a s o b jec t(   De p REF     t_ De p a rtm e n t,   V t_ S tart    Da te   V t_ En d       Da te)/   Cre a te t y p e   d e p t_ e m p   is  tab le o f     NT _ d e p t;     Cre a te t y p e   NT _ p ro jec a s o b jec t(   p ro jec REF     t _ p r o jec t,   V t_ S tart    Da te   V t_ En d       Da te ,   De li v e r y _ d a te   D A T E)/   Cre a te t y p e   p ro j_ e m p   is  tab le  o f     NT _ p ro jec t;     Evaluation Warning : The document was created with Spire.PDF for Python.
I J E C E     I SS N:  2 0 8 8 - 8708       C o n ve r tin g   UML C la s s   Dia g r a ms in to   Temp o r a l O b ject  R ela tio n a l D a ta B a s e   ( A in   E l H a ya t S o u miya )   2831     Fig u r 3 .   R esu lt o f   t h m i g r ati o n   in to   T em p o r al  OR DB         7.   RE SU L T S AN AN AL Y SI S   Ou r   s t u d y   s i m p li f ies  t h co n v er s io n   f r o m   UM L   class   d ia g r a m   as  i n p u i n to   T em o p o r al  d atab ase   u s i n g   OR DB   co n ce p ts . T h tr an s it io n   is   d o n w ith   m et h o d s   th at  ex tr ac v ar io u s   f u n ctio n s   f r o m   UM L   class   d iag r a m   ,   w h ic h   b ased   o n   it   lo g ical  d ata  s tr u ct u r a n d   d ata  b eh av io r .   Fro m   t h ese  i n f o r m at io n s ,   w h a v e   p r o v id ed   o u r   m eta - Mo d el  r ep r esen tat io n   b y   ad d in g   v ar y i n g   t i m f ea tu r e s   an d   m o r s e m a n t ic  m etad ata. O n   th e   o th er   h a n d w h a v a s s o ciate d   ti m e   at  attr ib u te  to   g et  th e   co r r ec d escr ip tio n   o f   r ec o r d s .   On ad v an tag e s   o f   Me ta - m o d el   is   b ased   o n   it s   a b ilit y   to   o v er co m t h co m p l icatio n s   th u s   o cc u r   d u r i n g   m atch i n g   k e y s ,   t i m e   v ar y i n g   attr ib u te s   , an d   p r o m o tes  t h e   v i s u aliza tio n   o f   n a v ig a tio n al  p ath   b et w ee n   o b j ec ts .   I n   t h n e x s tep ,   w e   h av p r o p o s ed   th r u le s   th a f ac ilit ate  t h cr ea tio n   o f   p h y s i ca s ch e m o f   te m p o r al  d atab ase. also ,   w h av e   g en er ated   t h m ai n   q u er ies  f o r   th m o d el  u s i n g   S Q L 4   s tan d a r d .     T h is   s o lu t io n   e n co u r a g es  n o n   te m p o r al  d atab ase  u s er s   to   p r o d u ce   te m p o r al  r ep o r ts   o r   te m p o r al  q u er ies  ac co r d in g   to   th eir   r eq u ir e m en ts   an d   ab ilit ie s .   Fu r t h er m o r e,   o u r   i m p le m e n tatio n   is   c o n s id er ed   th m o s t   ess e n tial  an d   cr itical  p r o ce s s   in   th d ev elo p m e n o f   a n   ap p lica tio n   s u p p o r tin g   te m p o r al  d ata,   to   b m ad it  is   n ec es s ar y   to   b eg i n   b y   tr an s f o r m i n g   th co n ce p tu al  m o d el  ( U m clas s   Dia g r a m )   i n to   l o g ical  Mo d el,   an d   lo g ical  m o d el  i n to   p h y s ical  Mo d el.   T h is   w o r k   is   t h f ir s s tep   to   i m p le m e n a n   al g o r ith m   f o r   co n v er tin g   m et h o d   f r o m   UM L   clas s   d iag r a m   in to   te m p o r al  d atab ase,   w h ich   n o t r eq u ir es a n y   h u m an   i n t er f er en ce .     Cre a te t y p e   NT _ g r a d e     a s o b jec (   G ra d e   V a rc h a r(2 0 ),   V t_ S tart    Da te,   V t_ En d     Da te)/   Cre a te  t y p e   g ra d e _ e m p   is  tab le o f     NT _ g ra d e   ;     Cre a te t y p e   t_ e m p lo y e e   a s o b jec t(   No Em p   NU M BER  ,     Na m e   V A RCH AR(2 0 ),   Birt h d a y   D A T E,     G ra d e   G ra d e _ e m p   ,   V t_ S tart    Da te,   V t_ En d       Da te,   De p a rtme n   d e p t _ e m p   p ro jec     p r o j_ e m p No F i n a /     Cre a te  tab le  e m p lo y e e   o f   t_ e m p lo y e e   CON S T R AIN T   e m p - P P RIM A RY  KEY(N o Em p ),   NES T ED  TA B L   De p a rt m e n S TORE  AS  d e p t_ ta b ,   NES T ED    TA B L   g ra d e   S T ORE  A S   g ra d e _ tab ,   N ES T ED  TA B L   p ro jec S T ORE  A S   p ro j _ tab ;     Cre a te t y p e   NT _ S a lar y     a s o b jec (   S a lar y   Nu m b e r,   V t_ S tart    Da te,   V t_ En d     Da te)/   Cre a te t y p e   S a lar y _ e m p   is  tab le o f     NT _ S a lar y   ;     Cre a te t y p e   NT _ Ho u rly     a s o b jec (   P a y _ sc a Nu m b e r,   Ho u Nu m b e r,   V t_ S tart    Da te,   V t_ En d     Da te)/   Cre a te t y p e   Ho u rly _ e m p   is  tab le o f     NT _   Ho u rly     ;       Cre a te t y p e   T _ S a larie d _ e m p   UN DER  t_ e m p lo y e e   sa lar y     S a lar y _ e m p     F in a l;   Cre a te  tab le  S a larie d _ e m p   o f     T_ S a larie d _ e m p   UN DER  e m p lo y e e   NES T ED  TA B L sa lar y   S TORE  A S   sa lar y _ tab   ;     Cre a te t y p e   T _ h o u rly _ e m p   UN DER  t_ e m p lo y e e (h o u rly         Ho u rly _ e m p         F in a l;   Cre a te  tab le  h o u rly _ e m p   o   T _ h o u rly _ e m p   UN DER  e m p lo y e e     NES T ED  T ABL h o u rly   S T O RE  A S   h o u rly _ tab   ;       Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 0 8 8 - 8708   I J E C E     Vo l.  7 ,   No .   5 Octo b er   2 0 1 7   :   2 8 2 3     2 8 3 2   2832   8.   CO NCLU SI O N     T h is   p ap er   h as  p r o p o s ed   an   ap p r o ac h   f o r   u s in g   UM L   a s   th b asis   f o r   co m p ar ativ a n al y s i s   o f   m i g r atin g   to   te m p o r al  o b j ec t   r elatio n al  d atab ase.   T h s o lu tio n   is   co n s id er ed   as  co m p let s tu d y   t h at  w h ic h   s h o w s   h o w   w ca n   m ai n tai n   t h co llectio n   s e m an tics   s tated   in   t h co n ce p t u al  m o d el  in to   th i m p le m en ta tio n   u s i n g   te m p o r al  o b j ec r elatio n al  d atab ase.   T h s t u d y   i s   b as ed   o n   s et   o f   m et h o d s   a n d   r u les   d ep en d   o n   t h e   UM L   cla s s   s p ec if icatio n s . T h o b tain ed   r esu lt s   w er e n co u r ag ed   an d   esp ec iall y   r e g ar d in g   t h s p ec ial  ca s es   th at  w as  n o p r o p o s ed   o n   ex is tin g   w o r k s ,   lik r elatio n s h ip s   b et w ee n   clas s es.  T h ese  n e w   m et h o d s   ca n   g ain   b en ef it  f o r   s p ec if ic  ca s es  s u c h   as  tab les   w it h   v ar y i n g   ti m asp ec ts   an d   te m p o r al  q u er y ,   e tc.   Ou r   s u b s eq u en t   w o r k   w ill  b f o cu s ed   o n   th i s   ap p r o ac h   to   d ev elo p   a   f r am e w o r k   to   allo w   t h au to m atic  m ap p in g   f r o m   te m p o r al  r elatio n al  d atab ase  in to   te m p o r al  o b j ec t r elatio n al  d atab ase.       RE F E R E NC E   [1 ]     D.  P e tk o v ić  .   P e rf o rm a n c e   Iss u e Co n c e rn i n g   S to ra g e   o f   T i m e - V a rian Da ta” . Eg y p ti a n   Co m p u ter  S c ien c e   Jo u rn a l”.   2 0 1 4 ; V o l.   3 8 .   [2 ]   P S a n to sa ,   " Co st  a n d   b e n e f it   o f   in f o rm a ti o n   se a rc h   u sin g   tw o   d if f e re n stra teg i e s .,  T EL KOM NIKA   T e lec o mm u n ica ti o n   Co mp u ti n g   E lec tro n ics   a n d   C o n tr o l,   v o l .   8 ,   n o .   3 ,   p p .   1 9 5 - 2 0 6 ,   2 0 1 0 .   [3 ]   R. S h u x ia,  Z . Zh e n g , Z.   X i a o ji a n . A n   In d e term in a c y   T e m p o ra Da ta  M o d e b a se d   o n   P r o b a b il it y . Telk o m in c a .   2 0 1 3 ;v o 1 1   1 1 ; p p : 6 6 8 6 - 6 6 9 2 .   [4 ]     A ta y ,   C.   ,     A   Co m p a riso n   o f   A tt rib u te  a n d   T u p le  T im e   S ta m p e d   Bit e m p o ra Re latio n a Da ta  M o d e ls” ,   P r o c .   o f   th e   In t.   C o n f .   o n   A p p li e d   Co m p u ter S c ien c e .   2 0 1 0 p 4 7 9 - 4 8 9 .   [5 ]     Ch a u ,   V . T . N.  a n d   S .   Ch i tt a y a so th o r n .   A   T e m p o ra Ob jec Re latio n a S QL   L a n g u a g e   w it h   A tt rib u te  T i m e sta m p in g   in   a   T e m p o ra T ra n sp a re n c y   En v iro n m e n t”   .   Da ta &   Kn o w led g e   En g in e e rin g .   2 0 0 8 v o l   6 7 ,   p .   3 3 1 - 3 6 1 .   [6 ]   A . Hid a y a t, V G . Uto m o ,   A d a p ti v e   On li n e   M o d u le  P r o t o ty p e   f o L e a rn in g   Un if ied   M o d e ll in g   L a n g u a g e   (UML )” . IJECE.   2 0 1 6 ;v o l 6   6 ;p p :2 9 3 1 - 2 9 3 8 .   [ 7 ]     A A h lan ,   HT   S u k m a n a ,   " A n   a lt e rn a ti v e   m e th o d   f o d e term in in g   c rit ica su c c e ss   f a c to rs  o f   in f o rm a ti o n   sy ste m   p ro j ect . ,   T EL KOM NIKA  T e lec o m mu n ica t io n   Co m p u ti n g   El e c tro n ics   a n d   Co n tro l ,   v o l.   1 2 ,   n o .   3 ,   p p .   6 6 5 - 6 7 4 ,   2 0 1 4 .   [8 ]     T .   Ch a u   a n d   S .   Ch it tay a so th o r n ,   A   Te m p o ra Co m p a ti b le  Ob jec Re latio n a Da tab a se   S y ste m ,   T h e   IEE E   S o u t h e a stc o n .   2 0 0 7 .   [9 ]   No h ,   S Y.,   G a d ia,  S . K.  &   Ja n g ,   H.  J.  Ce n t.   C o m p a riso n o f   th re e   d a ta  sto ra g e   m o d e ls  in   p a ra m e tri c   te m p o r a d a tab a se s” .   Jo u rn a o f   c e n tral  so u th   u n iv e rsity   .   2 0 1 3 ;v o 2 0 ;   p p   1 9 1 9 _ 1 9 2 7 .   [1 0 ]   IS O/IEC  9 0 7 5 - 2 :2 0 1 1 ,   In f o rm a ti o n   tec h n o lo g y   -   D a tab a se   lan g u a g e s   -   S QL  -   P a rt  2 F o u n d a ti o n   (S QL /F o u n d a ti o n ). 2 0 1 1 .   [1 1 ]     K.Ku lk a rn i,   JE.   M ich e ls.   T e m p o ra F e a tu re s in   S QL : 2 0 1 1   .   S IG M OD   Re c o rd s.  2 0 1 2 ; V o l.   4 1   N o .   3 .   [1 2 ]     S .   V e sić ,   S .   Ba b a ro g ić,  N.  A n iči ć .   Us e   o f   th e   Te m p o ra Co n c e p ts  in   T ra n sa c ti o n   Da tab a se .   P R OC  S YMORG .   2 0 1 4 ; p p   8 5 0 - 8 5 7   .   [1 3 ]   S .   Ra d o v a n o v ić,  E.   M i l o v a n o v ić,   Ne n a d   A n ičić . P e rf o rm a n c e   Ev a lu a ti o n   Of   T e m p o ra F e a tu re De f in e d   In   Ora c le  1 2 Da tab a se .   P ROC.  S Y M ORG . 2 0 1 4 ; p p   8 5 8 - 8 6 6   .   [1 4 ]   D. T a n iar ,   E.   P a rd e d e   ,   J.  W e n n y   Ra h a y u .   Co m p o siti o n   in   Ob jec t - Re latio n a Da tab a se .   En c y c lo p e d ia  o In f o rm a ti o n   S c ien c e   a n d   T e c h n o l o g y ,   F irst  Ed it io n   I G G lo b a l .   2 0 0 5 ;   p p 4 8 8 - 4 9 4 .   [1 5 ]   S P u tra,  A A h lan ,   M   Ka rti w i,   " A   Co h e re n F ra m e w o rk   f o Un d e rsta n d in g   th e   S u c c e ss   o f   a n   In f o rm a ti o n   S y ste m   P r o jec t .,  T EL KOM NIKA  T e lec o m mu n ica t io n   Co m p u ti n g   El e c tro n ics   a n d   Co n tro l ,   v o l.   1 4 ,   n o .   1 ,   p p .   3 0 2 - 3 0 8 ,   2 0 1 6 .   [1 6 ]   L o ,   C. M . ,   H u n g ,   H.Y.  t o w a rd a   UML   p ro f il e   to   re latio n a d a ta b a se   m o d e li n g . A p p l.   M a t h .   I n f o .   S c i.   2 0 1 4   ;v o 8 (2 ); p p 7 3 3 - 7 4 3 .     Evaluation Warning : The document was created with Spire.PDF for Python.