Package com.vaadin.flow.templatemodel
Interface ComplexModelType<T>
- Type Parameters:
T- the proxy type used by this type
- All Superinterfaces:
ModelType,Serializable
- All Known Implementing Classes:
BasicComplexModelType,BeanModelType,ListModelType,ModelDescriptor
Deprecated.
A complex model type (represents either a list or a bean).
For internal use only. May be renamed or removed in a future release.
- Since:
- 1.0
- Author:
- Vaadin Ltd
-
Method Summary
Modifier and TypeMethodDescriptionapplicationToModel(Object applicationValue, PropertyFilter filter) Deprecated.Creates a model value representation of the provided application value.<C> ComplexModelType<C>Deprecated.Checks that this type uses the provided proxy type and returns this type as a model type with that proxy type.Methods inherited from interface com.vaadin.flow.templatemodel.ModelType
accepts, createInitialValue, getJavaType, modelToApplication, toJson
-
Method Details
-
applicationToModel
Deprecated.Description copied from interface:ModelTypeCreates a model value representation of the provided application value.For application values that contain properties (i.e. beans), the provided filter is used to determine which properties from the bean should be included in the model representation.
- Specified by:
applicationToModelin interfaceModelType- Parameters:
applicationValue- the user value to convertfilter- the filter to use to determine which properties to include, notnull- Returns:
- a model value representation of the provided user value.
-
cast
Deprecated.Checks that this type uses the provided proxy type and returns this type as a model type with that proxy type.- Type Parameters:
C- the proxy type- Parameters:
proxyType- the proxy type to cast to- Returns:
- this model type
-
@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.