Modifier and Type | Field and Description |
---|---|
protected FormProperty |
formProperty |
protected List<FormFieldValidationConstraint> |
validationConstraints |
Constructor and Description |
---|
FormPropertyAdapter(FormProperty formProperty) |
Modifier and Type | Method and Description |
---|---|
Object |
getDefaultValue() |
TypedValue |
getDefaultValueTyped() |
String |
getId() |
String |
getLabel() |
Map<String,String> |
getProperties() |
FormType |
getType() |
String |
getTypeName() |
List<FormFieldValidationConstraint> |
getValidationConstraints() |
TypedValue |
getValue() |
protected FormProperty formProperty
protected List<FormFieldValidationConstraint> validationConstraints
public FormPropertyAdapter(FormProperty formProperty)
public String getId()
public String getLabel()
public FormType getType()
public String getTypeName()
getTypeName
in interface FormField
public Object getDefaultValue()
getDefaultValue
in interface FormField
public List<FormFieldValidationConstraint> getValidationConstraints()
getValidationConstraints
in interface FormField
ValidationConstraints
.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 TypedValue getDefaultValueTyped()
public TypedValue getValue()
Copyright © 2018. All rights reserved.