public class CompositeEValidator
extends java.lang.Object
implements org.eclipse.emf.ecore.EValidator
Modifier and Type | Class and Description |
---|---|
static class |
CompositeEValidator.EValidatorEqualitySupport |
org.eclipse.emf.ecore.EValidator.Descriptor, org.eclipse.emf.ecore.EValidator.PatternMatcher, org.eclipse.emf.ecore.EValidator.Registry, org.eclipse.emf.ecore.EValidator.SubstitutionLabelProvider, org.eclipse.emf.ecore.EValidator.ValidationDelegate
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
USE_EOBJECT_VALIDATOR |
Constructor and Description |
---|
CompositeEValidator() |
Modifier and Type | Method and Description |
---|---|
void |
addValidator(org.eclipse.emf.ecore.EValidator validator) |
java.util.List<CompositeEValidator.EValidatorEqualitySupport> |
getContents() |
CompositeEValidator |
getCopyAndClearContents()
For testing purpose.
|
com.google.inject.Provider<CompositeEValidator.EValidatorEqualitySupport> |
getEqualitySupportProvider() |
protected void |
initDefaults() |
boolean |
isUseEObjectValidator() |
void |
setEqualitySupportProvider(com.google.inject.Provider<CompositeEValidator.EValidatorEqualitySupport> equalitySupportProvider) |
void |
setUseEObjectValidator(boolean useEObjectValidator) |
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) |
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) |
boolean |
validate(org.eclipse.emf.ecore.EObject eObject,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context) |
public static final java.lang.String USE_EOBJECT_VALIDATOR
protected void initDefaults()
public void addValidator(org.eclipse.emf.ecore.EValidator validator)
public boolean validate(org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
validate
in interface org.eclipse.emf.ecore.EValidator
public 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)
validate
in interface org.eclipse.emf.ecore.EValidator
public 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)
validate
in interface org.eclipse.emf.ecore.EValidator
public boolean isUseEObjectValidator()
public void setUseEObjectValidator(boolean useEObjectValidator)
public java.util.List<CompositeEValidator.EValidatorEqualitySupport> getContents()
public void setEqualitySupportProvider(com.google.inject.Provider<CompositeEValidator.EValidatorEqualitySupport> equalitySupportProvider)
public com.google.inject.Provider<CompositeEValidator.EValidatorEqualitySupport> getEqualitySupportProvider()
public CompositeEValidator getCopyAndClearContents()