protected ValidationMessage < Origin > reportMessage ( Severity severity , Origin origin , String messageKey , Object ... params ) { ValidationMessage < Origin > message = EntryValidations . createMessage ( origin , severity , messageKey , params ) ; message . getMessage ( ) ; // System.out.println("message = " + message.getMessage()); result . append ( message ) ; return message ; }
Creates a validation message for the feature and adds it to the validation result .