Interface ValidationError
-
- All Known Implementing Classes:
AbstractLineValidationError,AbstractMappingValidationError,AbstractValidationError,CollectionValidationError,ComposedValidationError,EnumerationValidationError,LocalizedValidationError,MappedSourceError,MissingMandatoryLineError,MissingUniqueKeysError,NoChildrenValidationError,UnmappedMandatoryLineError
public interface ValidationErrorInterface for different types of mapping validation errors.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classValidationError.ErrorCodeEnum class for different error codes: MANDATORYLINE_MISSING, UNMAPPED_MANDATORY, UNIQUEKEYS_SELECTED,etc.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ValidationError.ErrorCodegetErrorCode()Returns the error code of the validation error.java.lang.StringgetMessage()Returns the message of the validation error.java.lang.ObjectgetSource()Returns the source of the validation error.
-
-
-
Method Detail
-
getErrorCode
ValidationError.ErrorCode getErrorCode()
Returns the error code of the validation error.- Returns:
- error code enum
-
getSource
java.lang.Object getSource()
Returns the source of the validation error.- Returns:
- source object
-
getMessage
java.lang.String getMessage()
Returns the message of the validation error.- Returns:
- message string
-
-