检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:罗清胜[1]
出 处:《计算机工程与设计》2010年第6期1264-1266,1270,共4页Computer Engineering and Design
摘 要:为了能在运行时验证OCL约束,提出了约束验证框架。针对OCL-Java代码(即OCL约束对应的可执行Java代码)插入的简单方案和封装方法存在的不足,给出了改进的代码插入方案,其中应用异常处理技术从而能够捕获冲突的约束。为了使OCL-Java代码根据设计的代码模式插入到Java程序中,对Java解析器作了修改。最后,实验结果表明了该方法的可行性。To verificate the OCL(object constraint language) constraints during runtime, a framework of constrait verification is presented.In allusion to the disadvantages of the simple code insertion approach and wrapping method of the OCL-Java code insertion, a mended code insertion approach is put forward, which applying the exception handling technology catching the constraints violated.In order to make OCL-Java code insert into the Java program according to the designed code pattern, the Java paser is mended.At last, the feasibility of the verification method is proved with an experiment.
关 键 词:对象约束语言 约束冲突 约束验证 代码模式 Java解析器
分 类 号:TP311[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.7