Open eclipse-ocl-bot opened 1 month ago
| --- | --- | | Bugzilla Link | 350955 | | Status | NEW | | Importance | P3 normal | | Reported | Jul 01, 2011 13:49 EDT | | Modified | Feb 19, 2017 14:29 EDT | | Version | 3.2.0 | | Depends on | 512403 | | Reporter | Ed Willink |
CompleteOCLEObjectValidator was put together to make Xtext validation work. It can be used standalone, but this exposes limitations.
a) no ability to access the Ecore2Pivot or TypeManager\ b) no ability to initialize for a known TypeManager
It would also be nice to be able to form a Composite EObjectValidator for standalone usage.
(Ditto OCLinEcoreEObjectValidator.)
By Ed Willink on Jul 01, 2011 13:52
Created attachment 198981 Example standalone Complete OCL validation
Turn this into a documented example.
:notepad_spiral: MyValidator.java
| --- | --- | | Bugzilla Link | 350955 | | Status | NEW | | Importance | P3 normal | | Reported | Jul 01, 2011 13:49 EDT | | Modified | Feb 19, 2017 14:29 EDT | | Version | 3.2.0 | | Depends on | 512403 | | Reporter | Ed Willink |
Description
CompleteOCLEObjectValidator was put together to make Xtext validation work. It can be used standalone, but this exposes limitations.
a) no ability to access the Ecore2Pivot or TypeManager\ b) no ability to initialize for a known TypeManager
It would also be nice to be able to form a Composite EObjectValidator for standalone usage.
(Ditto OCLinEcoreEObjectValidator.)