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

All Known Implementing Classes:
StandaloneProjectMap.PackageDescriptor
Enclosing class:
StandaloneProjectMap

public static interface StandaloneProjectMap.IPackageDescriptor

An IPackageDescriptor describes the modeling capabilities of a known model package and may be installed under a variety of synonyms in an EPackage.Registry to map multiple URIs to a single EPackage.


Method Summary
 void configure(org.eclipse.emf.ecore.resource.ResourceSet resourceSet, StandaloneProjectMap.IResourceLoadStrategy strategy, StandaloneProjectMap.IConflictHandler conflictHandler)
          Configure the resourceSet-specific resource status of for this package to use a strategy and a conflictHandler.
 java.lang.String getClassName()
          Return the classname defined in the generated_packaged extension point, or null if undefined.
 org.eclipse.emf.common.util.URI getNsURI()
          Return the Package Namespace URI.
 StandaloneProjectMap.IResourceDescriptor getResourceDescriptor()
          Return the IResourceDescriptor containing this package.
 

Method Detail

configure

void configure(@NonNull
               org.eclipse.emf.ecore.resource.ResourceSet resourceSet,
               @NonNull
               StandaloneProjectMap.IResourceLoadStrategy strategy,
               @Nullable
               StandaloneProjectMap.IConflictHandler conflictHandler)
Configure the resourceSet-specific resource status of for this package to use a strategy and a conflictHandler.


getClassName

@Nullable
java.lang.String getClassName()
Return the classname defined in the generated_packaged extension point, or null if undefined.

Returns:

getNsURI

@NonNull
org.eclipse.emf.common.util.URI getNsURI()
Return the Package Namespace URI.


getResourceDescriptor

@NonNull
StandaloneProjectMap.IResourceDescriptor getResourceDescriptor()
Return the IResourceDescriptor containing this package.