org.eclipse.ocl.examples.pivot.delegate
Class InvocationBehavior

java.lang.Object
  extended by org.eclipse.ocl.examples.pivot.delegate.AbstractDelegatedBehavior<org.eclipse.emf.ecore.EOperation,org.eclipse.emf.ecore.EOperation.Internal.InvocationDelegate.Factory.Registry,org.eclipse.emf.ecore.EOperation.Internal.InvocationDelegate.Factory>
      extended by org.eclipse.ocl.examples.pivot.delegate.InvocationBehavior
All Implemented Interfaces:
DelegatedBehavior<org.eclipse.emf.ecore.EOperation,org.eclipse.emf.ecore.EOperation.Internal.InvocationDelegate.Factory.Registry,org.eclipse.emf.ecore.EOperation.Internal.InvocationDelegate.Factory>

public class InvocationBehavior
extends AbstractDelegatedBehavior<org.eclipse.emf.ecore.EOperation,org.eclipse.emf.ecore.EOperation.Internal.InvocationDelegate.Factory.Registry,org.eclipse.emf.ecore.EOperation.Internal.InvocationDelegate.Factory>

Since:
3.0

Field Summary
static java.lang.String BODY_CONSTRAINT_KEY
           
static InvocationBehavior INSTANCE
           
static java.lang.String NAME
           
 
Constructor Summary
InvocationBehavior()
           
 
Method Summary
 org.eclipse.emf.ecore.EOperation.Internal.InvocationDelegate.Factory getDefaultFactory()
           
 org.eclipse.emf.ecore.EOperation.Internal.InvocationDelegate.Factory.Registry getDefaultRegistry()
           
 org.eclipse.emf.ecore.EPackage getEPackage(org.eclipse.emf.ecore.EOperation eOperation)
           
 ExpressionInOcl getExpressionInOcl(TypeManager typeManager, Operation operation)
          Return the operation body associated with operation, if necessary using ocl to create the relevant parsing environment for a textual definition.
 org.eclipse.emf.ecore.EOperation.Internal.InvocationDelegate.Factory getFactory(DelegateDomain delegateDomain, org.eclipse.emf.ecore.EOperation eOperation)
           
 java.lang.Class<org.eclipse.emf.ecore.EOperation.Internal.InvocationDelegate.Factory> getFactoryClass()
           
 java.lang.String getName()
           
 java.lang.Class<org.eclipse.emf.ecore.EOperation.Internal.InvocationDelegate.Factory.Registry> getRegistryClass()
           
 
Methods inherited from class org.eclipse.ocl.examples.pivot.delegate.AbstractDelegatedBehavior
getConstraintForStereotype, getDelegatedBehaviors, getDelegateDomains, getExpressionInOcl, getFactories, getFactory, setDelegates, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INSTANCE

public static final InvocationBehavior INSTANCE

BODY_CONSTRAINT_KEY

public static final java.lang.String BODY_CONSTRAINT_KEY
See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values
Constructor Detail

InvocationBehavior

public InvocationBehavior()
Method Detail

getDefaultFactory

public org.eclipse.emf.ecore.EOperation.Internal.InvocationDelegate.Factory getDefaultFactory()

getDefaultRegistry

public org.eclipse.emf.ecore.EOperation.Internal.InvocationDelegate.Factory.Registry getDefaultRegistry()

getEPackage

public org.eclipse.emf.ecore.EPackage getEPackage(org.eclipse.emf.ecore.EOperation eOperation)

getExpressionInOcl

public ExpressionInOcl getExpressionInOcl(TypeManager typeManager,
                                          Operation operation)
                                   throws OCLDelegateException
Return the operation body associated with operation, if necessary using ocl to create the relevant parsing environment for a textual definition.

Throws:
OCLDelegateException

getFactory

public org.eclipse.emf.ecore.EOperation.Internal.InvocationDelegate.Factory getFactory(DelegateDomain delegateDomain,
                                                                                       org.eclipse.emf.ecore.EOperation eOperation)
Specified by:
getFactory in class AbstractDelegatedBehavior<org.eclipse.emf.ecore.EOperation,org.eclipse.emf.ecore.EOperation.Internal.InvocationDelegate.Factory.Registry,org.eclipse.emf.ecore.EOperation.Internal.InvocationDelegate.Factory>

getFactoryClass

public java.lang.Class<org.eclipse.emf.ecore.EOperation.Internal.InvocationDelegate.Factory> getFactoryClass()

getName

public java.lang.String getName()

getRegistryClass

public java.lang.Class<org.eclipse.emf.ecore.EOperation.Internal.InvocationDelegate.Factory.Registry> getRegistryClass()