java.lang.Object
org.silverpeas.components.jdbcconnector.service.TableRow

public class TableRow extends Object
A row in a table in a data source. A row is a tuple in which each field matches a given column of the requested table. Hence, the field name in the row is the column name and its value the value in the column.
Author:
mmoquillon
  • Method Details

    • getFieldNames

      public List<String> getFieldNames()
      Gets the name of all the fields in this table row.
      Returns:
      a list with the name of all the fields in this table row.
    • getFieldValue

      public <T> Comparable<T> getFieldValue(String field)
      Gets the value of the specified field in this table row.
      Parameters:
      field - the name of the field.
      Returns:
      the value of the asked field.