public class BasicModelType extends AbstractBasicModelType
For internal use only. May be renamed or removed in a future release.
| Modifier and Type | Method and Description |
|---|---|
Serializable |
applicationToModel(Object applicationValue,
PropertyFilter filter)
Creates a model value representation of the provided application value.
|
static Optional<ModelType> |
get(Class<?> type)
Gets the basic model type definition for the given Java class.
|
Object |
modelToApplication(Serializable modelValue)
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 © 2025. All rights reserved.