Class ListDataTable.ListRecord

    • Constructor Detail

      • ListRecord

        public ListRecord​(Object[] values)
        Constructor.
        Parameters:
        values - Object[]; values
    • Method Detail

      • getValue

        public <T> T getValue​(DataColumn<T> column)
        Returns the column value of this record.
        Specified by:
        getValue in interface DataRecord
        Type Parameters:
        T - value type
        Parameters:
        column - DataColumn<T>; column
        Returns:
        T; the column value in this record
      • getValue

        public Object getValue​(String id)
        Returns the column value of this record.
        Specified by:
        getValue in interface DataRecord
        Parameters:
        id - String; column id
        Returns:
        Object; the column value in this record
      • getValues

        public Object[] getValues()
        Returns the column values of this record in the natural order of the columns.
        Specified by:
        getValues in interface DataRecord
        Returns:
        the column value in this record