Class EvlValidationDelegate
java.lang.Object
org.eclipse.epsilon.ecore.delegates.validation.EvlValidationDelegate
- All Implemented Interfaces:
org.eclipse.emf.ecore.EValidator.ValidationDelegate
,EpsilonValidationDelegate
A basic
EpsilonValidationDelegate
implementation that caches errors to avoid multiple exception
reporting.- Since:
- 2.5
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.epsilon.ecore.delegates.validation.EpsilonValidationDelegate
EpsilonValidationDelegate.Factory
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.EValidator.ValidationDelegate
org.eclipse.emf.ecore.EValidator.ValidationDelegate.Descriptor, org.eclipse.emf.ecore.EValidator.ValidationDelegate.Registry
-
Constructor Summary
ConstructorsConstructorDescriptionEvlValidationDelegate
(EvlDelegateContext delegateContext, DelegateLabelProvider labelProvider) -
Method Summary
Modifier and TypeMethodDescriptionvoid
reset()
boolean
validate
(org.eclipse.emf.ecore.EClass eClass, org.eclipse.emf.ecore.EObject eObject, Map<Object, Object> context, String constraint, String expression) boolean
validate
(org.eclipse.emf.ecore.EClass eClass, org.eclipse.emf.ecore.EObject eObject, Map<Object, Object> context, org.eclipse.emf.ecore.EOperation invariant, String expression) boolean
validate
(org.eclipse.emf.ecore.EDataType eDataType, Object value, Map<Object, Object> context, String constraint, String expression)
-
Constructor Details
-
EvlValidationDelegate
public EvlValidationDelegate(EvlDelegateContext delegateContext, DelegateLabelProvider labelProvider)
-
-
Method Details
-
validate
public boolean validate(org.eclipse.emf.ecore.EClass eClass, org.eclipse.emf.ecore.EObject eObject, Map<Object, Object> context, org.eclipse.emf.ecore.EOperation invariant, String expression) - Specified by:
validate
in interfaceorg.eclipse.emf.ecore.EValidator.ValidationDelegate
-
validate
public boolean validate(org.eclipse.emf.ecore.EClass eClass, org.eclipse.emf.ecore.EObject eObject, Map<Object, Object> context, String constraint, String expression) - Specified by:
validate
in interfaceorg.eclipse.emf.ecore.EValidator.ValidationDelegate
-
validate
public boolean validate(org.eclipse.emf.ecore.EDataType eDataType, Object value, Map<Object, Object> context, String constraint, String expression) - Specified by:
validate
in interfaceorg.eclipse.emf.ecore.EValidator.ValidationDelegate
-
reset
public void reset()- Specified by:
reset
in interfaceEpsilonValidationDelegate
-