首页    期刊浏览 2024年12月01日 星期日
登录注册

文章基本信息

  • 标题:Avoiding OCL specification pitfalls
  • 本地全文:下载
  • 作者:Dan Ioan Chiorean ; Ileana Ober ; Vladiela Petrascu
  • 期刊名称:Electronic Communications of the EASST
  • 电子版ISSN:1863-2122
  • 出版年度:2012
  • 卷号:52
  • 语种:English
  • 出版社:European Association of Software Science and Technology (EASST)
  • 摘要:This paper discusses about teaching software modeling by using OCL specifications, in the context in which the web represents the main source of information. The raise of the interest for models induced a higher need for clear and complete specifications. In case of models specified by means of MOF-based languages, adding OCL constraints proved to be an interesting answer to this need. Several OCL examples posted on web include hasty specifications, that are often dissuasive with respect to complementing models with OCL specification. OCL beginners, and not only, need to know how to avoid potential specification traps. Our proposal is based on a complete and unambiguous description of requirements, that represents the first step towards good OCL specifications. The work highlights several major aspects that need to be understood and complied with to produce meaningful and efficient OCL specifications. This approach was tested while teaching OCL at Babes-Bolyai University of Cluj-Napoca.
国家哲学社会科学文献中心版权所有