LOG.debug("Meta SubType is not equal to (INS or UPD or DEL). Message dropped.");
return false;
}
//check input <FlightId> data
FlightIdType flightId = _input.getFlightId();
if(isNullOrEmptyStr(flightId.getCxCd())
|| flightId.getFltDate() == null
/*|| isNullOrEmptyStr(flightId.getDepStn())
|| isNullOrEmptyStr(flightId.getArrStn())*/
|| isNullOrEmptyStr(flightId.getArrDepFlag())){
LOG.debug("Mandatory data for Flight are missing. Message dropped.");
return false;
}
if(!"EK".equals(flightId.getCxCd())){
LOG.debug("Processing performs only for EK flights. Message dropped.");
return false;
}
if(!flightId.getArrDepFlag().matches("A|D")){
LOG.debug("Flight arrival/departure flag is not equal to (A or D). Message dropped.");
return false;
}
//check input <TaskDetails> data