/* ** Name: readSqlData ** ** Description: ** Reads a SqlTime data value from the current input message. ** ** A SqlTime data value is composed of a data indicator byte ** which, if not NULL, may be followed by a string which is ** composed of a two byte integer indicating the byte length ** of the string followed by a character byte array of the ** indicated length. ** ** Input: ** None. ** ** Output: ** value SQL data value. ** ** Returns: ** void. ** ** History: ** 16-Jun-06 (gordy) ** Created. */ public void readSqlData(SqlTime value) { if (readSqlDataIndicator()) // Read data indicator byte. value.set(readString()); // Read data value. else value.setNull(); // NULL data value. return; }