/** storeUIFieldsToCitation - transfer the UI field values to the citation record */ private void storeUIFieldsToCitation() { String accidentStatus = field_accident.getChecked() ? "true" : "false"; String radarStatus = field_radar.getChecked() ? "true" : "false"; String jailStatus = field_jail_booking.getChecked() ? "true" : "false"; String pacedStatus = field_paced.getChecked() ? "true" : "false"; String schoolStatus = field_school_zone.getChecked() ? "true" : "false"; String alcoholStatus = field_alcohol.getChecked() ? "true" : "false"; c.Violation.setElement(CViolation.ACCIDENT, accidentStatus); c.Violation.setElement(CViolation.RADAR, radarStatus); c.Violation.setElement(CViolation.JAIL_BOOKING, jailStatus); c.Violation.setElement(CViolation.PACED, pacedStatus); c.Violation.setElement(CViolation.SCHOOL_ZONE, schoolStatus); c.Violation.setElement(CViolation.ALCOHOL, alcoholStatus); c.Violation.setElement(CViolation.VBFI, field_vbfi.getText()); c.Violation.setElement(CViolation.SPEED_LIMIT, field_speed_limit.toString()); c.Violation.setElement(CViolation.ALLEGED_SPEED, field_alleged_speed.getText()); }