Package com.sas.lsaf.clinical.model

## Interface ModelService

-     public interface ModelService

  A service to retrieve models defined.
  Since:
    2.2

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.util.Set<ModelDescriptor>` | `getAllModelDescriptors()` | Gets all of the model descriptors.
    `ModelDescriptor` | `getModelDescriptorById​(java.lang.String id)` | Gets the lightweight representation of the model by its identifier.

- - ### Method Detail

    - #### getModelDescriptorById

          ModelDescriptor getModelDescriptorById​(java.lang.String id)
                                          throws ModelNotFoundException

      Gets the lightweight representation of the model by its identifier.
      Parameters:
        `id` - The identifier of the model.
      Returns:
        The model descriptor with the identifier.
      Throws:
        `ModelNotFoundException` - Thrown when the model does not exist.

    - #### getAllModelDescriptors

          java.util.Set<ModelDescriptor> getAllModelDescriptors()

      Gets all of the model descriptors.
      Returns:
        The set of all model descriptors.