We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.templatemodel.
Class ModelDescriptor<T extends TemplateModel>
- java.lang.Object
-
- com.vaadin.flow.templatemodel.BeanModelType<T>
-
- com.vaadin.flow.templatemodel.ModelDescriptor<T>
-
Type Parameters:
T
- the template model type used by this descriptorAll Implemented Interfaces:
@Deprecated public class ModelDescriptor<T extends TemplateModel> extends BeanModelType<T>
Deprecated.Template model and model types are not supported for lit template, but you can use@Id
mapping and the component API or the element API with property synchronization instead. Polymer template support is deprecated - we recommend you to useLitTemplate
instead. Read more details from the Vaadin blog.Describes the model type of a template class.
For internal use only. May be renamed or removed in a future release.
Since:
1.0
Author:
Vaadin Ltd
See Also:
-
-
Method Summary
All Methods Modifier and Type Method Description static <T extends TemplateModel>
ModelDescriptor<T>get(Class<T> modelType)
Deprecated.
Gets the model descriptor for a model type.
-
Methods inherited from class com.vaadin.flow.templatemodel.BeanModelType
accepts, applicationToModel, cast, createInitialValue, createInitialValues, getClientUpdateAllowedProperties, getClientUpdateMode, getExistingProperty, getJavaType, getPropertyNames, getPropertyType, getProxyType, hasProperty, importProperties, isBean, modelToApplication, resolveType, toJson
-
-
-
-
Method Detail
-
get
public static <T extends TemplateModel> ModelDescriptor<T> get(Class<T> modelType)
Deprecated.Gets the model descriptor for a model type.
Type Parameters:
T
- the model typeParameters:
modelType
- the model type to find a descriptor, notnull
Returns:
the model descriptor derived from the provided model type, not
null
-
-