public interface FieldDefinition
FieldDefinition
,
FieldValidatorDefinition
Modifier and Type | Method and Description |
---|---|
Class<?> |
getConverterClass() |
String |
getDefaultValue()
Pre-filled value displayed in the field.
|
String |
getDescription()
Description displayed to the user when clicking on the Info Button.
|
String |
getI18nBasename()
Message bundle for localized field labels.
|
String |
getLabel()
Text displayed as field label.
|
String |
getName()
Determines the name of the data property where the value entered by the user is stored.
|
String |
getRequiredErrorMessage()
Error message text displayed in case of required = true.
|
String |
getStyleName()
Define a specific Field styleName.
|
Class<? extends Transformer<?>> |
getTransformerClass() |
String |
getType()
The type of this field when stored in a JCR repository expressed as a JCR property type name.
|
List<FieldValidatorDefinition> |
getValidators() |
boolean |
isI18n()
Enables i18n authoring support.
|
boolean |
isReadOnly()
Determines if a Field Property can be changed.
|
boolean |
isRequired()
Makes the field mandatory.
|
String getName()
boolean isRequired()
String getRequiredErrorMessage()
String getType()
PropertyType
String getLabel()
String getI18nBasename()
String getDescription()
String getDefaultValue()
boolean isReadOnly()
boolean isI18n()
String getStyleName()
List<FieldValidatorDefinition> getValidators()
Class<? extends Transformer<?>> getTransformerClass()
Class<?> getConverterClass()
Copyright © 2018 Magnolia International Ltd.. All rights reserved.