public class OCLValidationDelegateFactory extends AbstractOCLDelegateFactory implements ValidationDelegate.Factory
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.Registry
Constructor and Description |
---|
OCLValidationDelegateFactory()
Deprecated.
Specify explicit delegateURI
|
OCLValidationDelegateFactory(OCLDelegateDomain delegateDomain)
Deprecated.
Use String argument to avoid leak hazards
|
OCLValidationDelegateFactory(String delegateURI)
Construct a factory for a known delegate domain.
|
Modifier and Type | Method and Description |
---|---|
ValidationDelegate |
createValidationDelegate(EClassifier classifier) |
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,
Map<Object,Object> context,
String constraint,
String expression) |
getURI
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getURI
@Deprecated public OCLValidationDelegateFactory()
public OCLValidationDelegateFactory(String delegateURI)
delegateURI
- the delegate domain.@Deprecated public OCLValidationDelegateFactory(OCLDelegateDomain delegateDomain)
delegateDomain
- the delegate domain.public ValidationDelegate createValidationDelegate(EClassifier classifier)
createValidationDelegate
in interface ValidationDelegate.Factory
public 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)
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.