Interface ModelTypeResolver

All Known Implementing Classes:
DefaultModelRepository

public interface ModelTypeResolver
Resolves application-scoped logical Model names in both directions.
  • Method Summary

    Modifier and Type
    Method
    Description
    modelName(Class<?> modelType)
    Returns and registers the stable logical name for one concrete Model type.
    modelType(String modelName, String modelId)
    Resolves a stored logical name to a registered concrete Model type.
  • Method Details

    • modelName

      String modelName(Class<?> modelType)
      Returns and registers the stable logical name for one concrete Model type.
    • modelType

      Class<?> modelType(String modelName, String modelId)
      Resolves a stored logical name to a registered concrete Model type.