Class DBRow

java.lang.Object
overit.geocall.sql.DBRow
All Implemented Interfaces:
Serializable

public class DBRow extends Object implements Serializable
The class represents a row of a DBView, with the lists of fields and original fields that compose it
See Also:
  • Constructor Details

    • DBRow

      public DBRow(ArrayList values)
      Constructor for DBRow
      Parameters:
      values - The list of fields
  • Method Details

    • addColumn

      public void addColumn()
      Adds a column
    • removeColumn

      public void removeColumn(int pos)
      Removes a column in a given position
      Parameters:
      pos - The position of the column to remove
    • ensureColumns

      public void ensureColumns(int n)
      Adds a defined number of column
      Parameters:
      n - The numbero of column to add
    • applyChanges

      public void applyChanges()
      Apply the changes
    • undoChanges

      public void undoChanges()
      Undo the changes
    • changingValues

      public void changingValues()
      Changes the values
    • getOriginalValues

      public ArrayList getOriginalValues()
      Returns the original values
      Returns:
      The list of original values
    • getValues

      public ArrayList getValues()
      Returns the list of values
      Returns:
      The list of value
    • setRo

      public void setRo()
      Sets read only