com.vaadin.flow.templatemodel.

Class ModelDescriptor<T extends TemplateModel>

    • Method Detail

      • get

        public static <T extends TemplateModelModelDescriptor<T> get(Class<T> modelType)

        Gets the model descriptor for a model type.

        Type Parameters:

        T - the model type

        Parameters:

        modelType - the model type to find a descriptor, not null

        Returns:

        the model descriptor derived from the provided model type, not null