Automated Object Model Validation Rule Generation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Manual development of validation rules in business rule management systems (BRMS) is cumbersome, error-prone, and time-consuming, especially for large object models, due to the need for careful inspection and repetitive organization of rules.
Innovation Solution
A method and system that parses an object model to generate validation rules in a hierarchical structure, using a model parser to identify data fields, a validation rule name generator to create user-friendly rule names, and a validation rule generator to produce organized validation rules, reducing manual effort and errors.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If manual development of validation rules is performed, then rules can be customized and deployed in BRMS, but the process is cumbersome, error-prone, and time-consuming
Solution Approach 1:
The system performs preliminary actions by automatically parsing the object model and pre-generating validation rules before manual deployment. The parser extracts field structures, data types, and relationships, then the rule generator creates draft validation rules that developers can review and deploy, eliminating the need for manual rule creation from scratch.
Solution Approach 2:
The system creates copies of validation rules by generating rule templates based on the object model structure. Once validation rules are defined for one object model, they can be copied and adapted to similar models, reducing repetitive manual work and ensuring consistency across different validation scenarios.
2Ease of manufacture
If manual inspection and organization of validation rules is performed, then rules can be properly structured, but the process is cumbersome and repetitive
Solution Approach 1:
The system segments the validation rule organization process into distinct automated components: parsing the object model into field structures, generating validation rules for each field, and organizing them hierarchically. This segmentation automates what would otherwise require manual inspection and organization, reducing complexity and effort.
3Productivity
If automated generation of validation rules is implemented, then time consumption and errors are reduced, but the rules must be organized in a hierarchical structure
Solution Approach 1:
The automated system segments rule generation into hierarchical levels: object model → field structures → validation rules. This segmentation naturally produces the required hierarchical structure while maintaining high productivity, as each level is processed automatically without manual intervention.
Solution Approach 2:
The system implements nesting by placing validation rules within field structures, which are themselves nested within object models. This nested hierarchical structure is automatically generated by the parser and rule generator, organizing rules in a manageable nested format that reflects the underlying data model.
Data Source
AI summary
Embodiments of the present invention provide a method, computer program product, and computer system for generating object model validation rules. The method includes receiving an object model and generating a first field structure. A second field structure is generated based on the first field structure. A set of validation rules is then generated based on the second field structure.


