Interface ModelService


  • public interface ModelService
    A service to retrieve models defined.
    Since:
    2.2
    • 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.