public abstract class PivotDiagnostician
extends Diagnostician
Modifier and Type | Class and Description |
---|---|
static class |
PivotDiagnostician.BasicDiagnosticWithRemove
BasicDiagnosticWithRemove supports the migration of child diagnostics to grandchildren in the more
efficient validateFeatureDetail override.
|
static class |
PivotDiagnostician.WeakOCLReference
WeakOCLReference maintains the reference to the OCL context within the Diagnostician context and
disposes of it once the Diagnostician is done.
|
Modifier and Type | Method and Description |
---|---|
Map<Object,Object> |
createDefaultContext() |
static Diagnostician |
createDiagnostician(ResourceSet resourceSet,
AdapterFactory adapterFactory,
IProgressMonitor progressMonitor) |
static Diagnostician |
createDiagnostician(ResourceSet resourceSet,
EValidator.Registry globalEValidatorRegistry,
AdapterFactory adapterFactory,
IProgressMonitor progressMonitor) |
static OCL |
getOCL(Map<Object,Object> context)
Deprecated.
pass a null eObject to getOCL(context, eObject)
|
static OCL |
getOCL(Map<Object,Object> context,
EObject eObject)
Return the OCL context for the validation, caching the created value in the validation context for re-use by
further validations.
|
static void |
setOCL(Map<Object,Object> context,
OCL ocl) |
boolean |
validate(EClass eClass,
EObject eObject,
DiagnosticChain diagnostics,
Map<Object,Object> context) |
public static Diagnostician createDiagnostician(ResourceSet resourceSet, AdapterFactory adapterFactory, IProgressMonitor progressMonitor)
public static Diagnostician createDiagnostician(ResourceSet resourceSet, EValidator.Registry globalEValidatorRegistry, AdapterFactory adapterFactory, IProgressMonitor progressMonitor)
@Deprecated public static OCL getOCL(Map<Object,Object> context)
public static OCL getOCL(Map<Object,Object> context, EObject eObject)
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.