public void setConfirmOnBoard(String confirmOnBoard) { bl.setConfirmOnBoard(confirmOnBoard); if ("Y".equals(confirmOnBoard)) { bl.setConfirmOnBoardDate(cobDate); } else { bl.setConfirmOnBoardDate(""); } }
public String getEtd() { if (bl.getFileNumber().getFileData().getTradeRoute().getEtd() != null) { return DateUtil.formatToString( bl.getFileNumber().getFileData().getTradeRoute().getEtd(), DateUtil.Format.MM_DD_YYYY); } else { // return DateUtil.formatToString(new Date(), DateUtil.Format.MM_DD_YYYY); return ""; } }
public void setEtd(String etd) throws java.text.ParseException { Date date = DateUtil.parseToDate(etd, DateUtil.Format.MM_DD_YYYY); bl.getFileNumber().getFileData().getTradeRoute().setEtd(date); }
public void setSailDate(String sailDate) throws java.text.ParseException { bl.getFileNumber() .getFileData() .getTradeRoute() .setSailDate(DateUtil.parseToDate(sailDate, DateUtil.Format.MM_DD_YYYY)); }
public void setConfirmOnBoardComments(String confirmOnBoardComments) { bl.setConfirmOnBoardComments(confirmOnBoardComments); }
public String getConfirmOnBoardComments() { return bl.getConfirmOnBoardComments(); }
public FclConfirmOnBoardForm() { bl = new FclBlImpl(); bl.setFileNumber(new FclFileNumberImpl()); }
public String getConfirmOnBoard() { return CommonUtil.isNull(bl.getConfirmOnBoard()) ? N : bl.getConfirmOnBoard(); }
public boolean getSendNotificationMail() { return bl.isCobSent(); }
public void setSendNotificationMail(boolean notify) { bl.setCobSent(notify); }
public String getConfirmOnBoardDate() { return bl.getConfirmOnBoardDate(); }
public void setVessel(String vessel) { bl.getFileNumber().getFileData().getTradeRoute().setVessel(vessel); }
public String getVessel() { return bl.getFileNumber().getFileData().getTradeRoute().getVessel(); }
public void setVoyages(String voyages) { bl.getFileNumber().getFileData().getTradeRoute().setVoyage(voyages); }
public String getVoyages() { return bl.getFileNumber().getFileData().getTradeRoute().getVoyage(); }