Modifier and Type | Field and Description |
---|---|
protected Object |
defaultValue |
protected String |
id |
protected String |
label |
protected Map<String,String> |
properties |
protected FormType |
type |
protected List<FormFieldValidationConstraint> |
validationConstraints |
Constructor and Description |
---|
FormFieldImpl() |
Modifier and Type | Method and Description |
---|---|
Object |
getDefaultValue() |
String |
getId() |
String |
getLabel() |
Map<String,String> |
getProperties() |
FormType |
getType() |
String |
getTypeName() |
List<FormFieldValidationConstraint> |
getValidationConstraints() |
void |
setDefaultValue(Object defaultValue) |
void |
setId(String id) |
void |
setLabel(String label) |
void |
setProperties(Map<String,String> properties) |
void |
setType(FormType type) |
void |
setValidationConstraints(List<FormFieldValidationConstraint> validationConstraints) |
protected String id
protected String label
protected FormType type
protected Object defaultValue
protected List<FormFieldValidationConstraint> validationConstraints
public String getId()
public void setId(String id)
public String getLabel()
public void setLabel(String label)
public FormType getType()
public String getTypeName()
getTypeName
in interface FormField
public void setType(FormType type)
public Object getDefaultValue()
getDefaultValue
in interface FormField
public void setDefaultValue(Object defaultValue)
public Map<String,String> getProperties()
getProperties
in interface FormField
Map
of additional properties. This map may be used for adding additional configuration
to a form field. An example may be layout hints such as the size of the rendered form field or information
about an icon to prepend or append to the rendered form field.public List<FormFieldValidationConstraint> getValidationConstraints()
getValidationConstraints
in interface FormField
ValidationConstraints
.public void setValidationConstraints(List<FormFieldValidationConstraint> validationConstraints)
Copyright © 2015. All rights reserved.