Class FossHelper.FossFields

  • Enclosing class:
    FossHelper

    public class FossHelper.FossFields
    extends Object
    Stores non-spectral data for a row.
    Author:
    dale
    • Field Detail

      • id

        public String id
        ID field.
      • product_code

        public int product_code
        product code field.
      • id1

        public String id1
        other ID fields.
      • id2

        public String id2
        other ID fields.
      • id3

        public String id3
        other ID fields.
      • deleted

        public boolean deleted
        is this a deleted row?
      • count

        public int count
        row number in file.
    • Constructor Detail

      • FossFields

        public FossFields​(int i)
        Constructor. Fills in data fields from parent byte array.
        Parameters:
        i - count. Row position in file
    • Method Detail

      • setNumDeleted

        public void setNumDeleted​(int d)
        Sets the number of previously deleted.
        Parameters:
        d - num deleted
      • getRowNum

        public int getRowNum()
        Get actual (non-deleted)m row number.
        Returns:
        row num
      • toString

        public String toString()
        String representation of this.
        Overrides:
        toString in class Object
        Returns:
        string