public class Form extends Object implements Serializable
Represents a generic form schema.
Use FormBuilder
to construct a new form schema.
Modifier and Type | Method and Description |
---|---|
Map<String,Field> |
getFields()
Gets the fields that are part of this form schema.
|
String |
getName()
Gets the name of this form.
|
boolean |
hasIdField()
Gets whether or not this form contains an ID field.
|
String |
toString() |
public String getName()
null
if unsetpublic Map<String,Field> getFields()
Field
s keyed by their name - may
be empty, but never null
public boolean hasIdField()
true
if any field in this form is marked as an ID field