public class CompleteOCLConstraintProvider extends LoadableConstraintProvider
Since the ConstraintProvider is not extensible, it is necessary to provide support using a ConstraintParser for the CompleteOCL language.
The redirection to e.g Loans.ocl should be defined as:
and a binding to a client context as:
and a lazy constraint creation as:
| Constructor and Description |
|---|
CompleteOCLConstraintProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
load(EnvironmentFactory environmentFactory,
org.eclipse.emf.common.util.URI uri,
java.util.Set<org.eclipse.emf.validation.model.Category> categories) |
getOCL, installConstraint, installContents, installDescriptor, installResource, setInitializationData, toStringprotected boolean load(@NonNull
EnvironmentFactory environmentFactory,
@NonNull
org.eclipse.emf.common.util.URI uri,
@NonNull
java.util.Set<org.eclipse.emf.validation.model.Category> categories)
load in class LoadableConstraintProvider