public void setDelete(int idx, String pVal) { WorkOrderDetailData woDD = (WorkOrderDetailData) itemizedService.get(idx); if (woDD == null) return; if (RefCodeNames.STATUS_CD.INACTIVE.equals(pVal)) { woDD.setStatusCd(RefCodeNames.STATUS_CD.INACTIVE); } }
public String getDelete(int idx) { WorkOrderDetailData woDD = (WorkOrderDetailData) itemizedService.get(idx); if (woDD == null) return RefCodeNames.STATUS_CD.ACTIVE; if (RefCodeNames.STATUS_CD.INACTIVE.equals(woDD.getStatusCd())) { return RefCodeNames.STATUS_CD.INACTIVE; } else { return RefCodeNames.STATUS_CD.ACTIVE; } }
public void setComments(int idx, String pVal) { WorkOrderDetailData woDD = (WorkOrderDetailData) itemizedService.get(idx); if (woDD == null) return; woDD.setComments(pVal); }
public String getComments(int idx) { WorkOrderDetailData woDD = (WorkOrderDetailData) itemizedService.get(idx); if (woDD == null) return ""; return woDD.getComments(); }
public String getShortDescr(int idx) { WorkOrderDetailData woDD = (WorkOrderDetailData) itemizedService.get(idx); if (woDD == null) return ""; return woDD.getShortDesc(); }