org.eclipse.ocl.examples.domain.utilities
Interface StandaloneProjectMap.IConflictHandler

All Known Implementing Classes:
StandaloneProjectMap.MapToFirstConflictHandler, StandaloneProjectMap.MapToFirstConflictHandlerWithLog
Enclosing class:
StandaloneProjectMap

public static interface StandaloneProjectMap.IConflictHandler

An IConflictHandler confligures the hanling of conflicting access between generated packages and dynamically loaded resources.


Method Summary
 org.eclipse.emf.ecore.EPackage handleConflictingDynamicResource(StandaloneProjectMap.IResourceLoadStatus packageLoadStatus, org.eclipse.emf.ecore.EPackage ePackage)
          Return the EPackage to be used for a model URI reference after the namespace EPackage has already been used.
 org.eclipse.emf.ecore.EPackage handleConflictingGeneratedPackage(StandaloneProjectMap.IPackageLoadStatus packageLoadStatus, org.eclipse.emf.ecore.resource.Resource resource)
          Return the EPackage to be used for a namespace URI reference after the model EPackage has already been used.
 

Method Detail

handleConflictingGeneratedPackage

@Nullable
org.eclipse.emf.ecore.EPackage handleConflictingGeneratedPackage(@NonNull
                                                                          StandaloneProjectMap.IPackageLoadStatus packageLoadStatus,
                                                                          @NonNull
                                                                          org.eclipse.emf.ecore.resource.Resource resource)
Return the EPackage to be used for a namespace URI reference after the model EPackage has already been used.


handleConflictingDynamicResource

@Nullable
org.eclipse.emf.ecore.EPackage handleConflictingDynamicResource(@NonNull
                                                                         StandaloneProjectMap.IResourceLoadStatus packageLoadStatus,
                                                                         @NonNull
                                                                         org.eclipse.emf.ecore.EPackage ePackage)
Return the EPackage to be used for a model URI reference after the namespace EPackage has already been used.