/** * Remove a target to the target collection. Birectionnal association : remove the current * Class_01_Many_BI instance to given target parameter. * * @param targetElt Element to remove. */ public void removeTarget(final Class01ManyBIEND targetElt) { this.target.remove(targetElt); targetElt.setSource(null); }
/** * Add a target to the target collection. Birectional association : add the current * Class_01_Many_BI instance to given target parameter. * * @param targetElt Element to add. */ public void addTarget(final Class01ManyBIEND targetElt) { this.target.add(targetElt); targetElt.setSource(this); }