コード例 #1
0
 public AcDomesticCandidateRouteTmp read(JwSqlResultSet rs) {
   AcDomesticCandidateRouteTmp e;
   e = getAccess().newDomesticCandidateRouteTmp();
   e.setLogin(rs.getString());
   e.setCreatedUtcTs(rs.getTimestamp());
   e.setBlockBeginUtcDt(rs.getDate());
   e.setBlockEndUtcDt(rs.getDate());
   e.setRouteBeginUtcDt(rs.getDate());
   e.setRouteEndUtcDt(rs.getDate());
   e.setError(AcDomesticCandidateRouteErrorEnum.getFromCode(rs.getInteger()));
   return e;
 }
コード例 #2
0
  public static AcDomesticNominatedRouteSummaryVo readNominatedRouteSummaryVo(JwSqlResultSet rs) {
    JwDate blockBeginUtcDt = rs.getDate();
    JwDate blockEndUtcDt = rs.getDate();
    JwTimestamp minCreatedUtcTs = rs.getTimestamp();
    Integer countNew = rs.getInteger();

    AcDomesticNominatedRouteSummaryVo vo = new AcDomesticNominatedRouteSummaryVo();
    vo.setBlockBeginUtcDt(blockBeginUtcDt);
    vo.setBlockEndUtcDt(blockEndUtcDt);
    vo.setMinimumCreatedUtcTs(minCreatedUtcTs);
    vo.setUnhandledRoutesCount(countNew);
    return vo;
  }
コード例 #3
0
  public static AcDomesticCandidateRouteSummaryVo readSummaryVo(JwSqlResultSet rs) {
    JwDate blockBeginUtcDt = rs.getDate();
    JwDate blockEndUtcDt = rs.getDate();
    Integer count = rs.getInteger();
    String statuses = rs.getString();

    AcDomesticCandidateRouteSummaryVo vo = new AcDomesticCandidateRouteSummaryVo();
    vo.setBlockBeginUtcDt(blockBeginUtcDt);
    vo.setBlockEndUtcDt(blockEndUtcDt);
    vo.setCandidateRoutesCount(0);
    vo.setNominatedRoutesCount(count);
    vo.setNominatedRouteStatusDisplayLabelFromDelimitedString(statuses);
    vo.setRequestedRoutesCount(0);
    return vo;
  }
コード例 #4
0
 public AcScheduledFlightUpload read(JwSqlResultSet rs) {
   AcScheduledFlightUpload e;
   e = getAccess().newScheduledFlightUpload();
   e.setId(rs.getInteger());
   e.setOperatorCarrierCode(rs.getString());
   e.setOperatorNumber(rs.getString());
   e.setRelationship(AcFlightRelationshipEnum.getFromCode(rs.getString()));
   e.setOriginAirportCode(rs.getString());
   e.setDestinationAirportCode(rs.getString());
   e.setDepartureLocalTm(rs.getTime());
   e.setArrivalLocalTm(rs.getTime());
   e.setDayOffset(rs.getInteger());
   e.setBoundingStartLocalDt(rs.getDate());
   e.setBoundingEndLocalDt(rs.getDate());
   e.setFrequency(rs.getDayFrequency());
   e.setEquipmentCode(rs.getString());
   e.setSource(AcScheduledFlightCalendarSourceEnum.getFromCode(rs.getString()));
   e.setAbsoluteSource(AcScheduledFlightCalendarAbsoluteSourceEnum.getFromCode(rs.getString()));
   e.setCancel(rs.getBoolean());
   e.setCreatedUtcTs(rs.getTimestamp());
   e.setSequence(rs.getInteger());
   return e;
 }