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 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) {
   // AcUserAirportMobileDeviceCacheBase and AcUserAirportMobileDeviceCachePk must match.
   if (!(o instanceof AcUserAirportMobileDeviceCachePkIF)) return false;
   AcUserAirportMobileDeviceCachePkIF e = (AcUserAirportMobileDeviceCachePkIF) o;
   if (!JwUtility.isEqual(getLogin(), e.getLogin())) return false;
   if (!JwUtility.isEqual(getAirportCode(), e.getAirportCode())) return false;
   return true;
 }
 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);
 }
 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;
 }
 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) {
   // AcAccountInclusionOperatorVoBase and AcAccountInclusionOperatorVoPk must match.
   if (!(o instanceof AcAccountInclusionOperatorVoPkIF)) return false;
   AcAccountInclusionOperatorVoPkIF e = (AcAccountInclusionOperatorVoPkIF) o;
   if (!JwUtility.isEqual(getAccountCode(), e.getAccountCode())) return false;
   return true;
 }
Example #15
0
 public boolean equals(Object o) {
   // AcBatchStatisticBase and AcBatchStatisticPk must match.
   if (!(o instanceof AcBatchStatisticPkIF)) return false;
   AcBatchStatisticPkIF e = (AcBatchStatisticPkIF) o;
   if (!JwUtility.isEqual(getId(), e.getId())) 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 boolean equals(Object o) {
   // AcCustodySummaryVoBase and AcCustodySummaryVoPk must match.
   if (!(o instanceof AcCustodySummaryVoPkIF)) return false;
   AcCustodySummaryVoPkIF e = (AcCustodySummaryVoPkIF) o;
   if (!JwUtility.isEqual(getHashKey(), e.getHashKey())) return false;
   return true;
 }
 public boolean equals(Object o) {
   // AcTravelPlanConfirmationContainerBase and AcTravelPlanConfirmationContainerPk must match.
   if (!(o instanceof AcTravelPlanConfirmationContainerPkIF)) return false;
   AcTravelPlanConfirmationContainerPkIF e = (AcTravelPlanConfirmationContainerPkIF) o;
   if (!JwUtility.isEqual(getId(), e.getId())) return false;
   return true;
 }
Example #19
0
 public boolean equals(Object o) {
   // AcMobileProfileBase and AcMobileProfilePk must match.
   if (!(o instanceof AcMobileProfilePkIF)) return false;
   AcMobileProfilePkIF e = (AcMobileProfilePkIF) o;
   if (!JwUtility.isEqual(getName(), e.getName())) 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) {
   // AcGlobalUspsInternationalDemandCategoryBase and AcGlobalUspsInternationalDemandCategoryPk
   // must match.
   if (!(o instanceof AcGlobalUspsInternationalDemandCategoryPkIF)) return false;
   AcGlobalUspsInternationalDemandCategoryPkIF e = (AcGlobalUspsInternationalDemandCategoryPkIF) o;
   if (!JwUtility.isEqual(getCode(), e.getCode())) return false;
   return true;
 }
 public boolean equals(Object o) {
   // AcUspsInternationalCandidateRouteLegBase and AcUspsInternationalCandidateRouteLegPk must
   // match.
   if (!(o instanceof AcUspsInternationalCandidateRouteLegPkIF)) return false;
   AcUspsInternationalCandidateRouteLegPkIF e = (AcUspsInternationalCandidateRouteLegPkIF) o;
   if (!JwUtility.isEqual(getId(), e.getId())) return false;
   return true;
 }
  public JwGeographicCoordinate getValue(ScServletData data) {
    int degrees;
    int minutes;
    double seconds;

    Double d = _degrees.getValue(data);
    if (d == null) return null;
    if (isDecimal(d)) {
      if (_minutes.hasValue(data) && !JwUtility.isEqual(_minutes.getValue(data).doubleValue(), 0.0))
        return null;
      if (_seconds.hasValue(data) && !JwUtility.isEqual(_seconds.getValue(data).doubleValue(), 0.0))
        return null;

      degrees = (int) d.doubleValue();

      d = d - degrees;
      d = d * 60;
      minutes = (int) d.doubleValue();

      d = d - minutes;
      seconds = d * 60;
    } else {
      degrees = (int) d.doubleValue();
      d = _minutes.getValue(data);
      if (d == null) return null;
      if (isDecimal(d)) {
        if (_seconds.hasValue(data)
            && !JwUtility.isEqual(_seconds.getValue(data).doubleValue(), 0.0)) return null;

        minutes = (int) d.doubleValue();

        d = d - minutes;
        seconds = d * 60;
      } else {
        minutes = (int) d.doubleValue();
        d = _seconds.getValue(data);
        if (d == null) return null;
        seconds = d;
      }
    }

    String direction = _direction.getSelectedString();
    if (JwUtility.isEmpty(direction)) return null;
    return new JwGeographicCoordinate(degrees, minutes, seconds, direction, null, null);
  }
  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 JwList<AcDomesticCandidateRouteTmp> getAllWhere(String whereClause, Integer rowLimit) {
   JwSqlSelect st = getSelect();
   if (JwUtility.hasValue(whereClause)) st.where().setCondition(whereClause);
   return composeList(st, rowLimit);
 }
Example #29
0
 public boolean hasName(String e) {
   return JwUtility.isEqual(_name, e);
 }
Example #30
0
 public boolean hasName() {
   return JwUtility.hasValue(_name);
 }