public class FormInput extends Object
| Constructor and Description |
|---|
FormInput() |
FormInput(String type,
Identification identification,
String value) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
containsInput(Set<FormInput> inputs,
Identification identification) |
boolean |
equals(Object obj) |
Eventable |
getEventable() |
long |
getId() |
Identification |
getIdentification() |
static FormInput |
getInput(Set<FormInput> inputs,
Identification identification) |
Set<InputValue> |
getInputValues() |
String |
getType() |
int |
hashCode() |
boolean |
isMultiple() |
void |
setEventable(Eventable eventable) |
void |
setId(long id) |
void |
setIdentification(Identification identification) |
void |
setInputValues(Set<InputValue> inputValues) |
void |
setMultiple(boolean multiple) |
void |
setType(String type) |
String |
toString() |
public FormInput()
public FormInput(String type, Identification identification, String value)
type - the type of the input elements (e.g. text, checkbox)identification - the identification.value - the value of the elements. 1 for checkedpublic long getId()
public void setId(long id)
id - the id.public String getType()
public void setType(String type)
type - the input type.public boolean isMultiple()
public void setMultiple(boolean multiple)
multiple - set whether the elements ca have multiple valuespublic static boolean containsInput(Set<FormInput> inputs, Identification identification)
inputs - form input set.identification - the identification to check.public static FormInput getInput(Set<FormInput> inputs, Identification identification)
inputs - form input set.identification - the identification to check.public Set<InputValue> getInputValues()
public void setInputValues(Set<InputValue> inputValues)
inputValues - the inputValues to setpublic Eventable getEventable()
public void setEventable(Eventable eventable)
eventable - the eventable by which this FormInput is submitted bypublic Identification getIdentification()
public void setIdentification(Identification identification)
identification - the identification to setCopyright © 2007-2013. All Rights Reserved.