public final class ECPDiagnostician extends Object
ECPDiagnostician
will invoke the registered ECPValidators
.Modifier and Type | Field and Description |
---|---|
static ECPDiagnostician |
INSTANCE
The instance of the
ECPDiagnostician . |
Modifier and Type | Method and Description |
---|---|
boolean |
canValidate(org.eclipse.emf.ecore.EObject eObject)
Whether the diagnostician can validate the given object.
|
org.eclipse.emf.common.util.Diagnostic |
validate(org.eclipse.emf.ecore.EObject eObject)
Validates the given
EObject . |
org.eclipse.emf.common.util.Diagnostic |
validate(org.eclipse.emf.ecore.EObject eObject,
Map<?,?> contextEntries)
Validates the given
EObject . |
public static final ECPDiagnostician INSTANCE
ECPDiagnostician
.public org.eclipse.emf.common.util.Diagnostic validate(org.eclipse.emf.ecore.EObject eObject)
EObject
.eObject
- the object to validate.public org.eclipse.emf.common.util.Diagnostic validate(org.eclipse.emf.ecore.EObject eObject, Map<?,?> contextEntries)
EObject
.eObject
- the object to validate.contextEntries
- context entries that may be needed for the validationpublic boolean canValidate(org.eclipse.emf.ecore.EObject eObject)
eObject
- the object to checktrue
if a validator is registered for the object, false
otherwiseCopyright © 2019. All rights reserved.