- 3
- 0
- 约1.44万字
- 约 36页
- 2016-12-28 发布于北京
- 举报
SEG4110 - Topic E - Object Constraint Language SEG4110 – Advanced Software Engineering and Reengineering TOPIC E Object Constraint Language (OCL) What is OCL? OCL is a formal language used to express constraints. Constraint: An invariant condition that must hold for the system being modeled. Constraints do not have side effects Their evaluation cannot alter the state of the executing system. No expression you can write in OCL allows side effects E.g. there is no way to assign a value to an attribute Expressions can only return a value OCL cannot be used as a programming language More on
原创力文档

文档评论(0)