Exemplo n.º 1
0
 public AcGlobalAuditLog read(JwSqlResultSet rs) {
   AcGlobalAuditLog e;
   e = getAccess().newGlobalAuditLog();
   e.setId(rs.getInteger());
   e.setModifiedUtcTs(rs.getTimestamp());
   e.setUser(rs.getString());
   e.setType(rs.getInteger());
   e.setTypeName(rs.getString());
   e.setSubject1(rs.getString());
   e.setSubject2(rs.getString());
   e.setSubject3(rs.getString());
   e.setOldValue(rs.getString());
   e.setNewValue(rs.getString());
   return e;
 }
 public AcUploadDownloadFile read(JwSqlResultSet rs) {
   AcUploadDownloadFile e;
   e = getAccess().newUploadDownloadFile();
   e.setId(rs.getInteger());
   e.setPath(rs.getString());
   e.setFileName(rs.getString());
   e.setDescription(rs.getString());
   e.setCreatedUtcTs(rs.getTimestamp());
   return e;
 }
 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;
 }
 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;
 }