Class MZTabColumn

    • Constructor Detail

      • MZTabColumn

        public MZTabColumn​(String name,
                           Class dataType,
                           boolean optional,
                           String order)
        Create a column header object. Default, the column header keep the same value with name, and logical position keep the same value with order.
        Parameters:
        name - define a stable name for column. For optional column, only set stable part for name.
        dataType - define the data type for column.
        optional - if false the column is stable type, otherwise is optional column.
        order - internal order. Every non OptionColumn has stable order. Column order is used to maintain the logical position in MZTabColumnFactory
      • MZTabColumn

        public MZTabColumn​(String name,
                           Class dataType,
                           boolean optional,
                           String order,
                           Integer id)
        Create a column header object. Default, the column header keep the same value with name, and logical position keep the same value with order.
        Parameters:
        name - define a stable name for column. For optional column, only set stable part for name.
        dataType - define the data type for column.
        optional - if false the column is stable type, otherwise is optional column.
        order - internal order. Every non OptionColumn has stable order. Column order is used to maintain the logical position in MZTabColumnFactory
        id - incremental index used for some optional columns like best_search_engine_score[1], best_search_engine_score[2]