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

All Superinterfaces:
org.eclipse.emf.ecore.EPackage.Descriptor
All Known Subinterfaces:
StandaloneProjectMap.IPackageDescriptor.Internal
All Known Implementing Classes:
StandaloneProjectMap.PackageDescriptor
Enclosing class:
StandaloneProjectMap

public static interface StandaloneProjectMap.IPackageDescriptor
extends org.eclipse.emf.ecore.EPackage.Descriptor

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


Nested Class Summary
static interface StandaloneProjectMap.IPackageDescriptor.Internal
           
 
Method Summary
 org.eclipse.emf.common.util.URI getEcoreModelURI()
          Return the project relative Ecore Model URI.
 org.eclipse.emf.common.util.URI getGenModelURI()
          Return the project relative Gen Model URI.
 org.eclipse.emf.common.util.URI getNsURI()
          Return the Package NS URI.
 StandaloneProjectMap.IProjectDescriptor getProjectDescriptor()
          Return the Project Descriptor containing this package.
 void setUseModel(boolean useModel, org.eclipse.emf.ecore.EPackage.Registry packageRegistry)
          Configure the package registry to load the Ecore Model rather than the Java Class.
 void setUseModelAndPackage(org.eclipse.emf.ecore.EPackage ePackage, org.eclipse.emf.ecore.EPackage.Registry packageRegistry)
          Configure the package registry to load the Java Class for the package URI, and the Ecore model for the platform:/* accesses.
 void setUsePackage(org.eclipse.emf.ecore.EPackage ePackage, org.eclipse.emf.ecore.EPackage.Registry packageRegistry)
          Configure the package registry to use the provided EPackage rather than the Java Class.
 void unload(org.eclipse.emf.ecore.EPackage.Registry packageRegistry)
          Unload the package registry to force a reload.
 
Methods inherited from interface org.eclipse.emf.ecore.EPackage.Descriptor
getEFactory, getEPackage
 

Method Detail

getEcoreModelURI

org.eclipse.emf.common.util.URI getEcoreModelURI()
Return the project relative Ecore Model URI.


getGenModelURI

org.eclipse.emf.common.util.URI getGenModelURI()
Return the project relative Gen Model URI.


getNsURI

org.eclipse.emf.common.util.URI getNsURI()
Return the Package NS URI.


getProjectDescriptor

StandaloneProjectMap.IProjectDescriptor getProjectDescriptor()
Return the Project Descriptor containing this package.


setUseModel

void setUseModel(boolean useModel,
                 org.eclipse.emf.ecore.EPackage.Registry packageRegistry)
Configure the package registry to load the Ecore Model rather than the Java Class.


setUseModelAndPackage

void setUseModelAndPackage(org.eclipse.emf.ecore.EPackage ePackage,
                           org.eclipse.emf.ecore.EPackage.Registry packageRegistry)
Configure the package registry to load the Java Class for the package URI, and the Ecore model for the platform:/* accesses.


setUsePackage

void setUsePackage(org.eclipse.emf.ecore.EPackage ePackage,
                   org.eclipse.emf.ecore.EPackage.Registry packageRegistry)
Configure the package registry to use the provided EPackage rather than the Java Class.


unload

void unload(org.eclipse.emf.ecore.EPackage.Registry packageRegistry)
Unload the package registry to force a reload.