Interface RegistrationProvider

  • All Known Implementing Classes:
    ISModelRegistrationProvider

    public interface RegistrationProvider
    An interface for providers that supply package information for model registration.

    Implementations of this interface are used to identify the packages that contain the model's type definitions, which need to be registered with the system. Any implementation must have a no-argument constructor.

    Author:
    Luca Frosini (ISTI - CNR)
    • Field Detail

    • Method Detail

      • getModelName

        String getModelName()
        Returns the name of the model.
        Returns:
        The model name.
      • getModelVersion

        default String getModelVersion()
        Returns the version of the model, resolved dynamically (e.g. from the JAR manifest). If resolution fails or version is not available, returns UNKNOWN_VERSION.
        Returns:
        The model version, or "unknown".
      • getPackagesToRegister

        Collection<Package> getPackagesToRegister()
        Returns a collection of packages that contain the model's type definitions.
        Returns:
        A collection of packages to be registered.