Package ek.skychain.uws.Cargo.UWSInfo

Examples of ek.skychain.uws.Cargo.UWSInfo.FlightInfo


        LOG.error("Processing performs only for SkyChain. Message will be dropped.");
           addExptInfo(EWVAL.name(), meta.getSource());
           return false;
      }
     
      FlightInfo inputFlightID = uwsInfo.getFlightInfo();
      String flightNumber = formatFlightNo(inputFlightID.getFlightNumber());
      LOG.debug("Airport Code - {}, Departure Date of Month - {}, Final Msg Indicator - {}, Original Flight No - {}, Flight No formatted - {}", inputFlightID.getAirportCode(), inputFlightID.getDateOfMonth(), inputFlightID.getFinalMessageIndicator(), inputFlightID.getFlightNumber(), flightNumber);
     
      String flightDate = createFlightDateFrom(inputFlightID.getDateOfMonth());
     
      if(isNullOrEmptyStr(flightDate)) {
        LOG.error("Departure date cannot be constructed. Message will be dropped.");
        addExptInfo(EWVAL.name(), inputFlightID.getDateOfMonth());
           return false;
      }
     
      LOG.debug("Flight Number, Departure Date - {}, {}", flightNumber, flightDate);
      EntDbAfttab entDbAfttab = afttabBean.findFlightForUws(flightNumber, flightDate);
View Full Code Here


    } catch (Exception ex) {
      LOG.error("Message Meta Data parsing exception : {}", ex.getMessage());
    }
   
   
    FlightInfo flightInfo = uwsInfo.getFlightInfo();
    EntDbMsgTelex msgTelex = new EntDbMsgTelex();
    msgTelex.setMsgType("UWS");
    msgTelex.setMsgFltno(flightInfo.getFlightNumber());
    msgTelex.setMsgFltDay(flightInfo.getDateOfMonth());
    msgTelex.setLoadingPt(flightInfo.getAirportCode());
    msgTelex.setMsgSubtype(flightInfo.getFinalMessageIndicator());
    msgTelex.setMsgInfo(rawUWSInfo);
    msgTelex.setArrDepFlag(HpEKConstants.EK_HOPO.equalsIgnoreCase(flightInfo.getAirportCode().trim()) ? "D" : "A");
    msgTelex.setSendRecvFlag("R");
    msgTelex.setIdFlight(flightUrno);
    msgTelex.setDataSource(HpEKConstants.ULD_SOURCE_SKYCHAIN);
    msgTelex.setCreatedUser(HpEKConstants.ULD_SOURCE_SKYCHAIN);
    msgTelex.setCreatedDate(HpUfisCalendar.getCurrentUTCTime());
View Full Code Here

TOP

Related Classes of ek.skychain.uws.Cargo.UWSInfo.FlightInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.