...
Section | |||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Sample 4: Processing the EDMvalidation Result Model
...
programatically
Whenever vaildating a data model a generic diagnostic file is with all violations is produced. It might, however, be that one in a certain context wants to apply a filter.
Some types of errors are critical whereas others can be ignored. Moreover, it can also be helpful to show context specific identification of the the instances that cause the problem, in order to pin point the problem.
Therefore one can switch on an option to produce a so called validation result model whenever validating a data model. After the validation is finished, the validation result model can be processed programatically.
A detailed documentation is found in the header of the Validation class in the example.
Section | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...