/** * 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; }
public boolean removeCLCBProc(org.ow2.aspirerfid.commons.apdl.model.CLCBProc clcb) { boolean result = olcbProc.getCLCBProc().remove(clcb); saveObject(); return result; }
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; }