Class BooleanField

    • Constructor Detail

      • BooleanField

        public BooleanField​(SRecordMeta<?> meta,
                            java.lang.String columnName,
                            SFieldFlags... pvals)
    • Method Detail

      • getFormMeta

        public FormMeta getFormMeta()
      • setDefault

        public BooleanField setDefault​(java.lang.Boolean value)
      • setIndexed

        public BooleanField setIndexed​(boolean value)
      • 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.
        Overrides:
        convertToDataSetFieldType in class SFieldBooleanBit
      • queryFieldValue

        public java.lang.Object queryFieldValue​(java.sql.ResultSet rs,
                                                int sqlIndex)
                                         throws java.lang.Exception
        Description copied from class: SFieldBooleanBit
        Converts from database representation to internal representation
        Overrides:
        queryFieldValue in class SFieldBooleanBit
        Throws:
        java.lang.Exception