Class BeanValidationProvider
- java.lang.Object
-
- org.eclipse.emf.ecp.view.validation.bean.BeanValidationProvider
-
- All Implemented Interfaces:
ValidationProvider
,Validator
- Direct Known Subclasses:
DefaultValidationProvider
public abstract class BeanValidationProvider extends java.lang.Object implements ValidationProvider
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.emf.ecp.view.spi.validation.ValidationProvider
ValidationProvider.ContextSensitive
-
-
Constructor Summary
Constructors Constructor Description BeanValidationProvider()
BeanValidationProvider(java.io.InputStream... inputStreams)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract javax.validation.MessageInterpolator
getMessageInterpolator(javax.validation.MessageInterpolator messageInterpolator)
protected abstract int
getSeverity(javax.validation.ConstraintViolation<org.eclipse.emf.ecore.EObject> violation)
java.util.List<org.eclipse.emf.common.util.Diagnostic>
validate(org.eclipse.emf.ecore.EObject eObject)
Method is called by theValidationService
to retrieve addition validation information for the givenEObject
.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.emf.ecp.view.spi.validation.ValidationProvider
setContext, unsetContext, validate
-
-
-
-
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 theValidationService
to retrieve addition validation information for the givenEObject
.
-
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)
-
-