public boolean isSameIgnoringKey(AcUspsDomesticSkeletonRouteOffer e) {
   if (!JwUtility.isEqual(getUspsDomesticSkeletonRouteId(), e.getUspsDomesticSkeletonRouteId()))
     return false;
   if (!JwUtility.isEqual(getFrequency(), e.getFrequency())) return false;
   if (!JwUtility.isEqual(getCapacity(), e.getCapacity())) return false;
   return true;
 }
 public boolean isSame(AcSentEdiInterchangeUspsInternationalCandidateRouteMessage e) {
   if (!JwUtility.isEqual(getSentEdiInterchangeId(), e.getSentEdiInterchangeId())) return false;
   if (!JwUtility.isEqual(
       getUspsInternationalCandidateRouteMessageId(),
       e.getUspsInternationalCandidateRouteMessageId())) return false;
   return isSameIgnoringKey(e);
 }
 public boolean isMatch(
     Integer sentEdiInterchangeId, Integer uspsInternationalCandidateRouteMessageId) {
   return JwUtility.isEqual(getSentEdiInterchangeId(), sentEdiInterchangeId)
       && JwUtility.isEqual(
           getUspsInternationalCandidateRouteMessageId(),
           uspsInternationalCandidateRouteMessageId);
 }
 public boolean isSame(AcUspsInternationalCgrWorkLegFlightConflictSummaryVo e) {
   if (!JwUtility.isEqual(getLegDepartureLocalTm(), e.getLegDepartureLocalTm())) return false;
   if (!JwUtility.isEqual(getLegArrivalLocalTm(), e.getLegArrivalLocalTm())) return false;
   if (!JwUtility.isEqual(getLegArrivalDayOffset(), e.getLegArrivalDayOffset())) return false;
   if (!JwUtility.isEqual(getLegStopCount(), e.getLegStopCount())) return false;
   if (!JwUtility.isEqual(getLegEquipment(), e.getLegEquipment())) return false;
   return isSameIgnoringKey(e);
 }
Exemplo n.º 5
0
 public boolean isSameIgnoringKey(AcSqlResultsVo e) {
   if (!JwUtility.isEqual(getRawSql(), e.getRawSql())) return false;
   if (!JwUtility.isEqual(getExpandedSql(), e.getExpandedSql())) return false;
   if (!JwUtility.isEqual(getUpdateCount(), e.getUpdateCount())) return false;
   if (!JwUtility.isEqual(getErrorMessage(), e.getErrorMessage())) return false;
   if (!JwUtility.isEqual(getElapsedTime(), e.getElapsedTime())) return false;
   return true;
 }
Exemplo n.º 6
0
 public boolean equals(Object o) {
   // AcSqlResultsVoBase and AcSqlResultsVoPk must match.
   if (!(o instanceof AcSqlResultsVoPkIF)) return false;
   AcSqlResultsVoPkIF e = (AcSqlResultsVoPkIF) o;
   if (!JwUtility.isEqual(getSchemaName(), e.getSchemaName())) return false;
   if (!JwUtility.isEqual(getIndex(), e.getIndex())) return false;
   return true;
 }
 public boolean equals(Object o) {
   // AcSentFileMessageVoBase and AcSentFileMessageVoPk must match.
   if (!(o instanceof AcSentFileMessageVoPkIF)) return false;
   AcSentFileMessageVoPkIF e = (AcSentFileMessageVoPkIF) o;
   if (!JwUtility.isEqual(getSentEdiInterchangeId(), e.getSentEdiInterchangeId())) return false;
   if (!JwUtility.isEqual(getSentMessageId(), e.getSentMessageId())) return false;
   if (!JwUtility.isEqual(getSentFileId(), e.getSentFileId())) return false;
   return true;
 }
 public boolean equals(Object o) {
   // AcTravelPlanConfirmationEdiMessageBase and AcTravelPlanConfirmationEdiMessagePk must match.
   if (!(o instanceof AcTravelPlanConfirmationEdiMessagePkIF)) return false;
   AcTravelPlanConfirmationEdiMessagePkIF e = (AcTravelPlanConfirmationEdiMessagePkIF) o;
   if (!JwUtility.isEqual(getTravelPlanConfirmationId(), e.getTravelPlanConfirmationId()))
     return false;
   if (!JwUtility.isEqual(getReceivedEdiMessageId(), e.getReceivedEdiMessageId())) return false;
   return true;
 }
 public JwSqlUpdate composeUpdate(AcUploadDownloadFile e) {
   JwSqlUpdate st = createUpdate();
   st.setTable(TABLE);
   st.setValue(PATH, JwUtility.truncate(e.getPath(), PATH_MAX_LENGTH, true));
   st.setValue(FILE_NAME, JwUtility.truncate(e.getFileName(), FILE_NAME_MAX_LENGTH, true));
   st.setValue(DESCRIPTION, JwUtility.truncate(e.getDescription(), DESCRIPTION_MAX_LENGTH, true));
   st.setValue(CREATED_UTC_TS, e.getCreatedUtcTs());
   st.where().isEqual(ID, e.getId());
   return st;
 }
 public boolean isMatch(
     JwTime legDepartureLocalTm,
     JwTime legArrivalLocalTm,
     Integer legArrivalDayOffset,
     Integer legStopCount,
     String legEquipment) {
   return JwUtility.isEqual(getLegDepartureLocalTm(), legDepartureLocalTm)
       && JwUtility.isEqual(getLegArrivalLocalTm(), legArrivalLocalTm)
       && JwUtility.isEqual(getLegArrivalDayOffset(), legArrivalDayOffset)
       && JwUtility.isEqual(getLegStopCount(), legStopCount)
       && JwUtility.isEqual(getLegEquipment(), legEquipment);
 }
 public boolean equals(Object o) {
   // AcSentEdiInterchangeUspsInternationalCandidateRouteMessageBase and
   // AcSentEdiInterchangeUspsInternationalCandidateRouteMessagePk must match.
   if (!(o instanceof AcSentEdiInterchangeUspsInternationalCandidateRouteMessagePkIF))
     return false;
   AcSentEdiInterchangeUspsInternationalCandidateRouteMessagePkIF e =
       (AcSentEdiInterchangeUspsInternationalCandidateRouteMessagePkIF) o;
   if (!JwUtility.isEqual(getSentEdiInterchangeId(), e.getSentEdiInterchangeId())) return false;
   if (!JwUtility.isEqual(
       getUspsInternationalCandidateRouteMessageId(),
       e.getUspsInternationalCandidateRouteMessageId())) return false;
   return true;
 }
 public boolean equals(Object o) {
   // AcUspsInternationalCgrWorkLegFlightConflictSummaryVoBase and
   // AcUspsInternationalCgrWorkLegFlightConflictSummaryVoPk must match.
   if (!(o instanceof AcUspsInternationalCgrWorkLegFlightConflictSummaryVoPkIF)) return false;
   AcUspsInternationalCgrWorkLegFlightConflictSummaryVoPkIF e =
       (AcUspsInternationalCgrWorkLegFlightConflictSummaryVoPkIF) o;
   if (!JwUtility.isEqual(getLegDepartureLocalTm(), e.getLegDepartureLocalTm())) return false;
   if (!JwUtility.isEqual(getLegArrivalLocalTm(), e.getLegArrivalLocalTm())) return false;
   if (!JwUtility.isEqual(getLegArrivalDayOffset(), e.getLegArrivalDayOffset())) return false;
   if (!JwUtility.isEqual(getLegStopCount(), e.getLegStopCount())) return false;
   if (!JwUtility.isEqual(getLegEquipment(), e.getLegEquipment())) return false;
   return true;
 }
 public boolean equals(Object o) {
   // AcHomeBy2300SummaryVoBase and AcHomeBy2300SummaryVoPk must match.
   if (!(o instanceof AcHomeBy2300SummaryVoPkIF)) return false;
   AcHomeBy2300SummaryVoPkIF e = (AcHomeBy2300SummaryVoPkIF) o;
   if (!JwUtility.isEqual(getDueDt(), e.getDueDt())) return false;
   return true;
 }
 public boolean equals(Object o) {
   // AcUspsDomesticSkeletonRouteOfferBase and AcUspsDomesticSkeletonRouteOfferPk must match.
   if (!(o instanceof AcUspsDomesticSkeletonRouteOfferPkIF)) return false;
   AcUspsDomesticSkeletonRouteOfferPkIF e = (AcUspsDomesticSkeletonRouteOfferPkIF) o;
   if (!JwUtility.isEqual(getId(), e.getId())) return false;
   return true;
 }
  public JwSqlInsert _checkAndComposeInsert(JwList<AcUploadDownloadFile> v, boolean insertIds) {
    for (AcUploadDownloadFile e : v) {
      defaultUpdateCount(e);
      e.validate();
      verifyNoMatching(e);
    }

    JwSqlInsert st = createInsert();
    st.setTable(TABLE);
    populateInsertColumns(st, insertIds);

    for (AcUploadDownloadFile e : v) {
      st.startNewRow();
      if (insertIds) st.addIntegerValue(e.getId());
      st.addStringValue(JwUtility.truncate(e.getPath(), PATH_MAX_LENGTH, true));
      st.addStringValue(JwUtility.truncate(e.getFileName(), FILE_NAME_MAX_LENGTH, true));
      st.addStringValue(JwUtility.truncate(e.getDescription(), DESCRIPTION_MAX_LENGTH, true));
      st.addTimestampValue(e.getCreatedUtcTs());
    }
    return st;
  }
 public boolean isSame(AcGb0901MarketPayComponentSummary e) {
   if (!JwUtility.isEqual(getFirstResultUtcDt(), e.getFirstResultUtcDt())) return false;
   if (!JwUtility.isEqual(getCarrierOrigin(), e.getCarrierOrigin())) return false;
   if (!JwUtility.isEqual(getCarrierDestination(), e.getCarrierDestination())) return false;
   if (!JwUtility.isEqual(getContractedParty(), e.getContractedParty())) return false;
   if (!JwUtility.isEqual(getSubcontractedCarriers(), e.getSubcontractedCarriers())) return false;
   if (!JwUtility.isEqual(getCarrierOperated(), e.getCarrierOperated())) return false;
   return isSameIgnoringKey(e);
 }
 public boolean equals(Object o) {
   // AcGb0901MarketPayComponentSummaryBase and AcGb0901MarketPayComponentSummaryPk must match.
   if (!(o instanceof AcGb0901MarketPayComponentSummaryPkIF)) return false;
   AcGb0901MarketPayComponentSummaryPkIF e = (AcGb0901MarketPayComponentSummaryPkIF) o;
   if (!JwUtility.isEqual(getFirstResultUtcDt(), e.getFirstResultUtcDt())) return false;
   if (!JwUtility.isEqual(getCarrierOrigin(), e.getCarrierOrigin())) return false;
   if (!JwUtility.isEqual(getCarrierDestination(), e.getCarrierDestination())) return false;
   if (!JwUtility.isEqual(getContractedParty(), e.getContractedParty())) return false;
   if (!JwUtility.isEqual(getSubcontractedCarriers(), e.getSubcontractedCarriers())) return false;
   if (!JwUtility.isEqual(getCarrierOperated(), e.getCarrierOperated())) return false;
   return true;
 }
 public boolean isMatch(
     JwDate firstResultUtcDt,
     String carrierOrigin,
     String carrierDestination,
     String contractedParty,
     String subcontractedCarriers,
     Boolean carrierOperated) {
   return JwUtility.isEqual(getFirstResultUtcDt(), firstResultUtcDt)
       && JwUtility.isEqual(getCarrierOrigin(), carrierOrigin)
       && JwUtility.isEqual(getCarrierDestination(), carrierDestination)
       && JwUtility.isEqual(getContractedParty(), contractedParty)
       && JwUtility.isEqual(getSubcontractedCarriers(), subcontractedCarriers)
       && JwUtility.isEqual(getCarrierOperated(), carrierOperated);
 }
 public boolean hasId(Integer e) {
   return JwUtility.isEqual(_id, e);
 }
 public boolean isMatch(Integer id) {
   return JwUtility.isEqual(getId(), id);
 }
 public boolean matchesUspsDomesticSkeletonRouteId(Integer uspsDomesticSkeletonRouteId) {
   if (JwUtility.isNotEqual(_uspsDomesticSkeletonRouteId, uspsDomesticSkeletonRouteId))
     return false;
   return true;
 }
 public boolean isSame(AcUspsDomesticSkeletonRouteOffer e) {
   if (!JwUtility.isEqual(getId(), e.getId())) return false;
   return isSameIgnoringKey(e);
 }
 public boolean hasCapacity(JwKilogram e) {
   return JwUtility.isEqual(_capacity, e);
 }
 public boolean hasFrequency(JwDayFrequency e) {
   return JwUtility.isEqual(_frequency, e);
 }
 public boolean hasConsignedCount(Integer e) {
   return JwUtility.isEqual(_consignedCount, e);
 }
 public boolean isMatch(JwDate dueDt) {
   return JwUtility.isEqual(getDueDt(), dueDt);
 }
 public boolean hasDueDt(JwDate e) {
   return JwUtility.isEqual(_dueDt, e);
 }
 public boolean hasUspsDomesticSkeletonRouteId(Integer e) {
   return JwUtility.isEqual(_uspsDomesticSkeletonRouteId, e);
 }
 public JwList<AcDomesticCandidateRouteTmp> getAllWhere(String whereClause, Integer rowLimit) {
   JwSqlSelect st = getSelect();
   if (JwUtility.hasValue(whereClause)) st.where().setCondition(whereClause);
   return composeList(st, rowLimit);
 }
 public boolean hasWebKey(String s) {
   return JwUtility.isEqual(getWebKey(), s);
 }