Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 338168

Summary: Feature Request: generate validation stubs for each entity
Product: [Modeling] TMF Reporter: Olaf Bigalk <bib.odo>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 CC: sebastian.zarnekow
Version: 1.0.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Olaf Bigalk CLA 2011-02-24 19:37:17 EST
It should be simple to generate method stubs in the generated validation class for each model entity. That makes it much more easy to implement validation methods for the xtext model. They may be commented out to improve performance.
Comment 1 Sebastian Zarnekow CLA 2011-02-24 20:01:37 EST
Hi Bob,

thanks for the suggestion. However, I doubt that an often large number of commented rules in the validator will help with implementing checks. They will most likely distract the users instead of help them. Especially due to the fact, that the commented validation rules cannot be updated according to model changes. Please reopen if I missed a point.