public class FormField extends Object
Modifier and Type | Method and Description |
---|---|
void |
addMessage(String value) |
void |
addValue(String value) |
boolean |
equals(Object o) |
List<String> |
getMessages() |
String |
getName() |
String |
getValue()
Most of the fields have single values, we'll return first element (if there), null otherwise
|
Map<String,String> |
getValues() |
int |
hashCode()
Fields should be equal for same names
|
void |
setName(String name) |
void |
setValues(Map<String,String> values) |
public FormField(String name)
public String getName()
public void setName(String name)
public void addValue(String value)
public String getValue()
public void addMessage(String value)
Copyright © 2008-2013 Hippo B.V. (http://www.onehippo.com). All Rights Reserved.