org.eclipse.ocl.ecore.delegate
Class OCLInvocationDelegateFactory

java.lang.Object
  extended by org.eclipse.ocl.ecore.delegate.AbstractOCLDelegateFactory
      extended by org.eclipse.ocl.ecore.delegate.OCLInvocationDelegateFactory
All Implemented Interfaces:
org.eclipse.emf.ecore.EOperation.Internal.InvocationDelegate.Factory
Direct Known Subclasses:
OCLInvocationDelegateFactory.Global

public class OCLInvocationDelegateFactory
extends AbstractOCLDelegateFactory
implements org.eclipse.emf.ecore.EOperation.Internal.InvocationDelegate.Factory

Factory for OCL operation-invocation delegates.

Since:
3.0

Nested Class Summary
static class OCLInvocationDelegateFactory.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.
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.EOperation.Internal.InvocationDelegate.Factory
org.eclipse.emf.ecore.EOperation.Internal.InvocationDelegate.Factory.Descriptor, org.eclipse.emf.ecore.EOperation.Internal.InvocationDelegate.Factory.Registry
 
Field Summary
 
Fields inherited from class org.eclipse.ocl.ecore.delegate.AbstractOCLDelegateFactory
delegateDomain, delegateURI
 
Constructor Summary
OCLInvocationDelegateFactory()
          Deprecated. Specify explicit delegateURI
OCLInvocationDelegateFactory(OCLDelegateDomain delegateDomain)
          Deprecated. Use String argument to avoid leak hazards
OCLInvocationDelegateFactory(java.lang.String delegateURI)
          Construct a factory for a known delegate domain.
 
Method Summary
 org.eclipse.emf.ecore.EOperation.Internal.InvocationDelegate createInvocationDelegate(org.eclipse.emf.ecore.EOperation operation)
           
 
Methods inherited from class org.eclipse.ocl.ecore.delegate.AbstractOCLDelegateFactory
getDelegateDomain, getURI, loadDelegateDomain
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OCLInvocationDelegateFactory

@Deprecated
public OCLInvocationDelegateFactory()
Deprecated. Specify explicit delegateURI

Construct a factory for an unknown delegate domain; often the global factory.


OCLInvocationDelegateFactory

public OCLInvocationDelegateFactory(java.lang.String delegateURI)
Construct a factory for a known delegate domain.

Parameters:
delegateDomain - the delegate domain.
Since:
3.2

OCLInvocationDelegateFactory

@Deprecated
public OCLInvocationDelegateFactory(OCLDelegateDomain delegateDomain)
Deprecated. Use String argument to avoid leak hazards

Construct a factory for a known delegate domain.

Parameters:
delegateDomain - the delegate domain.
Method Detail

createInvocationDelegate

public org.eclipse.emf.ecore.EOperation.Internal.InvocationDelegate createInvocationDelegate(org.eclipse.emf.ecore.EOperation operation)
Specified by:
createInvocationDelegate in interface org.eclipse.emf.ecore.EOperation.Internal.InvocationDelegate.Factory