public interface PreSetValidator
PreSetValidator validates a value against a given data type, before it gets set in the model.| Modifier and Type | Method and Description |
|---|---|
boolean |
validate(org.eclipse.emf.ecore.EDataType eDataType,
Object value,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context)
Validates the object in the given context, optionally producing diagnostics.
|
boolean validate(org.eclipse.emf.ecore.EDataType eDataType,
Object value,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context)
eDataType - the EDataType to validate the value againstvalue - the value to be validateddiagnostics - a place to accumulate diagnostics; if it's null, no diagnostics should be
produced.context - a place to cache information, if it's null, no cache is supported.Copyright © 2020. All rights reserved.