Package 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 descriptor
- All Implemented Interfaces:
ComplexModelType<T>,ModelType,Serializable
Deprecated.
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
Modifier and TypeMethodDescriptionstatic <T extends TemplateModel>
ModelDescriptor<T>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 Details
-
get
Deprecated.Gets the model descriptor for a model type.- Type Parameters:
T- the model type- Parameters:
modelType- the model type to find a descriptor, notnull- Returns:
- the model descriptor derived from the provided model type, not
null
-
@Idmapping and the component API or the element API with property synchronization instead. Polymer template support is deprecated - we recommend you to useLitTemplateinstead. Read more details from the Vaadin blog.