コード例 #1
0
 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);
   }
 }
コード例 #2
0
 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;
   }
 }
コード例 #3
0
 public void setComments(int idx, String pVal) {
   WorkOrderDetailData woDD = (WorkOrderDetailData) itemizedService.get(idx);
   if (woDD == null) return;
   woDD.setComments(pVal);
 }
コード例 #4
0
 public String getComments(int idx) {
   WorkOrderDetailData woDD = (WorkOrderDetailData) itemizedService.get(idx);
   if (woDD == null) return "";
   return woDD.getComments();
 }
コード例 #5
0
 public String getShortDescr(int idx) {
   WorkOrderDetailData woDD = (WorkOrderDetailData) itemizedService.get(idx);
   if (woDD == null) return "";
   return woDD.getShortDesc();
 }