HpUfisCalendar ufisCalendar = new HpUfisCalendar();
ufisCalendar.setCustomFormat(HpEKConstants.MACS_TIME_FORMAT); // 2012-12-18 00:00:00
SimpleDateFormat macsTimeFormat = new SimpleDateFormat(HpEKConstants.MACS_TIME_FORMAT);
EntDbLoadPax edpiod = new EntDbLoadPax();
LoadPaxPK paxPk = new LoadPaxPK();
// check as it's a mandatory field
if (paxDetails.getMFLID() != null
&& !paxDetails.getMFLID().isEmpty()) {
paxPk.setIntflid(paxDetails.getMFLID());
} else {
LOG.info("Mandatory field MFL_ID is null or empty, PaxDetails Message is rejected");
sendErroNotification(EnumExceptionCodes.EMAND,irmtabRef);
return null;
}
// check as it's a mandatory field
if (paxDetails.getREFERENCENUMBER() != null
&& !paxDetails.getREFERENCENUMBER().isEmpty()) {
paxPk.setIntrefnumber(paxDetails.getREFERENCENUMBER());
} else {
LOG.info("Mandatory field REFERENCE_NUMBER is null or empty, PaxDetails Message is rejected");
sendErroNotification(EnumExceptionCodes.EMAND,irmtabRef);
return null;
}