T
- The type of value of the property.public interface ValueBoundProperty<T>
Modifier and Type | Method and Description |
---|---|
String |
getConversionErrorMessage()
Message text displayed in case of conversion error.
|
Class<? extends com.vaadin.data.Converter<T,?>> |
getConverterClass()
Converts the model type returned by
getType() into a presentation type, in case the two differ. |
T |
getDefaultValue()
Pre-filled value displayed in the field.
|
String |
getRequiredErrorMessage()
Error message text displayed in case of required = true.
|
Class<?> |
getType()
The type of this field, i.e. the model type.
|
List<FieldValidatorDefinition> |
getValidators() |
boolean |
isReadOnly()
Determines if a Field Property can be changed.
|
boolean |
isRequired()
Makes the field mandatory.
|
boolean isRequired()
String getRequiredErrorMessage()
Class<?> getType()
T getDefaultValue()
boolean isReadOnly()
List<FieldValidatorDefinition> getValidators()
Class<? extends com.vaadin.data.Converter<T,?>> getConverterClass()
getType()
into a presentation type, in case the two differ.
For instance, a text field will likely use String but the model may be a Long. The converter will then handle
the conversion between those two typesgetType()
,
Converter
String getConversionErrorMessage()
Copyright © 2020 Magnolia International Ltd.. All rights reserved.