ConfiguredFieldDefinition
instead.@Deprecated public class ConfiguredFieldDefinition extends Object implements FieldDefinition
Constructor and Description |
---|
ConfiguredFieldDefinition()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addValidator(FieldValidatorDefinition validator)
Deprecated.
|
Class<?> |
getConverterClass()
Deprecated.
|
String |
getDefaultValue()
Deprecated.
Pre-filled value displayed in the field.
|
String |
getDescription()
Deprecated.
Description displayed to the user when clicking on the info button.
|
String |
getFieldType()
Deprecated.
|
String |
getI18nBasename()
Deprecated.
since 5.1. Use
I18nizer mechanism instead. |
String |
getLabel()
Deprecated.
Text displayed as field label.
|
String |
getName()
Deprecated.
Determines the name of the data property where the value entered by the user is stored.
|
String |
getRequiredErrorMessage()
Deprecated.
Error message text displayed in case of required = true.
|
String |
getStyleName()
Deprecated.
Define a specific Field styleName.
|
Class<? extends Transformer<?>> |
getTransformerClass()
Deprecated.
|
String |
getType()
Deprecated.
The type of this field when stored in a JCR repository expressed as a JCR property type name.
|
List<FieldValidatorDefinition> |
getValidators()
Deprecated.
|
boolean |
isI18n()
Deprecated.
Enables i18n authoring support.
|
boolean |
isReadOnly()
Deprecated.
Determines if a Field Property can be changed.
|
boolean |
isRequired()
Deprecated.
Makes the field mandatory.
|
void |
setConverterClass(Class<?> converterClass)
Deprecated.
|
void |
setDefaultValue(String defaultValue)
Deprecated.
|
void |
setDescription(String description)
Deprecated.
|
void |
setFieldType(String fieldType)
Deprecated.
|
void |
setI18n(boolean i18n)
Deprecated.
|
void |
setI18nBasename(String i18nBasename)
Deprecated.
since 5.1. Use
I18nizer mechanism instead. |
void |
setLabel(String label)
Deprecated.
|
void |
setName(String name)
Deprecated.
|
void |
setReadOnly(boolean readOnly)
Deprecated.
|
void |
setRequired(boolean required)
Deprecated.
|
void |
setRequiredErrorMessage(String requiredErrorMessage)
Deprecated.
|
void |
setStyleName(String styleName)
Deprecated.
|
void |
setTransformerClass(Class<? extends Transformer<?>> transformerClass)
Deprecated.
|
void |
setType(String type)
Deprecated.
|
void |
setValidators(List<FieldValidatorDefinition> validators)
Deprecated.
|
public String getName()
FieldDefinition
getName
in interface info.magnolia.config.NamedDefinition
getName
in interface FieldDefinition
public String getLabel()
EditorPropertyDefinition
getLabel
in interface EditorPropertyDefinition
@Deprecated public String getI18nBasename()
I18nizer
mechanism instead.FieldDefinition
getI18nBasename
in interface FieldDefinition
public String getDescription()
EditorPropertyDefinition
getDescription
in interface EditorPropertyDefinition
public String getType()
FieldDefinition
getType
in interface FieldDefinition
PropertyType
public boolean isRequired()
FieldDefinition
isRequired
in interface FieldDefinition
public String getRequiredErrorMessage()
FieldDefinition
getRequiredErrorMessage
in interface FieldDefinition
public List<FieldValidatorDefinition> getValidators()
getValidators
in interface FieldDefinition
public String getDefaultValue()
FieldDefinition
getDefaultValue
in interface FieldDefinition
public boolean isReadOnly()
FieldDefinition
isReadOnly
in interface FieldDefinition
public boolean isI18n()
EditorPropertyDefinition
isI18n
in interface EditorPropertyDefinition
public String getStyleName()
FieldDefinition
getStyleName
in interface EditorPropertyDefinition
getStyleName
in interface FieldDefinition
public void setStyleName(String styleName)
public void setI18n(boolean i18n)
public void setRequiredErrorMessage(String requiredErrorMessage)
public void setReadOnly(boolean readOnly)
public void setName(String name)
public void setLabel(String label)
@Deprecated public void setI18nBasename(String i18nBasename)
I18nizer
mechanism instead.public void setDescription(String description)
public void setType(String type)
public void setRequired(boolean required)
public void setValidators(List<FieldValidatorDefinition> validators)
public void addValidator(FieldValidatorDefinition validator)
public void setDefaultValue(String defaultValue)
public Class<? extends Transformer<?>> getTransformerClass()
getTransformerClass
in interface FieldDefinition
public void setTransformerClass(Class<? extends Transformer<?>> transformerClass)
public Class<?> getConverterClass()
getConverterClass
in interface FieldDefinition
public void setConverterClass(Class<?> converterClass)
public String getFieldType()
public void setFieldType(String fieldType)
Copyright © 2020 Magnolia International Ltd.. All rights reserved.