发明申请
US20090199156A1 CONSTRAINT LANGUAGE EDITING FOR GENERATING MODEL-RELATED CONSTRAINT EXPRESSIONS 有权
用于生成与模型相关的约束表达式的约束语言编辑

  • 专利标题: CONSTRAINT LANGUAGE EDITING FOR GENERATING MODEL-RELATED CONSTRAINT EXPRESSIONS
  • 专利标题(中): 用于生成与模型相关的约束表达式的约束语言编辑
  • 申请号: US12362829
    申请日: 2009-01-30
  • 公开(公告)号: US20090199156A1
    公开(公告)日: 2009-08-06
  • 发明人: Ying LiJing LuoJia Yin MaoJie Qiu
  • 申请人: Ying LiJing LuoJia Yin MaoJie Qiu
  • 优先权: CN200810008950.3 20080131
  • 主分类号: G06F9/44
  • IPC分类号: G06F9/44
CONSTRAINT LANGUAGE EDITING FOR GENERATING MODEL-RELATED CONSTRAINT EXPRESSIONS
摘要:
A method and navigation helper for generating constraint language codes for navigation in a constraint language editor. The constraint language editor generates model/instance-related constraint expressions according to the loaded model/instance and related constraints. The navigation is a path implementing the constraints. The method includes parsing the loaded model/instance; calculating a possible association related to the element through the type of the navigation-related element in the model/instance; and calculating a possible navigation path according to the association. A method for generating constraint language codes in a constraint language editor and the constraint language editor includes loading the model/instance; loading constraint patterns for storing parameters and a constraint code template; invoking corresponding helpers, according to the types of parameters stored in the constraint patterns; and generating constraint codes according to the generated parameters and the constraint code template.
信息查询
0/0