private void debug(AcInclusionRule e, AcAlias alias, boolean b) {
   if (JwLog.isChannelEnabled(AcGlobalDebugChannel.OUTPUT_CHANNEL_RULE))
     JwLog.forceDebug(
         AcGlobalDebugChannel.OUTPUT_CHANNEL_RULE,
         "Output Channel %d, Rule %s, Tag %s, pass %s",
         e.getOutputChannelId(),
         getDisplayLabel(),
         alias.getTag(),
         b);
 }
 private boolean _journeyIdRule(
     AcAccountModelCacheAccess cache,
     AcInclusionRule e,
     AcMessageActionIF action,
     AcMessageSubjectIF b,
     StringBuilder log) {
   if (b instanceof AcMessageItemIF) {
     if (log != null) log.append("AcMessageItemIF");
     return false;
   }
   if (b instanceof AcMessageNestIF)
     return _journeyIdRuleNest(cache, e, action, (AcMessageNestIF) b, log);
   JwUtility.error(
       "Unsupported batch model type for \"%s\" Inclusion Rule %s", e.getTypeLabel(), b.format());
   return false;
 }
 private boolean _journeyIdRuleNest(AcInclusionRule e, AcJourneyIdTag t) {
   if (e.hasJourneyIdCarrierCode())
     if (!e.hasJourneyIdCarrierCode(t.getCarrierCode())) return false;
   if (e.hasJourneyIdDayOfMonth()) if (!e.hasJourneyIdDayOfMonth(t.getDayOfMonth())) return false;
   if (e.hasJourneyIdDestinationAirportCode())
     if (!e.hasJourneyIdDestinationAirportCode(t.getDestinationAirportCode())) return false;
   if (e.hasJourneyIdElapsedDaysToDeliverIndicator())
     if (!e.hasJourneyIdElapsedDaysToDeliverIndicator(t.getElapsedDaysToDeliverIndicator()))
       return false;
   if (e.hasJourneyIdHandlingCode())
     if (!e.hasJourneyIdHandlingCode(t.getHandlingCode())) return false;
   if (e.hasJourneyIdLastDigitOfYear())
     if (!e.hasJourneyIdLastDigitOfYear(t.getLastDigitOfYear())) return false;
   if (e.hasJourneyIdLoadingUnitId())
     if (!e.hasJourneyIdLoadingUnitId(t.getLoadingUnitId())) return false;
   if (e.hasJourneyIdLocationIndicator())
     if (!e.hasJourneyIdLocationIndicator(t.getLocationIndicator())) return false;
   if (e.hasJourneyIdMonth()) if (!e.hasJourneyIdMonth(t.getMonth())) return false;
   if (e.hasJourneyIdSequenceNumber())
     if (!e.hasJourneyIdSequenceNumber(t.getSequenceNumber())) return false;
   if (e.hasJourneyIdUpuPostCode())
     if (!e.hasJourneyIdUpuPostCode(t.getUpuPostCode())) return false;
   return true;
 }