public class CompositeEValidator extends 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 String |
USE_EOBJECT_VALIDATOR |
| Constructor and Description |
|---|
CompositeEValidator() |
| Modifier and Type | Method and Description |
|---|---|
void |
addValidator(org.eclipse.emf.ecore.EValidator validator) |
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,
Map<Object,Object> context) |
boolean |
validate(org.eclipse.emf.ecore.EDataType eDataType,
Object value,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validate(org.eclipse.emf.ecore.EObject eObject,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context) |
public static final 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,
Map<Object,Object> context)
throws OperationCanceledError
validate in interface org.eclipse.emf.ecore.EValidatorOperationCanceledErrorpublic boolean validate(org.eclipse.emf.ecore.EClass eClass,
org.eclipse.emf.ecore.EObject eObject,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context)
throws OperationCanceledError
validate in interface org.eclipse.emf.ecore.EValidatorOperationCanceledErrorpublic boolean validate(org.eclipse.emf.ecore.EDataType eDataType,
Object value,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context)
throws OperationCanceledError
validate in interface org.eclipse.emf.ecore.EValidatorOperationCanceledErrorpublic boolean isUseEObjectValidator()
public void setUseEObjectValidator(boolean useEObjectValidator)
public 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()
Copyright © 2015. All Rights Reserved.