Package org.bgerp.plugin.report.model

# Class Record

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

public class Record extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Record(Data data)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Record`
  `add(Object value)`
  Add value of the next column
  `Object`
  `get(String id)`
  Get a value by column ID
  `Map<String,Object>`
  `getData()`
  `String`
  `getString(String id)`
  Get a value formatted to string by column ID
  `int`
  `pos()`
  Get position for `ResultSet`.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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()