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

java.lang.Object
  extended by org.eclipse.ocl.examples.pivot.delegate.AbstractOCLDelegateFactory
Direct Known Subclasses:
OCLInvocationDelegateFactory, OCLQueryDelegateFactory, OCLSettingDelegateFactory, OCLValidationDelegateFactory

public abstract class AbstractOCLDelegateFactory
extends java.lang.Object

Partial implementation of a factory of OCL delegates for Ecore features.


Field Summary
protected  java.lang.String delegateURI
           
 
Constructor Summary
protected AbstractOCLDelegateFactory(java.lang.String delegateURI)
          Construct a factory for an unknown delegate domain; often the global factory.
 
Method Summary
protected  OCLDelegateDomain getDelegateDomain(org.eclipse.emf.ecore.EPackage ePackage)
           
 java.lang.String getURI()
           
protected  OCLDelegateDomain loadDelegateDomain(org.eclipse.emf.ecore.EPackage ePackage)
          Return the DelegateDomain for this package, creating one if it does not already exist.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

delegateURI

@NonNull
protected final java.lang.String delegateURI
Constructor Detail

AbstractOCLDelegateFactory

protected AbstractOCLDelegateFactory(@NonNull
                                     java.lang.String delegateURI)
Construct a factory for an unknown delegate domain; often the global factory.

Method Detail

getDelegateDomain

@Nullable
protected OCLDelegateDomain getDelegateDomain(@NonNull
                                                       org.eclipse.emf.ecore.EPackage ePackage)

getURI

@NonNull
public java.lang.String getURI()

loadDelegateDomain

protected OCLDelegateDomain loadDelegateDomain(@NonNull
                                               org.eclipse.emf.ecore.EPackage ePackage)
Return the DelegateDomain for this package, creating one if it does not already exist.