public void setReadOnly(boolean b) {
   super.setReadOnly(b);
   if (_dueDt != null) _dueDt.setReadOnly(b);
   if (_consignedKilograms != null) _consignedKilograms.setReadOnly(b);
   if (_handledKilograms != null) _handledKilograms.setReadOnly(b);
   if (_deliveredKilograms != null) _deliveredKilograms.setReadOnly(b);
   if (_onTimeKilograms != null) _onTimeKilograms.setReadOnly(b);
   if (_lateKilograms != null) _lateKilograms.setReadOnly(b);
   if (_notDeliveredKilograms != null) _notDeliveredKilograms.setReadOnly(b);
 }
  private void validateTimes(
      JwDate date, JwMap<String, AcAirport> airportCache, AcScheduledFlightUploadErrorVo e) {
    JwDate date2 = date.getCopy();
    date2.addDays(e.getScheduledFlightUploadDayOffset());

    JwTimestamp departLocalTs =
        JwTimestamp.createTimestamp(date, e.getScheduledFlightUploadDepartureLocalTm());
    JwTimestamp arriveLocalTs =
        JwTimestamp.createTimestamp(date2, e.getScheduledFlightUploadArrivalLocalTm());

    AcAirport originAirport =
        getAirport(airportCache, e.getScheduledFlightUploadOriginAirportCode());
    AcAirport destAirport =
        getAirport(airportCache, e.getScheduledFlightUploadDestinationAirportCode());

    JwTimestamp departUtcTs = originAirport.toUtc(departLocalTs);
    if (departUtcTs == null) departUtcTs = departLocalTs;
    JwTimestamp arriveUtcTs = destAirport.toUtc(arriveLocalTs);
    if (arriveUtcTs == null) arriveUtcTs = arriveLocalTs;

    if (departUtcTs.isAfter(arriveUtcTs)) e.addError("Invalid Depart/Arrive time combination");
  }
 public void setReadOnly(boolean b) {
   super.setReadOnly(b);
   if (_firstResultUtcDt != null) _firstResultUtcDt.setReadOnly(b);
   if (_expectedMaxPay != null) _expectedMaxPay.setReadOnly(b);
   if (_actualMaxPay != null) _actualMaxPay.setReadOnly(b);
   if (_expectedNetPay != null) _expectedNetPay.setReadOnly(b);
   if (_actualNetPay != null) _actualNetPay.setReadOnly(b);
   if (_expectedCompliancePay != null) _expectedCompliancePay.setReadOnly(b);
   if (_actualCompliancePay != null) _actualCompliancePay.setReadOnly(b);
   if (_expectedComplianceFailure != null) _expectedComplianceFailure.setReadOnly(b);
   if (_actualComplianceFailure != null) _actualComplianceFailure.setReadOnly(b);
   if (_expectedLateFinePay != null) _expectedLateFinePay.setReadOnly(b);
   if (_actualLateFinePay != null) _actualLateFinePay.setReadOnly(b);
   if (_expectedMisdeliveryFinePay != null) _expectedMisdeliveryFinePay.setReadOnly(b);
   if (_actualMisdeliveryFinePay != null) _actualMisdeliveryFinePay.setReadOnly(b);
   if (_actualOtherAdjustments != null) _actualOtherAdjustments.setReadOnly(b);
 }
 public void setReadOnly(boolean b) {
   super.setReadOnly(b);
   if (_minEffectiveStartUtcDt != null) _minEffectiveStartUtcDt.setReadOnly(b);
   if (_maxEffectiveEndUtcDt != null) _maxEffectiveEndUtcDt.setReadOnly(b);
 }