@Id mapping and the component
API or the element API with property synchronization instead.
Polymer template support is deprecated - we recommend you to use
LitTemplate instead. Read more details from the
Vaadin blog.@Deprecated public class BasicModelType extends AbstractBasicModelType
| Modifier and Type | Method and Description |
|---|---|
Serializable |
applicationToModel(Object applicationValue,
PropertyFilter filter)
Deprecated.
Creates a model value representation of the provided application value.
|
static Optional<ModelType> |
get(Class<?> type)
Deprecated.
Gets the basic model type definition for the given Java class.
|
Object |
modelToApplication(Serializable modelValue)
Deprecated.
Creates a representation of the provided model value that is intended for
use in application code.
|
accepts, convertToApplication, createInitialValue, getJavaType, loadBasicTypes, toJsonclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSupportedTypesStringpublic static Optional<ModelType> get(Class<?> type)
type - the Java class to find a basic model type forpublic Object modelToApplication(Serializable modelValue)
ModelTypemodelValue - the model value to convertpublic Serializable applicationToModel(Object applicationValue, PropertyFilter filter)
ModelTypeFor 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.
applicationValue - the user value to convertfilter - the filter to use to determine which properties to include,
not nullCopyright © 2021. All rights reserved.