Class BooleanKey

    • Constructor Detail

      • BooleanKey

        public BooleanKey()
        Initializes the internal key value to null.
      • BooleanKey

        public BooleanKey​(String key)
        Creates an BooleanKey and set its internal representation
        Parameters:
        key - the key value as String
      • BooleanKey

        public BooleanKey​(Boolean key)
        Creates an BooleanKey and set its internal representation
        Parameters:
        key - the key value
      • BooleanKey

        public BooleanKey​(BooleanKey key)
        Creates a BooleanKey that is equivalent to key.
        Parameters:
        key - the key value
    • Method Detail

      • setValue

        public void setValue​(String key)
        Sets the internal representation to a String.
        Parameters:
        key - the key value
      • getJdbcType

        public int getJdbcType()
        Returns the JDBC type of the key as defined in java.sql.Types.
        Specified by:
        getJdbcType in class ObjectKey<Boolean>
        Returns:
        Types.BIT.