public abstract class PivotDiagnostician
extends org.eclipse.emf.ecore.util.Diagnostician
Modifier and Type | Class and Description |
---|---|
protected static class |
PivotDiagnostician.Diagnostician_2_8 |
protected static class |
PivotDiagnostician.Diagnostician_2_9 |
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.
|
org.eclipse.emf.ecore.EValidator.Descriptor, org.eclipse.emf.ecore.EValidator.PatternMatcher, org.eclipse.emf.ecore.EValidator.Registry, org.eclipse.emf.ecore.EValidator.SubstitutionLabelProvider, org.eclipse.emf.ecore.EValidator.ValidationDelegate
Modifier and Type | Field and Description |
---|---|
protected org.eclipse.emf.common.notify.AdapterFactory |
adapterFactory |
protected Technology |
technology |
Modifier | Constructor and Description |
---|---|
protected |
PivotDiagnostician(org.eclipse.emf.ecore.EValidator.Registry eValidatorRegistry,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet,
org.eclipse.emf.common.notify.AdapterFactory adapterFactory) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.Object,java.lang.Object> |
createDefaultContext() |
static org.eclipse.emf.ecore.util.Diagnostician |
createDiagnostician(org.eclipse.emf.ecore.resource.ResourceSet resourceSet,
org.eclipse.emf.common.notify.AdapterFactory adapterFactory,
org.eclipse.core.runtime.IProgressMonitor progressMonitor) |
static OCL |
getOCL(java.util.Map<java.lang.Object,java.lang.Object> context)
Return the OCL context for the validation, caching the created value in the validation context for re-use by
further validations.
|
static void |
setOCL(java.util.Map<java.lang.Object,java.lang.Object> context,
OCL ocl) |
boolean |
validate(org.eclipse.emf.ecore.EClass eClass,
org.eclipse.emf.ecore.EObject eObject,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context) |
protected final org.eclipse.emf.common.notify.AdapterFactory adapterFactory
@NonNull protected final Technology technology
protected PivotDiagnostician(org.eclipse.emf.ecore.EValidator.Registry eValidatorRegistry, @NonNull org.eclipse.emf.ecore.resource.ResourceSet resourceSet, org.eclipse.emf.common.notify.AdapterFactory adapterFactory)
@NonNull public static org.eclipse.emf.ecore.util.Diagnostician createDiagnostician(@NonNull org.eclipse.emf.ecore.resource.ResourceSet resourceSet, org.eclipse.emf.common.notify.AdapterFactory adapterFactory, @Nullable org.eclipse.core.runtime.IProgressMonitor progressMonitor)
@NonNull public static OCL getOCL(@NonNull java.util.Map<java.lang.Object,java.lang.Object> context)
public static void setOCL(@NonNull java.util.Map<java.lang.Object,java.lang.Object> context, @NonNull OCL ocl)
public java.util.Map<java.lang.Object,java.lang.Object> createDefaultContext()
createDefaultContext
in class org.eclipse.emf.ecore.util.Diagnostician
public boolean validate(org.eclipse.emf.ecore.EClass eClass, org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
validate
in interface org.eclipse.emf.ecore.EValidator
validate
in class org.eclipse.emf.ecore.util.Diagnostician