DSFieldMapping class
Package: com.tecit.TFORMer.Repository
DSFieldMapping defines the field-mappings between a DataSource and the DataFields used in a Formlayout.
Usage and notes
Overview
Defines the field mapping between the fields in a DataSource (the source fields) and the DataFields used in a Formlayout.
When printing a Job with JobData it is required, that the DataField names in the JobData matches the names of the DataFields in the FormLayout. DSFieldMappings are only available for user-defined DataSources (see JobDataDataSource) and can be adjusted with TFORMer Designer as part of a DataSource definition.
The main properties to characterize a DSFieldMapping are:
the name of the source-field
the name of the DataField
More Information
See also
Methods
| Member | Description |
|---|---|
| dispose() | Releases the resources allocated by this instance. |
| dump(PrintStream) | Dumps the current instance into a text stream. |
| getDataField() | Gets the target DataField-name of the DSFieldMapping. |
| getNext() | Gets the next DSFieldMapping in the DataSource. |
| getSourceField() | Gets the source-field name of the DSFieldMapping. |
| setDataField(String) | Sets the target DataField name of the DSFieldMapping. |
| setSourceField(String) | Sets the source-field name of the DSFieldMapping. |
| toString() | Returns a string representation of the instance. |