public void add(BeanCollection<?> collection, EntityBean bean) { help.add(collection, bean, false); }
/** * Add the bean to the appropriate collection on the parent bean. */ @Override public void addBeanToCollectionWithCreate(EntityBean parentBean, EntityBean detailBean, boolean withCheck) { BeanCollection<?> bc = (BeanCollection<?>) super.getValue(parentBean); if (bc == null) { bc = help.createEmpty(parentBean); setValue(parentBean, bc); } help.add(bc, detailBean, withCheck); }
public void add(BeanCollection<?> collection, EntityBean bean) { help.add(collection, bean, false); }
/** * Add the bean to the appropriate collection on the parent bean. */ @Override public void addBeanToCollectionWithCreate(EntityBean parentBean, EntityBean detailBean, boolean withCheck) { BeanCollection<?> bc = (BeanCollection<?>) super.getValue(parentBean); if (bc == null) { bc = help.createEmpty(parentBean); setValue(parentBean, bc); } help.add(bc, detailBean, withCheck); }