public SpillProtectionVo(ResultSet resultset) throws SQLException {
   id = -99;
   tankId = -99;
   date = null;
   isThereAnySpill = false;
   isCompliant = false;
   spillNumber = null;
   date4Display = null;
   id = resultset.getInt("SPILLCOMPLIANCEID");
   tankId = resultset.getInt("STORAGETANKID");
   date = resultset.getDate("DATE");
   String s = resultset.getString("ANYSPILL");
   if (UtilityObject.convertBoolean(s)) {
     isThereAnySpill = true;
   }
   s = resultset.getString("COMPLIANCE");
   if (UtilityObject.convertBoolean(s)) {
     isCompliant = true;
   }
   spillNumber = resultset.getString("SPILLNUMBER");
 }
 public String getDate4Display() {
   return UtilityObject.convertToString(date);
 }