Class BeanValidationProvider

    • Constructor Detail

      • BeanValidationProvider

        public BeanValidationProvider()
      • BeanValidationProvider

        public BeanValidationProvider​(java.io.InputStream... inputStreams)
    • Method Detail

      • validate

        public java.util.List<org.eclipse.emf.common.util.Diagnostic> validate​(org.eclipse.emf.ecore.EObject eObject)
        Description copied from interface: Validator
        Method is called by the ValidationService to retrieve addition validation information for the given EObject.
        Specified by:
        validate in interface Validator
        Parameters:
        eObject - the EObject to validate
        Returns:
        the List of additional Diagnostics for the EObject
      • getMessageInterpolator

        protected abstract javax.validation.MessageInterpolator getMessageInterpolator​(javax.validation.MessageInterpolator messageInterpolator)
      • getSeverity

        protected abstract int getSeverity​(javax.validation.ConstraintViolation<org.eclipse.emf.ecore.EObject> violation)