set(SqlBool data) { if (data == null || data.isNull()) { setNull(); } else { setNotNull(); this.Value = data.Value; } return; } // set
/* ** Name: set ** ** Description: ** Assign a new data value as a copy of an existing ** SQL data object. If the input is NULL, a NULL ** data value results. ** ** Input: ** data The SQL data to be copied. ** ** Output: ** None. ** ** Returns: ** void. ** ** History: ** 1-Dec-03 (gordy) ** Created. */ public void set(SqlBool data) { if (data == null || data.isNull()) setNull(); else { setNotNull(); this.Value = data.Value; } return; }