Interface FieldHandlerIF

All Known Subinterfaces:
FieldInfoIF
All Known Implementing Classes:
AbstractFieldInfo, AggregateFieldInfo, DefaultFieldHandler, IdentityFieldInfo, IndicatorFieldHandler, PrimitiveFieldInfo, ReferenceFieldInfo

public interface FieldHandlerIF
INTERNAL: Interface for use by classes that retrieve field values from result sets and bind values in prepared statements. This interface is JDBC specific.
  • Method Details

    • getColumnCount

      int getColumnCount()
      INTERNAL: Returns the number of columns that the field spans.
    • isIdentityField

      boolean isIdentityField()
      INTERNAL: Returns true if the field handler references an object identity field.
    • load

      Object load(AccessRegistrarIF registrar, TicketIF ticket, ResultSet rs, int rsindex, boolean direct) throws SQLException
      INTERNAL: Reads the value beginning at the given offset in the current ResultSet row. The number of columns actually read depends on the type of object field.
      Throws:
      SQLException
    • bind

      void bind(Object value, PreparedStatement stm, int stmt_index) throws SQLException
      INTERNAL: Binds the object field value starting from the given offset in the prepared statement. The number of columns actually bound depends on the type of object field.
      Throws:
      SQLException
    • retrieveFieldValues

      void retrieveFieldValues(Object value, List<Object> field_values)
    • retrieveSQLValues

      void retrieveSQLValues(Object value, List<SQLValueIF> sql_values)