Class Row

java.lang.Object
javaforce.db.Row
All Implemented Interfaces:
Serializable

public class Row extends Object implements Serializable
Row. This class holds data for one row in a database table. Extend this class to hold user data.
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static interface 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    int
    auto-increment id assigned by containing Table
    static final long
     
    long
    insert timestamp
  • Constructor Summary

    Constructors
    Constructor
    Description
    Row()
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    compare(Row other)
    Override this method to sort your rows.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • serialVersionUID

      public static final long serialVersionUID
      See Also:
    • id

      public int id
      auto-increment id assigned by containing Table
    • timestamp

      public long timestamp
      insert timestamp
  • Constructor Details

    • Row

      public Row()
  • Method Details

    • compare

      public int compare(Row other)
      Override this method to sort your rows.
      Returns:
      0=equal -1=this is lower +1=other is lower