Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 338168 - Feature Request: generate validation stubs for each entity
Summary: Feature Request: generate validation stubs for each entity
Status: CLOSED WONTFIX
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 1.0.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-24 19:37 EST by Olaf Bigalk CLA
Modified: 2011-02-24 20:01 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.