public class OCLValidationDelegateFactory extends AbstractOCLDelegateFactory implements ValidationDelegate.Factory, ValidationDelegate
| Modifier and Type | Class and Description |
|---|---|
static class |
OCLValidationDelegateFactory.Global
The Global variant of the Factory delegates to a local ResourceSet factory if one
can be located at the EOperation.Internal.InvocationDelegate.Factory.Registry
by the DelegateResourceSetAdapter.
|
ValidationDelegate.Factory.Descriptor, ValidationDelegate.Factory.RegistryValidationDelegate.Factory| Constructor and Description |
|---|
OCLValidationDelegateFactory(String delegateURI) |
| Modifier and Type | Method and Description |
|---|---|
ValidationDelegate |
createValidationDelegate(EClassifier classifier) |
boolean |
validate(EClass eClass,
EObject eObject,
DiagnosticChain diagnostics,
Map<Object,Object> context,
EOperation invariant,
String expression,
int severity,
String source,
int code)
Evaluates the given constraint expression against the object in the given context.
|
boolean |
validate(EClass eClass,
EObject eObject,
DiagnosticChain diagnostics,
Map<Object,Object> context,
String constraint,
String expression,
int severity,
String source,
int code)
Evaluates the given constraint expression against the object in the given context.
|
boolean |
validate(EClass eClass,
EObject eObject,
Map<Object,Object> context,
EOperation invariant,
String expression) |
boolean |
validate(EClass eClass,
EObject eObject,
Map<Object,Object> context,
String constraint,
String expression) |
boolean |
validate(EDataType eDataType,
Object value,
DiagnosticChain diagnostics,
Map<Object,Object> context,
String constraint,
String expression,
int severity,
String source,
int code)
Evaluates the given constraint expression against the object in the given context.
|
boolean |
validate(EDataType eDataType,
Object value,
Map<Object,Object> context,
String constraint,
String expression) |
getURIequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetURIpublic OCLValidationDelegateFactory(String delegateURI)
public ValidationDelegate createValidationDelegate(EClassifier classifier)
createValidationDelegate in interface ValidationDelegate.Factorypublic boolean validate(EClass eClass,
EObject eObject,
Map<Object,Object> context,
EOperation invariant,
String expression)
public boolean validate(EClass eClass,
EObject eObject,
Map<Object,Object> context,
String constraint,
String expression)
public boolean validate(EDataType eDataType,
Object value,
Map<Object,Object> context,
String constraint,
String expression)
public boolean validate(EClass eClass,
EObject eObject,
DiagnosticChain diagnostics,
Map<Object,Object> context,
EOperation invariant,
String expression,
int severity,
String source,
int code)
ValidationDelegateExtensionvalidate in interface ValidationDelegateExtensionpublic boolean validate(EClass eClass,
EObject eObject,
DiagnosticChain diagnostics,
Map<Object,Object> context,
String constraint,
String expression,
int severity,
String source,
int code)
ValidationDelegateExtensionvalidate in interface ValidationDelegateExtensionpublic boolean validate(EDataType eDataType,
Object value,
DiagnosticChain diagnostics,
Map<Object,Object> context,
String constraint,
String expression,
int severity,
String source,
int code)
ValidationDelegateExtensionvalidate in interface ValidationDelegateExtensionCopyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.