예제 #1
0
 /**
  * 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);
 }
예제 #2
0
 /**
  * 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);
 }