Time-based constraints in the object constraint language OCL

被引:0
|
作者
Hamie, A [1 ]
Howse, J [1 ]
Mitchell, R [1 ]
机构
[1] Univ Brighton, Sch Comp Math & Informat Sci, Brighton, E Sussex, England
关键词
OCL; UML; invariants; time-based constraints;
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
The Object Constraint Language OCL is a textual specification language that supplements UML class diagrams for describing and expressing various constraints that can not be modelled by the diagrams. These constraints include invariants on classes and object types, preconditions and postconditions of operations. This paper describes an approach for extending OCL with time-based constraints in such a way so as not to compromise its simplicity. A time-based constraint describes how values can change between earlier and later states. The approach is essentially based on using @pre and ocllsNew in invariants as well as in postconditions of operations. In order to distinguish between invariants and time-based constraints we introduce the stereotype << temporal constraint >>. We also introduce an operator eventually for expressing liveness constraints on attributes. We illustrate the approach by describing constraints such as constant attributes of an object, constant associations, and values increasing or decreasing over time.
引用
收藏
页码:375 / 379
页数:5
相关论文
共 50 条
  • [41] Babelsberg/JS']JS A Browser-Based Implementation of an Object Constraint Language
    Felgentreff, Tim
    Borning, Alan
    Hirschfeld, Robert
    Lincke, Jens
    Ohshima, Yoshiki
    Freudenberg, Bert
    Krahn, Robert
    ECOOP 2014 - OBJECT-ORIENTED PROGRAMMING, 2014, 8586 : 411 - 436
  • [42] Visual modeling of XML constraints based on a new extensible constraint markup language
    Hu, Jingkun
    Tao, Lixin
    IMECS 2006: INTERNATIONAL MULTICONFERENCE OF ENGINEERS AND COMPUTER SCIENTISTS, 2006, : 169 - +
  • [43] Safe reuse in modelling language engineering using model subtyping with OCL constraints
    Artur Boronat
    Software and Systems Modeling, 2023, 22 : 797 - 818
  • [44] Safe reuse in modelling language engineering using model subtyping with OCL constraints
    Boronat, Artur
    SOFTWARE AND SYSTEMS MODELING, 2023, 22 (03): : 797 - 818
  • [45] Effect of volume- and time-based constraints on capture of analytes in microfluidic heterogeneous immunoassays
    Parsa, Hesam
    Chin, Curtis D.
    Mongkolwisetwara, Puttisarn
    Lee, Benjamin W.
    Wang, Jennifer J.
    Sia, Samuel K.
    LAB ON A CHIP, 2008, 8 (12) : 2062 - 2070
  • [46] OBJECT-ORIENTED REAL-TIME LANGUAGE DESIGN - CONSTRUCTS FOR TIMING CONSTRAINTS
    ISHIKAWA, Y
    TOKUDA, H
    MERCER, CW
    SIGPLAN NOTICES, 1990, 25 (10): : 289 - 298
  • [47] On the Folly of Introducing A (Time-Based UMV), While Designing for B (Time-Based CMV)
    Brawley Newlin, Alice
    APPLIED PSYCHOLOGICAL MEASUREMENT, 2023, 47 (03) : 253 - 256
  • [48] CONSTRAINTLISP - AN OBJECT-ORIENTED CONSTRAINT PROGRAMMING LANGUAGE
    LIU, B
    KU, YW
    SIGPLAN NOTICES, 1992, 27 (11): : 17 - 26
  • [49] Advances in Applications of Object Constraint Language for Software Engineering
    Jilani, Atif A.
    Iqbal, Muhammad Z.
    Khan, Muhammad U.
    Usman, Muhammad
    ADVANCES IN COMPUTERS, VOL 112, 2019, 112 : 135 - 184
  • [50] Specifying Usage Control Model With Object Constraint Language
    Li, Min
    EAI ENDORSED TRANSACTIONS ON SCALABLE INFORMATION SYSTEMS, 2013, 13 (1-3):