public interface IFeatureConstraint
Modifier and Type | Field and Description |
---|---|
static String |
E_ROOT_OBJECT
Context map key to retrieve the the root EObject (may be null).
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.emf.common.util.Diagnostic |
validate(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature,
Object value,
Map<Object,Object> context)
Validate a given value against constraints defined by the
EDataType
of the EStructuralFeature . |
static final String E_ROOT_OBJECT
org.eclipse.emf.common.util.Diagnostic validate(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature, Object value, Map<Object,Object> context)
EDataType
of the EStructuralFeature
.eStructuralFeature
- the feature that defines any constraintsvalue
- the value to be validatedcontext
- the validation context, may be null
Diagnostic
describing any potential errorsCopyright © 2019. All rights reserved.