As i had created the layout of the Report page which will be used to display the generated validation report last week, this week i coded to get a combined Map of validation errors along with having Object type's Class name as they key of the Map.
So i have implemented for iterating via all the detected validation errors and comparing the Class name the similar set of errors are pu into a single collection and final validation error Map is generated.
Then after using that Map, the errors are displayed in the 'Class View' tab of the report page as a table as sketched in follows.
Currently i am having some issues in displaying this in the page, and that is why there is no screenshot of the yet. I will be publishing the screenshot in my next week blog once i fix all the bugs regarding the task.
So i have implemented for iterating via all the detected validation errors and comparing the Class name the similar set of errors are pu into a single collection and final validation error Map is generated.
Then after using that Map, the errors are displayed in the 'Class View' tab of the report page as a table as sketched in follows.
Class Type | Error Name | Description |
Concept | Duplicate Name Exception | A is duplicated in Concept "B" |
Duplicate Name Exception | C is duplicated in Concept "B" |
Currently i am having some issues in displaying this in the page, and that is why there is no screenshot of the yet. I will be publishing the screenshot in my next week blog once i fix all the bugs regarding the task.
No comments:
Post a Comment