Class MultiTierInputBuilder<VT>

Object
AbstractInputBuilder<MultiTierInputBuilder,VT>
MultiTierInputBuilder<VT>

public class MultiTierInputBuilder<VT> extends AbstractInputBuilder<MultiTierInputBuilder,VT>
Builder class for input type MultiTierEntry InputType.MULTITIERENTRY.
  • Constructor Details

  • Method Details

    • setSortType

      public MultiTierInputBuilder setSortType(TieredValueSortType sortType)
      Sets tiered value sort type.

      Example:

      
       import net.pricefx.common.api.chart.TieredValueValidationType
       import net.pricefx.common.api.chart.TieredValueSortType
      
       api.inputBuilderFactory()
            .createMultiTierEntryInputBuilder("multiEntry")
            .setSortType(TieredValueSortType.ASC)
            .setValidationType(TieredValueValidationType.NO_VALIDATION)
            .buildContextParameter()
       
      Parameters:
      sortType - Tiered value sort type
      Returns:
      self
      See Also:
    • setValidationType

      public MultiTierInputBuilder setValidationType(TieredValueValidationType validationType)
      Sets tiered value validation type.

      Example:

      
       import net.pricefx.common.api.chart.TieredValueValidationType
       import net.pricefx.common.api.chart.TieredValueSortType
      
       api.inputBuilderFactory()
            .createMultiTierEntryInputBuilder("multiEntry")
            .setSortType(TieredValueSortType.ASC)
            .setValidationType(TieredValueValidationType.NO_VALIDATION)
            .buildContextParameter()
       
      Parameters:
      validationType - Tiered value validation type
      Returns:
      self
    • _getInput

      protected Object _getInput()
      Specified by:
      _getInput in class AbstractInputBuilder<MultiTierInputBuilder,VT>