/** * use like removeMicrobeamManipulation */ public void removeMicrobeamManipulationSet(java.util.Collection<ome.model.experiment.MicrobeamManipulation> targets ) { if (! _loaded ) errorIfUnloaded(); if (getMicrobeamManipulation() == null) { throwNullCollectionException("MicrobeamManipulation"); } getMicrobeamManipulation().removeAll( targets ); java.util.Iterator<ome.model.experiment.MicrobeamManipulation> it = targets.iterator(); while ( it.hasNext() ) { ome.model.experiment.MicrobeamManipulation target = it.next(); target.setExperiment ( null ); } }
/** * use like addMicrobeamManipulation. */ public void addMicrobeamManipulationSet(java.util.Collection<ome.model.experiment.MicrobeamManipulation> targets) { if (! _loaded ) errorIfUnloaded(); if (getMicrobeamManipulation() == null) { throwNullCollectionException("MicrobeamManipulation"); } getMicrobeamManipulation().addAll( targets ); java.util.Iterator<ome.model.experiment.MicrobeamManipulation> it = targets.iterator(); while ( it.hasNext() ) { ome.model.experiment.MicrobeamManipulation target = it.next(); // If this relationship is not ordered, then we will // "attempt" the setting even if it is loaded. if (target != null) { target.setExperiment ( this ); } } }
/** * removes a single element from this set and makes the inverse call on ome.model.experiment.MicrobeamManipulation */ public void removeMicrobeamManipulation(ome.model.experiment.MicrobeamManipulation target) { if (! _loaded ) errorIfUnloaded(); if (getMicrobeamManipulation() == null) { throwNullCollectionException("MicrobeamManipulation"); } getMicrobeamManipulation().remove( target ); target.setExperiment ( null ); }
/** * clears the set. */ public void clearMicrobeamManipulation() { if (! _loaded ) errorIfUnloaded(); if (getMicrobeamManipulation() == null) { throwNullCollectionException("MicrobeamManipulation"); } getMicrobeamManipulation().clear(); java.util.Iterator<ome.model.experiment.MicrobeamManipulation> it = iterateMicrobeamManipulation(); while (it.hasNext()) { ome.model.experiment.MicrobeamManipulation target = it.next(); target.setExperiment ( null ); } }
/** * use instead of setMicrobeamManipulation . Makes the necessary * call on ome.model.experiment.MicrobeamManipulation as well. */ public void addMicrobeamManipulation(ome.model.experiment.MicrobeamManipulation target) { if (! _loaded ) errorIfUnloaded(); if (getMicrobeamManipulation() == null) { throwNullCollectionException("MicrobeamManipulation"); } getMicrobeamManipulation().add( target ); // If this relationship is not ordered, then we will // "attempt" the setting even if it is loaded. if (target != null) { target.setExperiment ( this ); } }