| Modifier and Type | Field and Description |
|---|---|
protected boolean |
businessKey |
protected Object |
defaultValue |
protected String |
id |
protected String |
label |
protected Map<String,String> |
properties |
protected FormType |
type |
protected List<FormFieldValidationConstraint> |
validationConstraints |
protected TypedValue |
value |
| 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() |
TypedValue |
getValue() |
boolean |
isBusinessKey() |
void |
setBusinessKey(boolean businessKey) |
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) |
void |
setValue(TypedValue value) |
protected boolean businessKey
protected String id
protected String label
protected FormType type
protected Object defaultValue
protected TypedValue value
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 FormFieldpublic void setType(FormType type)
public Object getDefaultValue()
getDefaultValue in interface FormFieldpublic TypedValue getValue()
public void setDefaultValue(Object defaultValue)
public void setValue(TypedValue value)
public Map<String,String> getProperties()
getProperties in interface FormFieldMap 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 FormFieldValidationConstraints.public void setValidationConstraints(List<FormFieldValidationConstraint> validationConstraints)
public boolean isBusinessKey()
isBusinessKey in interface FormFieldpublic void setBusinessKey(boolean businessKey)
Copyright © 2022. All rights reserved.