org.eclipse.ocl.ecore.delegate
Class OCLInvocationDelegate

java.lang.Object
  extended by BasicInvocationDelegate
      extended by 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

Field Summary
protected  OCLDelegateDomain delegateDomain
           
 
Constructor Summary
OCLInvocationDelegate(OCLDelegateDomain delegateDomain, EOperation operation)
          Initializes me with my operation.
 
Method Summary
 java.lang.Object dynamicInvoke(InternalEObject target,  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
 

Field Detail

delegateDomain

protected final OCLDelegateDomain delegateDomain
Constructor Detail

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
Method Detail

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()

Copyright 2002, 2007 IBM Corporation and others.
All Rights Reserved.