public class FormField extends Object
Modifier and Type | Method and Description |
---|---|
void |
addMessage(String value) |
void |
addValue(String value) |
boolean |
equals(Object o) |
String |
getLabel() |
List<String> |
getMessages() |
String |
getName() |
String |
getValue()
Most of the fields have single valueList, we'll return first element (if there), null otherwise
|
List<String> |
getValueList() |
Map<String,String> |
getValues()
Deprecated.
use 'getValueList' instead
|
int |
hashCode()
Fields should be equal for same names
|
void |
setLabel(String label) |
void |
setMessages(List<String> messages) |
void |
setName(String name) |
void |
setValueList(List<String> valueList) |
void |
setValues(Map<String,String> values)
Deprecated.
use 'setValueList' instead
|
public FormField(String name)
public String getName()
public void setName(String name)
public String getLabel()
public void setLabel(String label)
@Deprecated public Map<String,String> getValues()
@Deprecated public void setValues(Map<String,String> values)
public void addValue(String value)
public String getValue()
public void addMessage(String value)
Copyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.