DataForm
@Deprecated public interface DataForm
The form could be of the following types:
addReportedField(FormField)
to set the columns of the report whilst the report's rows
can be configured using addItemFields(ArrayList)
.Modifier and Type | Field and Description |
---|---|
static String |
TYPE_CANCEL
Deprecated.
|
static String |
TYPE_FORM
Deprecated.
|
static String |
TYPE_RESULT
Deprecated.
|
static String |
TYPE_SUBMIT
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addField(FormField field)
Deprecated.
Adds a new field as part of the form.
|
void |
addInstruction(String instruction)
Deprecated.
Adds a new instruction to the list of instructions that explain how to fill out the form
and what the form is about.
|
void |
addItemFields(ArrayList itemFields)
Deprecated.
Adds a new row of items of reported data.
|
void |
addReportedField(FormField field)
Deprecated.
Adds a field to the list of fields that will be returned from a search.
|
FormField |
getField(String variable)
Deprecated.
Returns the field of the form whose variable matches the specified variable.
|
Iterator |
getFields()
Deprecated.
Returns an Iterator for the fields that are part of the form.
|
int |
getFieldsSize()
Deprecated.
Returns the number of fields included in the form.
|
Iterator |
getInstructions()
Deprecated.
Returns an Iterator for the list of instructions that explain how to fill out the form and
what the form is about.
|
String |
getTitle()
Deprecated.
Returns the description of the data.
|
String |
getType()
Deprecated.
Returns the meaning of the data within the context.
|
void |
setInstructions(List instructions)
Deprecated.
Sets the list of instructions that explain how to fill out the form and what the form is
about.
|
void |
setTitle(String title)
Deprecated.
Sets the description of the data.
|
static final String TYPE_FORM
static final String TYPE_SUBMIT
static final String TYPE_CANCEL
static final String TYPE_RESULT
void setTitle(String title)
<title/>
on either a form to fill out, or a set of data results.title
- description of the data.void setInstructions(List instructions)
instructions
- list of instructions that explain how to fill out the form.String getType()
Possible form types are:
String getTitle()
<title/>
on either a form to fill out, or a set of data results.Iterator getInstructions()
FormField getField(String variable)
variable
- the variable to look for in the form fields.Iterator getFields()
int getFieldsSize()
void addInstruction(String instruction)
instruction
- the new instruction that explain how to fill out the form.void addField(FormField field)
field
- the field to add to the form.void addReportedField(FormField field)
field
- the field to add to the list of fields that will be returned from a search.void addItemFields(ArrayList itemFields)
itemFields
- list of FormFields to add as a row in the report.Copyright © 2003–2020 Ignite Realtime. All rights reserved.