Interface ValidationResultCollector
-
- All Known Implementing Classes:
ValidationResultsCollectorImpl
public interface ValidationResultCollector
Object passed to theModelElementValidator
to collect validation results.- Since:
- 7.6
- Author:
- Daniel Meyer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addError(int code, String message)
Adds an errorvoid
addWarning(int code, String message)
Adds a warining
-
-
-
Method Detail
-
addError
void addError(int code, String message)
Adds an error- Parameters:
code
- a reference code for the errormessage
- a human consumable error message
-
addWarning
void addWarning(int code, String message)
Adds a warining- Parameters:
code
- a reference code for the errormessage
- a human consumable error message
-
-