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 条
  • [31] Automatic Benchmark Generation for Object Constraint Language
    Jha, Ankit
    2023 IEEE CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION, ICST, 2023, : 486 - 488
  • [32] TIME-BASED COMPETITION
    WRENNALL, W
    MANUFACTURING ENGINEERING, 1990, 105 (04): : 136 - 136
  • [33] Time-Based Consensus
    Heydari, Hasan
    Silvestre, Guthemberg
    Larrieu, Nicolas
    Pirovano, Alain
    EURO-PAR 2019: PARALLEL PROCESSING WORKSHOPS, 2020, 11997 : 756 - 759
  • [34] A Fine-grained Time-constraint Role-based Access control using OCL
    Li, Jun-qing
    Li, Xin-you
    Xie, Sheng-xian
    Chen, Chen
    Yu, Hui-Shan
    Liu, Guang-liang
    2008 THIRD INTERNATIONAL CONFERENCE ON DIGITAL INFORMATION MANAGEMENT, VOLS 1 AND 2, 2008, : 83 - +
  • [35] Time-based hypercompetition
    Chung C.H.
    International Journal of Information Systems and Change Management, 2020, 12 (01): : 53 - 70
  • [36] Time-based architecture
    Hurol, Yonca
    OPEN HOUSE INTERNATIONAL, 2006, 31 (02) : 82 - 83
  • [37] Time-based procurement
    Li, Zhaolin
    Shao, Lusheng
    INTERNATIONAL JOURNAL OF PRODUCTION ECONOMICS, 2015, 169 : 350 - 361
  • [38] Time-based ΔΣ ADCs
    Hanumolu, Pavan Kumar
    2017 IEEE CUSTOM INTEGRATED CIRCUITS CONFERENCE (CICC), 2017,
  • [39] Visual Modeling of XML Constraints Based on a New Extensible Constraint Markup Language
    Hu, Jingkun
    Tao, Lixin
    ENGINEERING LETTERS, 2006, 13 (03)
  • [40] Integrating Finite Domain and Set Constraints into a Set-based Constraint Language
    Bergenti, Federico
    Dal Palu, Alessandro
    Rossi, Gianfranco
    FUNDAMENTA INFORMATICAE, 2009, 96 (03) : 227 - 252