org.eclipse.viatra.query.patternlanguage.emf.scoping

## Interface IMetamodelProviderInstance

- All Superinterfaces:
    IMetamodelProvider
  All Known Implementing Classes:
    MetamodelProviderService, ResourceSetMetamodelProviderService

      public interface IMetamodelProviderInstance
      extends IMetamodelProvider

  A single metamodel provider instance, used by the `CompoundMetamodelProviderService` to delegate the selection of metamodels. The interface extends `IMetamodelProvider` by priority and name definition.
  Since:
    1.0

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getIdentifier()` Get a textual identifier for the metamodel provider instance
    `int` | `getPriority()` A default priority for the provider instance; a lower number means a higher priority.

    - ### Methods inherited from interface org.eclipse.viatra.query.patternlanguage.emf.scoping.IMetamodelProvider

      `getAllMetamodelObjects, getModelPluginId, getQualifiedClassName, isGeneratedCodeAvailable, loadEPackage`

- - ### Method Detail

    - #### getIdentifier

          java.lang.String getIdentifier()

      Get a textual identifier for the metamodel provider instance
      Returns:
        a non-null textual identifier; should be unique over all possible implementations

    - #### getPriority

          int getPriority()

      A default priority for the provider instance; a lower number means a higher priority. The priority may be overriden through `CompoundMetamodelProviderService`.
      Returns:
        a non-negative priority number