|
TFORMer SDK - JAVA
7.5
|
DSFieldMapping defines the field-mappings between a DataSource and the DataFields used in a Formlayout. More...
Public Member Functions | |
| void | dispose () throws TFormerException |
| Releases the resources allocated by this instance. More... | |
| void | dump (PrintStream s) throws IOException, TFormerException |
| Dumps the current instance into a text stream. More... | |
| String | getDataField () throws TFormerException |
| Gets the target DataField-name of the DSFieldMapping. More... | |
| DSFieldMapping | getNext () throws TFormerException |
| Gets the next DSFieldMapping in the DataSource. More... | |
| String | getSourceField () throws TFormerException |
| Gets the source-field name of the DSFieldMapping. More... | |
| void | setDataField (String sDataField) throws TFormerException |
| Sets the target DataField name of the DSFieldMapping. More... | |
| void | setSourceField (String sSourceField) throws TFormerException |
| Sets the source-field name of the DSFieldMapping. More... | |
| String | toString () |
| Returns a string representation of the instance. More... | |
DSFieldMapping defines the field-mappings between a DataSource and the DataFields used in a Formlayout.
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:
| void dispose | ( | ) | throws TFormerException |
Releases the resources allocated by this instance.
Call this method in every case (even in case of exceptions) is this instance is not required anymore.
| void dump | ( | PrintStream | s | ) | throws IOException, TFormerException |
Dumps the current instance into a text stream.
| s | Instance of the stream |
| String getDataField | ( | ) | throws TFormerException |
Gets the target DataField-name of the DSFieldMapping.
This property specifies the name of the target DataField (as used in the FormLayout), which receives the data from the source-field (see setSourceField).
| DSFieldMapping getNext | ( | ) | throws TFormerException |
Gets the next DSFieldMapping in the DataSource.
A DataSource stores a list of DSFieldMapping objects. You can use this method to iterate through the list. To retrieve the first DataSource in the DataSource see DataSource.getFirstDSFieldMapping.
null | String getSourceField | ( | ) | throws TFormerException |
Gets the source-field name of the DSFieldMapping.
This property specifies the column name of the DataSource
| void setDataField | ( | String | sDataField | ) | throws TFormerException |
Sets the target DataField name of the DSFieldMapping.
This property specifies the name of the target DataField (as used in the Formlayout), which receives the data from the source-field (see setSourceField()).
| sDataField | The target DataField of the DSFieldMapping |
| void setSourceField | ( | String | sSourceField | ) | throws TFormerException |
Sets the source-field name of the DSFieldMapping.
This property specifies the column name of the DataSource
| sSourceField | The source-field of the DSFieldMapping |
| String toString | ( | ) |
Returns a string representation of the instance.
| © 2006-2017 - all rights reserved by TEC-IT Datenverarbeitung GmbH |
![]() |
| Generated on Fri Nov 3 2017 07:59:14 for TFORMer SDK - JAVA with doxygen 1.8.9.1 |