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)
Validates the object in the given context, optionally producing diagnostics.
- Parameters:
eDataType
- the EDataType
to validate the value against
value
- the value to be validated
diagnostics
- 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.
- Returns:
- whether the object is valid.