org.eclipse.ocl.examples.pivot.delegate
Interface ValidationDelegateExtension
- All Superinterfaces:
- org.eclipse.emf.ecore.EValidator.ValidationDelegate
- All Known Subinterfaces:
- ValidationDelegate
- All Known Implementing Classes:
- OCLValidationDelegate, OCLValidationDelegateFactory, OCLValidationDelegateFactory.Global
public interface ValidationDelegateExtension
- extends org.eclipse.emf.ecore.EValidator.ValidationDelegate
An extended interface allowing validators to generate custom diagnostics.
- Since:
- 3.1
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 |
Method Summary |
boolean |
validate(org.eclipse.emf.ecore.EClass eClass,
org.eclipse.emf.ecore.EObject eObject,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context,
java.lang.String constraint,
java.lang.String expression,
int severity,
java.lang.String source,
int code)
Evaluates the given constraint expression against the object in the given context. |
boolean |
validate(org.eclipse.emf.ecore.EDataType eDataType,
java.lang.Object value,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context,
java.lang.String constraint,
java.lang.String expression,
int severity,
java.lang.String source,
int code)
Evaluates the given constraint expression against the value in the given context. |
Methods inherited from interface org.eclipse.emf.ecore.EValidator.ValidationDelegate |
validate, validate, validate |
validate
boolean validate(org.eclipse.emf.ecore.EClass eClass,
org.eclipse.emf.ecore.EObject eObject,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context,
java.lang.String constraint,
java.lang.String expression,
int severity,
java.lang.String source,
int code)
- Evaluates the given constraint expression against the object in the given context.
- Returns:
- the result of the expression evaluation.
validate
boolean validate(org.eclipse.emf.ecore.EDataType eDataType,
java.lang.Object value,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context,
java.lang.String constraint,
java.lang.String expression,
int severity,
java.lang.String source,
int code)
- Evaluates the given constraint expression against the value in the given context.
- Returns:
- the result of the expression evaluation.