Interface ValidationResultCollector
-
- All Known Implementing Classes:
ValidationResultsCollectorImpl
public interface ValidationResultCollectorObject passed to theModelElementValidatorto collect validation results.- Since:
- 7.6
- Author:
- Daniel Meyer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddError(int code, String message)Adds an errorvoidaddWarning(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
-
-