Interface ScalarTypeBool

All Superinterfaces:
io.ebean.core.type.ScalarDataReader<Boolean>, io.ebean.core.type.ScalarType<Boolean>, ScalarTypeLogicalType, io.ebean.text.StringFormatter, io.ebean.text.StringParser
All Known Implementing Classes:
ScalarTypeBoolean.BooleanBase, ScalarTypeBoolean.Native

public interface ScalarTypeBool extends io.ebean.core.type.ScalarType<Boolean>, ScalarTypeLogicalType
Boolean ScalarType's must implement to support DDL default values etc.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the DB literal value for FALSE.
    Return the DB literal value for TRUE.

    Methods inherited from interface io.ebean.core.type.ScalarType

    asVersion, binary, bind, docType, format, formatValue, isDirty, jdbcNative, jdbcType, jsonMapper, jsonRead, jsonWrite, length, mutable, parse, read, readData, toBeanType, toJdbcType, type, writeData

    Methods inherited from interface ScalarTypeLogicalType

    getLogicalType
  • Method Details

    • getDbFalseLiteral

      String getDbFalseLiteral()
      Return the DB literal value for FALSE.
    • getDbTrueLiteral

      String getDbTrueLiteral()
      Return the DB literal value for TRUE.