Class SFieldBooleanBit

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BooleanField

public class SFieldBooleanBit extends SFieldBoolean
See Also:
  • Constructor Details

  • Method Details

    • queryFieldValue

      public Object queryFieldValue(ResultSet rs, int sqlIndex) throws Exception
      Converts from database representation to internal representation
      Specified by:
      queryFieldValue in class SFieldMeta
      Throws:
      Exception
    • convertToDataSetFieldType

      protected Object convertToDataSetFieldType(Object raw)
      Description copied from class: SFieldMeta
      Converts the parameter from the raw type parameter to the correct internal Object type that is stored in the data set. Returns the object if no conversion necessary. Used by SRecordInstance.setObject etc., Not getObject.
      Specified by:
      convertToDataSetFieldType in class SFieldMeta
    • defaultSqlDataType

      public String defaultSqlDataType()
      Specializes SFieldMeta.
      Specified by:
      defaultSqlDataType in class SFieldScalar
    • isFKeyCompatible

      public boolean isFKeyCompatible(SFieldScalar field)
    • javaSqlType

      public int javaSqlType()
      Specified by:
      javaSqlType in class SFieldScalar
      Returns:
      int constant from java.sql.Types, used for setting sql datatype with null values