Class TemplateConfig<ST extends SourceTable<?,?>,TT extends TargetTable<?,?>>
- java.lang.Object
-
- com.orchestranetworks.addon.dint.template.TemplateConfig<ST,TT>
-
public final class TemplateConfig<ST extends SourceTable<?,?>,TT extends TargetTable<?,?>> extends java.lang.Object
Configures a user template.This allows modification of an existing configuration in a user template.
- Since:
- 4.5.0
- See Also:
TemplateSpec.getTemplateConfig()
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <ST extends SourceTable<?,?>,TT extends TargetTable<?,?>>
TemplateConfig<ST,TT>forDataset(java.lang.String templateName, com.onwbp.adaptation.Adaptation dataset)
Specifies a template by name at the dataset level.static <ST extends SourceTable<?,?>,TT extends TargetTable<?,?>>
TemplateConfig<ST,TT>forTable(java.lang.String templateName, com.onwbp.adaptation.AdaptationTable table)
Specifies a template by name at the table level.void
modifyTableMapping(TableMappingSelector<ST,TT> selector, TableMappingModifier<ST,TT> modifier)
Modifies an existing table mapping in the template.
-
-
-
Method Detail
-
forTable
public static <ST extends SourceTable<?,?>,TT extends TargetTable<?,?>> TemplateConfig<ST,TT> forTable(java.lang.String templateName, com.onwbp.adaptation.AdaptationTable table)
Specifies a template by name at the table level.- Parameters:
templateName
- The unique name of the template for each data model.table
- The table used to look up the template with the specified template name.
-
forDataset
public static <ST extends SourceTable<?,?>,TT extends TargetTable<?,?>> TemplateConfig<ST,TT> forDataset(java.lang.String templateName, com.onwbp.adaptation.Adaptation dataset)
Specifies a template by name at the dataset level.- Parameters:
templateName
- The unique name of the template for each data model.dataset
- The dataset used to look up the template with the specified template name.
-
modifyTableMapping
public void modifyTableMapping(TableMappingSelector<ST,TT> selector, TableMappingModifier<ST,TT> modifier)
Modifies an existing table mapping in the template.
-
-