org.eclipse.ocl.ecore.delegate
Class OCLInvocationDelegate
java.lang.Object
BasicInvocationDelegate
org.eclipse.ocl.ecore.delegate.OCLInvocationDelegate
public class OCLInvocationDelegate
- extends BasicInvocationDelegate
An implementation of an operation-invocation delegate for OCL body
expressions.
- Since:
- 3.0
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,
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(InternalEObject target,
arguments)
throws java.lang.reflect.InvocationTargetException
- Throws:
java.lang.reflect.InvocationTargetException
getOperationName
public java.lang.String getOperationName()
toString
public java.lang.String toString()