Class EBXSourceTableSpec.EBXSourceTableSpecBuilder
- java.lang.Object
-
- com.orchestranetworks.addon.dint.dataconnector.spec.EBXSourceTableSpec.EBXSourceTableSpecBuilder
-
- Enclosing class:
- EBXSourceTableSpec
public static final class EBXSourceTableSpec.EBXSourceTableSpecBuilder extends java.lang.ObjectBuilder for creating an instance ofEBXSourceTableSpec.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EBXSourceTableSpec.EBXSourceTableSpecBuilderaddUnsupportedDataTypes(DataType... dataTypes)Adds unsupported data types.EBXSourceTableSpecbuild()Builds anEBXSourceTableSpecinstance.EBXSourceTableSpec.EBXSourceTableSpecBuildersetComputedValueIncluded(boolean included)Specifies whether to include computed fields.EBXSourceTableSpec.EBXSourceTableSpecBuildersetEnumLabelIncluded(boolean included)Specifies whether to include enumeration label fields.EBXSourceTableSpec.EBXSourceTableSpecBuildersetForeignKeyHierarchyIncluded(boolean included)Specifies whether to include foreign key hierarchies.EBXSourceTableSpec.EBXSourceTableSpecBuildersetForeignKeyLabelIncluded(boolean included)Specifies whether to include foreign key label fields.EBXSourceTableSpec.EBXSourceTableSpecBuildersetPrimaryKeyLabelIncluded(boolean included)Specifies whether to include the record label as a field.EBXSourceTableSpec.EBXSourceTableSpecBuildersetRequest(com.onwbp.adaptation.Request request)Sets the request to filter records in the selected table.EBXSourceTableSpec.EBXSourceTableSpecBuildersetStaticEnumerationIncluded(boolean included)Specifies whether to include static enumerations.
-
-
-
Method Detail
-
build
public EBXSourceTableSpec build()
Builds anEBXSourceTableSpecinstance.
-
setRequest
public EBXSourceTableSpec.EBXSourceTableSpecBuilder setRequest(com.onwbp.adaptation.Request request)
Sets the request to filter records in the selected table.
-
setPrimaryKeyLabelIncluded
public EBXSourceTableSpec.EBXSourceTableSpecBuilder setPrimaryKeyLabelIncluded(boolean included)
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- Setstrueif you want to export primary key label.- See Also:
EBXField.isPrimaryKeyLabelIncluded()
-
setForeignKeyLabelIncluded
public EBXSourceTableSpec.EBXSourceTableSpecBuilder setForeignKeyLabelIncluded(boolean included)
Specifies whether to include foreign key label fields.If the parameter is
true,SourceTable.getMappedFields()will include foreign key label fields.- Parameters:
included- Setstrueif you want to export foreign key labels.- See Also:
EBXField.isForeignKeyLabel()
-
setEnumLabelIncluded
public EBXSourceTableSpec.EBXSourceTableSpecBuilder setEnumLabelIncluded(boolean included)
Specifies whether to include enumeration label fields.If the parameter is
true,SourceTable.getMappedFields()will include enumeration label fields.- Parameters:
included- Setstrueif you want to export enumeration labels.- See Also:
EBXField.isEnumLabel()
-
setForeignKeyHierarchyIncluded
public EBXSourceTableSpec.EBXSourceTableSpecBuilder setForeignKeyHierarchyIncluded(boolean included)
Specifies whether to include foreign key hierarchies.If the parameter is
trueand 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 tofalseto configure foreign keys as normal fields, not hierarchies.- Parameters:
included- Setstrueif you want to include foreign key hierarchies.
-
setComputedValueIncluded
public EBXSourceTableSpec.EBXSourceTableSpecBuilder setComputedValueIncluded(boolean included)
Specifies whether to include computed fields.- Parameters:
included- Setstrueif you want to include computed field.
-
setStaticEnumerationIncluded
public EBXSourceTableSpec.EBXSourceTableSpecBuilder setStaticEnumerationIncluded(boolean included)
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 totrueif you want to include static enumeration.- Since:
- 4.4.0
-
addUnsupportedDataTypes
public EBXSourceTableSpec.EBXSourceTableSpecBuilder addUnsupportedDataTypes(DataType... dataTypes)
Adds unsupported data types.- Parameters:
dataTypes- The unsupported data types.
-
-