public class FieldDefinition extends Object implements Serializable
| Constructor and Description |
|---|
FieldDefinition(String fieldName,
FieldType fieldType,
FormBuilder formBuilder)
alternative constructor, taking name and builder.
|
| Modifier and Type | Method and Description |
|---|---|
FieldDefinition |
addField(String fieldName,
FieldType fieldType)
This method supports a DSL-style to add further columns to a chain of
already available columnDefinitions.
|
String |
getName()
returns the name.
|
String |
getValue() |
void |
setValue(String provided) |
String |
toString() |
public FieldDefinition(String fieldName, FieldType fieldType, FormBuilder formBuilder)
fieldName - name of the columnfieldType - the html typeformBuilder - the builderpublic final FieldDefinition addField(String fieldName, FieldType fieldType)
fieldName - of the new field.fieldType - of the new field.public final String getName()
public void setValue(String provided)
public String getValue()
Copyright © 2011-2013. All Rights Reserved.