Class TRecord<CTX extends DBContext,T extends DBRowSet>

All Implemented Interfaces:
Serializable, Cloneable, Record, RecordData, DBContextAware

public class TRecord<CTX extends DBContext,T extends DBRowSet> extends DBRecord
See Also:
  • Field Details

  • Constructor Details

    • TRecord

      protected TRecord(CTX context, T rowset, boolean enableRollbackHandling)
      Internal constructor for TRecord May be used by derived classes to provide special behaviour
      Parameters:
      context - the DBContext for this record
      rowset - the corresponding RowSet(Table, View, Query, etc.)
      enableRollbackHandling - flag whether to enable rollback handling
    • TRecord

      public TRecord(CTX context, T rowset)
      Constructs a new TRecord.
      Parameters:
      context - the DBContext for this record
      rowset - the corresponding RowSet(Table, View, Query, etc.)
  • Method Details

    • getContext

      public CTX getContext()
      finally we know the Context class
      Specified by:
      getContext in interface DBContextAware
      Overrides:
      getContext in class DBRecord
      Returns:
      the database context
    • getRowSet

      public T getRowSet()
      finally we know the RowSet class
      Overrides:
      getRowSet in class DBRecord
      Returns:
      the DBRowSet object