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 Object
Configures a user template.

This allows modification of an existing configuration in a user template.

Since:
4.5.0
See Also:
  • Method Details

    • forTable

      public static <ST extends SourceTable<?, ?>, TT extends TargetTable<?, ?>> TemplateConfig<ST,TT> forTable(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(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.