/** * Adds a ome.model.annotations.FilterAnnotationLink to annotationLinks, allowing for recursion -- whether * or not addFilterAnnotationLink will be called on the addition <b>if it is loaded</b> */ public void addFilterAnnotationLink (ome.model.annotations.FilterAnnotationLink link, boolean bothSides) { if (! _loaded ) errorIfUnloaded(); if ( getAnnotationLinks() == null ) { throwNullCollectionException("AnnotationLinks"); } getAnnotationLinks().add( link ); }
/** * removes the given FilterAnnotationLink from annotationLinks, allowing for recursion -- whether * or not the removal will call unlinkFilter again <b>if loaded</b>. */ public void removeFilterAnnotationLink (ome.model.annotations.FilterAnnotationLink link, boolean bothSides) { if (! _loaded ) errorIfUnloaded(); if ( getAnnotationLinks() == null ) { throwNullCollectionException("AnnotationLinks"); } getAnnotationLinks().remove( link ); }
/** * use like removeFilterAnnotationLink */ public void removeFilterAnnotationLinkSet(java.util.Collection<ome.model.annotations.FilterAnnotationLink> targets ) { if (! _loaded ) errorIfUnloaded(); if (getAnnotationLinks() == null) { throwNullCollectionException("AnnotationLinks"); } getAnnotationLinks().removeAll( targets ); java.util.Iterator<ome.model.annotations.FilterAnnotationLink> it = targets.iterator(); while ( it.hasNext() ) { ome.model.annotations.FilterAnnotationLink target = it.next(); target.setParent ( null ); } }
/** * use like removeFilterSetExcitationFilterLink */ public void removeFilterSetExcitationFilterLinkSet(java.util.Collection<ome.model.acquisition.FilterSetExcitationFilterLink> targets ) { if (! _loaded ) errorIfUnloaded(); if (getExcitationFilterLink() == null) { throwNullCollectionException("ExcitationFilterLink"); } getExcitationFilterLink().removeAll( targets ); java.util.Iterator<ome.model.acquisition.FilterSetExcitationFilterLink> it = targets.iterator(); while ( it.hasNext() ) { ome.model.acquisition.FilterSetExcitationFilterLink target = it.next(); target.setChild ( null ); } }
/** * use like removeFilterSetEmissionFilterLink */ public void removeFilterSetEmissionFilterLinkSet(java.util.Collection<ome.model.acquisition.FilterSetEmissionFilterLink> targets ) { if (! _loaded ) errorIfUnloaded(); if (getEmissionFilterLink() == null) { throwNullCollectionException("EmissionFilterLink"); } getEmissionFilterLink().removeAll( targets ); java.util.Iterator<ome.model.acquisition.FilterSetEmissionFilterLink> it = targets.iterator(); while ( it.hasNext() ) { ome.model.acquisition.FilterSetEmissionFilterLink target = it.next(); target.setChild ( null ); } }
/** * use like addFilterSetEmissionFilterLink. */ public void addFilterSetEmissionFilterLinkSet(java.util.Collection<ome.model.acquisition.FilterSetEmissionFilterLink> targets) { if (! _loaded ) errorIfUnloaded(); if (getEmissionFilterLink() == null) { throwNullCollectionException("EmissionFilterLink"); } getEmissionFilterLink().addAll( targets ); java.util.Iterator<ome.model.acquisition.FilterSetEmissionFilterLink> it = targets.iterator(); while ( it.hasNext() ) { ome.model.acquisition.FilterSetEmissionFilterLink target = it.next(); // If this relationship is not ordered, then we will // "attempt" the setting even if it is loaded. if (target != null) { target.setChild ( this ); } } }
/** * use like addFilterSetExcitationFilterLink. */ public void addFilterSetExcitationFilterLinkSet(java.util.Collection<ome.model.acquisition.FilterSetExcitationFilterLink> targets) { if (! _loaded ) errorIfUnloaded(); if (getExcitationFilterLink() == null) { throwNullCollectionException("ExcitationFilterLink"); } getExcitationFilterLink().addAll( targets ); java.util.Iterator<ome.model.acquisition.FilterSetExcitationFilterLink> it = targets.iterator(); while ( it.hasNext() ) { ome.model.acquisition.FilterSetExcitationFilterLink target = it.next(); // If this relationship is not ordered, then we will // "attempt" the setting even if it is loaded. if (target != null) { target.setChild ( this ); } } }
/** * use like addFilterAnnotationLink. */ public void addFilterAnnotationLinkSet(java.util.Collection<ome.model.annotations.FilterAnnotationLink> targets) { if (! _loaded ) errorIfUnloaded(); if (getAnnotationLinks() == null) { throwNullCollectionException("AnnotationLinks"); } getAnnotationLinks().addAll( targets ); java.util.Iterator<ome.model.annotations.FilterAnnotationLink> it = targets.iterator(); while ( it.hasNext() ) { ome.model.annotations.FilterAnnotationLink target = it.next(); // If this relationship is not ordered, then we will // "attempt" the setting even if it is loaded. if (target != null) { target.setParent ( this ); } } }
/** * removes a single element from this set and makes the inverse call on ome.model.acquisition.FilterSetEmissionFilterLink */ public void removeFilterSetEmissionFilterLink(ome.model.acquisition.FilterSetEmissionFilterLink target) { if (! _loaded ) errorIfUnloaded(); if (getEmissionFilterLink() == null) { throwNullCollectionException("EmissionFilterLink"); } getEmissionFilterLink().remove( target ); target.setChild ( null ); }
/** * removes a single element from this set and makes the inverse call on ome.model.acquisition.FilterSetExcitationFilterLink */ public void removeFilterSetExcitationFilterLink(ome.model.acquisition.FilterSetExcitationFilterLink target) { if (! _loaded ) errorIfUnloaded(); if (getExcitationFilterLink() == null) { throwNullCollectionException("ExcitationFilterLink"); } getExcitationFilterLink().remove( target ); target.setChild ( null ); }
/** * removes a single element from this set and makes the inverse call on ome.model.annotations.FilterAnnotationLink */ public void removeFilterAnnotationLink(ome.model.annotations.FilterAnnotationLink target) { if (! _loaded ) errorIfUnloaded(); if (getAnnotationLinks() == null) { throwNullCollectionException("AnnotationLinks"); } getAnnotationLinks().remove( target ); target.setParent ( null ); }
/** * use instead of setEmissionFilterLink . Makes the necessary * call on ome.model.acquisition.FilterSetEmissionFilterLink as well. */ public void addFilterSetEmissionFilterLink(ome.model.acquisition.FilterSetEmissionFilterLink target) { if (! _loaded ) errorIfUnloaded(); if (getEmissionFilterLink() == null) { throwNullCollectionException("EmissionFilterLink"); } getEmissionFilterLink().add( target ); // If this relationship is not ordered, then we will // "attempt" the setting even if it is loaded. if (target != null) { target.setChild ( this ); } }
/** * use instead of setAnnotationLinks . Makes the necessary * call on ome.model.annotations.FilterAnnotationLink as well. */ public void addFilterAnnotationLink(ome.model.annotations.FilterAnnotationLink target) { if (! _loaded ) errorIfUnloaded(); if (getAnnotationLinks() == null) { throwNullCollectionException("AnnotationLinks"); } getAnnotationLinks().add( target ); // If this relationship is not ordered, then we will // "attempt" the setting even if it is loaded. if (target != null) { target.setParent ( this ); } }
/** * use instead of setExcitationFilterLink . Makes the necessary * call on ome.model.acquisition.FilterSetExcitationFilterLink as well. */ public void addFilterSetExcitationFilterLink(ome.model.acquisition.FilterSetExcitationFilterLink target) { if (! _loaded ) errorIfUnloaded(); if (getExcitationFilterLink() == null) { throwNullCollectionException("ExcitationFilterLink"); } getExcitationFilterLink().add( target ); // If this relationship is not ordered, then we will // "attempt" the setting even if it is loaded. if (target != null) { target.setChild ( this ); } }
/** * Adds a ome.model.acquisition.FilterSetExcitationFilterLink to excitationFilterLink, allowing for recursion -- whether * or not addFilterSetExcitationFilterLink will be called on the addition <b>if it is loaded</b> */ public void addFilterSetExcitationFilterLink (ome.model.acquisition.FilterSetExcitationFilterLink link, boolean bothSides) { if (! _loaded ) errorIfUnloaded(); if ( getExcitationFilterLink() == null ) { throwNullCollectionException("ExcitationFilterLink"); } getExcitationFilterLink().add( link ); if ( bothSides && link.parent().isLoaded() ) { link.parent().addFilterSetExcitationFilterLink( link, false ); } }
/** * removes the given FilterSetEmissionFilterLink from emissionFilterLink, allowing for recursion -- whether * or not the removal will call unlinkFilter again <b>if loaded</b>. */ public void removeFilterSetEmissionFilterLink (ome.model.acquisition.FilterSetEmissionFilterLink link, boolean bothSides) { if (! _loaded ) errorIfUnloaded(); if ( getEmissionFilterLink() == null ) { throwNullCollectionException("EmissionFilterLink"); } getEmissionFilterLink().remove( link ); if ( bothSides && link.parent().isLoaded() ) { link.parent().removeFilterSetEmissionFilterLink( link, false ); } }
/** * removes the given FilterSetExcitationFilterLink from excitationFilterLink, allowing for recursion -- whether * or not the removal will call unlinkFilter again <b>if loaded</b>. */ public void removeFilterSetExcitationFilterLink (ome.model.acquisition.FilterSetExcitationFilterLink link, boolean bothSides) { if (! _loaded ) errorIfUnloaded(); if ( getExcitationFilterLink() == null ) { throwNullCollectionException("ExcitationFilterLink"); } getExcitationFilterLink().remove( link ); if ( bothSides && link.parent().isLoaded() ) { link.parent().removeFilterSetExcitationFilterLink( link, false ); } }
/** * Adds a ome.model.acquisition.FilterSetEmissionFilterLink to emissionFilterLink, allowing for recursion -- whether * or not addFilterSetEmissionFilterLink will be called on the addition <b>if it is loaded</b> */ public void addFilterSetEmissionFilterLink (ome.model.acquisition.FilterSetEmissionFilterLink link, boolean bothSides) { if (! _loaded ) errorIfUnloaded(); if ( getEmissionFilterLink() == null ) { throwNullCollectionException("EmissionFilterLink"); } getEmissionFilterLink().add( link ); if ( bothSides && link.parent().isLoaded() ) { link.parent().addFilterSetEmissionFilterLink( link, false ); } }