org.eclipse.ocl.ecore.delegate
Class OCLInvocationDelegate
java.lang.Object
org.eclipse.emf.ecore.util.BasicInvocationDelegate
org.eclipse.ocl.ecore.delegate.OCLInvocationDelegate
- All Implemented Interfaces:
- org.eclipse.emf.ecore.EOperation.Internal.InvocationDelegate
public class OCLInvocationDelegate
- extends org.eclipse.emf.ecore.util.BasicInvocationDelegate
An implementation of an operation-invocation delegate for OCL body
expressions.
- Since:
- 3.0
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.EOperation.Internal.InvocationDelegate |
org.eclipse.emf.ecore.EOperation.Internal.InvocationDelegate.Factory |
Fields inherited from class org.eclipse.emf.ecore.util.BasicInvocationDelegate |
eOperation |
Method Summary |
java.lang.Object |
dynamicInvoke(org.eclipse.emf.ecore.InternalEObject target,
org.eclipse.emf.common.util.EList<?> arguments)
|
java.lang.String |
getOperationName()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
delegateDomain
protected final OCLDelegateDomain delegateDomain
OCLInvocationDelegate
public OCLInvocationDelegate(OCLDelegateDomain delegateDomain,
org.eclipse.emf.ecore.EOperation operation)
- Initializes me with my operation.
- Parameters:
operation
- the operation that I handle
- Throws:
ParserException
- if the operation's OCL body expression is invalid
dynamicInvoke
public java.lang.Object dynamicInvoke(org.eclipse.emf.ecore.InternalEObject target,
org.eclipse.emf.common.util.EList<?> arguments)
throws java.lang.reflect.InvocationTargetException
- Specified by:
dynamicInvoke
in interface org.eclipse.emf.ecore.EOperation.Internal.InvocationDelegate
- Overrides:
dynamicInvoke
in class org.eclipse.emf.ecore.util.BasicInvocationDelegate
- Throws:
java.lang.reflect.InvocationTargetException
getOperationName
public java.lang.String getOperationName()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object