Class Record

java.lang.Object
org.bgerp.plugin.report.model.Record

public class Record extends Object
  • Constructor Details

    • Record

      public Record(Data data)
  • Method Details

    • add

      public Record add(Object value)
      Add value of the next column
      Parameters:
      value - the value
      Returns:
      the record
    • get

      public Object get(String id)
      Get a value by column ID
      Parameters:
      id - the column ID
      Returns:
      the value
      Throws:
      IllegalArgumentException - - no column found
    • getString

      public String getString(String id)
      Get a value formatted to string by column ID
      Parameters:
      id - the column ID
      Returns:
      the formatted value
      Throws:
      IllegalArgumentException - - no column found
    • pos

      public int pos()
      Get position for ResultSet. Starts from 1, and for each call incremented on 1.
      Returns:
      the position
    • getData

      public Map<String,Object> getData()