Class EBXSourceTableSpec.EBXSourceTableSpecBuilder
- Enclosing class:
- EBXSourceTableSpec
EBXSourceTableSpec
.-
Method Summary
Modifier and TypeMethodDescriptionaddUnsupportedDataTypes
(DataType... dataTypes) Adds unsupported data types.build()
Builds anEBXSourceTableSpec
instance.setComputedValueIncluded
(boolean included) Specifies whether to include computed fields.setEnumLabelIncluded
(boolean included) Specifies whether to include enumeration label fields.setForeignKeyHierarchyIncluded
(boolean included) Specifies whether to include foreign key hierarchies.setForeignKeyLabelIncluded
(boolean included) Specifies whether to include foreign key label fields.setPrimaryKeyLabelIncluded
(boolean included) Specifies whether to include the record label as a field.setRequest
(com.onwbp.adaptation.Request request) Sets the request to filter records in the selected table.setStaticEnumerationIncluded
(boolean included) Specifies whether to include static enumerations.
-
Method Details
-
build
Builds anEBXSourceTableSpec
instance. -
setRequest
public EBXSourceTableSpec.EBXSourceTableSpecBuilder setRequest(com.onwbp.adaptation.Request request) Sets the request to filter records in the selected table. -
setPrimaryKeyLabelIncluded
Specifies whether to include the record label as a field.If the parameter is
true
,SourceTable.getMappedFields()
will include the primary key label field.- Parameters:
included
- Setstrue
if you want to export primary key label.- See Also:
-
setForeignKeyLabelIncluded
Specifies whether to include foreign key label fields.If the parameter is
true
,SourceTable.getMappedFields()
will include foreign key label fields.- Parameters:
included
- Setstrue
if you want to export foreign key labels.- See Also:
-
setEnumLabelIncluded
Specifies whether to include enumeration label fields.If the parameter is
true
,SourceTable.getMappedFields()
will include enumeration label fields.- Parameters:
included
- Setstrue
if you want to export enumeration labels.- See Also:
-
setForeignKeyHierarchyIncluded
public EBXSourceTableSpec.EBXSourceTableSpecBuilder setForeignKeyHierarchyIncluded(boolean included) Specifies whether to include foreign key hierarchies.If the parameter is
true
and in case of composite foreign key, a foreign key field returned fromSourceTable.getMappedFields()
will have children for all primary keys in referred table.In case both the source table and the target table are
EBXTable
, this should be set tofalse
to configure foreign keys as normal fields, not hierarchies.- Parameters:
included
- Setstrue
if you want to include foreign key hierarchies.
-
setComputedValueIncluded
Specifies whether to include computed fields.- Parameters:
included
- Setstrue
if you want to include computed field.
-
setStaticEnumerationIncluded
Specifies whether to include static enumerations.This action is taken only when the target can display a static enumeration. For example, in an Excel sheet.
- Parameters:
included
- Set totrue
if you want to include static enumeration.- Since:
- 4.4.0
-
addUnsupportedDataTypes
Adds unsupported data types.- Parameters:
dataTypes
- The unsupported data types.
-