org.eclipse.ocl.ecore.delegate
Class InvocationBehavior

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

public class InvocationBehavior
extends AbstractDelegatedBehavior<EOperation,InvocationDelegate.Factory.Registry,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
 boolean appliesTo(EOperation operation)
           
 InvocationDelegate.Factory getDefaultFactory()
           
 InvocationDelegate.Factory.Registry getDefaultRegistry()
           
 EPackage getEPackage(EOperation eOperation)
           
 InvocationDelegate.Factory getFactory(DelegateDomain delegateDomain, EOperation eOperation)
           
 java.lang.Class<InvocationDelegate.Factory> getFactoryClass()
           
 java.lang.String getName()
           
 OCLExpression getOperationBody(OCL ocl, EOperation operation)
           
 java.lang.Class<InvocationDelegate.Factory.Registry> getRegistryClass()
           
 
Methods inherited from class org.eclipse.ocl.ecore.delegate.AbstractDelegatedBehavior
getDelegatedBehaviors, getDelegateDomains, 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

appliesTo

public boolean appliesTo(EOperation operation)

getDefaultFactory

public InvocationDelegate.Factory getDefaultFactory()

getDefaultRegistry

public InvocationDelegate.Factory.Registry getDefaultRegistry()

getEPackage

public EPackage getEPackage(EOperation eOperation)

getFactory

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

getFactoryClass

public java.lang.Class<InvocationDelegate.Factory> getFactoryClass()

getName

public java.lang.String getName()

getOperationBody

public OCLExpression getOperationBody(OCL ocl,
                                      EOperation operation)

getRegistryClass

public java.lang.Class<InvocationDelegate.Factory.Registry> getRegistryClass()

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