Class SFieldBooleanBit

    • Constructor Detail

      • SFieldBooleanBit

        public SFieldBooleanBit​(SRecordMeta meta,
                                java.lang.String columnName,
                                SFieldFlags... pvals)
    • Method Detail

      • queryFieldValue

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

        protected java.lang.Object convertToDataSetFieldType​(java.lang.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
      • 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