Beispiel #1
0
 /**
  * Get the parent for the given ebproc An overall search is involved
  *
  * @param ebProc
  * @return
  */
 public org.ow2.aspirerfid.commons.apdl.model.CLCBProc getParent(
     org.ow2.aspirerfid.commons.apdl.model.EBProc ebProc) {
   for (org.ow2.aspirerfid.commons.apdl.model.CLCBProc clcb : olcbProc.getCLCBProc()) {
     if (clcb.getEBProc().contains(ebProc)) {
       return clcb;
     }
   }
   return null;
 }
Beispiel #2
0
 public boolean removeCLCBProc(org.ow2.aspirerfid.commons.apdl.model.CLCBProc clcb) {
   boolean result = olcbProc.getCLCBProc().remove(clcb);
   saveObject();
   return result;
 }
Beispiel #3
0
 public org.ow2.aspirerfid.commons.apdl.model.CLCBProc createCLCBProc() {
   org.ow2.aspirerfid.commons.apdl.model.CLCBProc clcbProc = objectFactory.createCLCBProc();
   olcbProc.getCLCBProc().add(clcbProc);
   saveObject();
   return clcbProc;
 }