public void setLdap(java.lang.Boolean ldap) { if (! _loaded ) errorIfUnloaded(); this.ldap = (java.lang.Boolean) ldap; } protected java.util.Set<ome.model.meta.GroupExperimenterMap> groupExperimenterMap = new java.util.HashSet<ome.model.meta.GroupExperimenterMap>();
/** * setter for groupExperimenterMap should be avoided. Does not fulfill normal semantics. */ protected void setGroupExperimenterMap(java.util.Set<ome.model.meta.GroupExperimenterMap> groupExperimenterMap) { if (! _loaded ) errorIfUnloaded(); this.groupExperimenterMap = groupExperimenterMap; } /**
public void setDescription(java.lang.String description) { if (! _loaded ) errorIfUnloaded(); this.description = (java.lang.String) description; } protected ome.model.internal.Details details = new Details();
public void setName(java.lang.String name) { if (! _loaded ) errorIfUnloaded(); this.name = (java.lang.String) name; } protected java.lang.Boolean ldap = null;
/** * setter for annotationLinks should be avoided. Does not fulfill normal semantics. */ protected void setAnnotationLinks(java.util.Set<ome.model.annotations.ExperimenterGroupAnnotationLink> annotationLinks) { if (! _loaded ) errorIfUnloaded(); this.annotationLinks = annotationLinks; } /**
/** * Use the {@link ome.model.internal.Details#copy(ome.model.internal.Details)} * or {@link ome.model.internal.Details#shallowCopy(ome.model.internal.Details)} * methods to set the {@link Details} instance instead. */ protected void setDetails(ome.model.internal.Details details) { if (! _loaded ) errorIfUnloaded(); this.details = (Details) details; }
/** * This version number is controlled by the database for optimisitic * locking. */ @javax.persistence.Column(name="version") // @javax.persistence.Version //TODO mark off #118 if this succeeds, otherwise, completely remove versions and test updateEvent @Override public Integer getVersion() { if (! _loaded ) errorIfUnloaded(); return this.version; }
/** * returns the size of groupExperimenterMap. If less than zero, the Set was null. */ public int sizeOfGroupExperimenterMap() { if (! _loaded ) errorIfUnloaded(); return this.groupExperimenterMap == null ? -1 : this.groupExperimenterMap.size(); }
/** * Simple field ome.model.meta.ExperimenterGroup.ldap (java.lang.Boolean) */ // No @Type annotation // Not indexed @javax.persistence.Column(columnDefinition="", nullable=false, unique=false, name="ldap", updatable=true) public java.lang.Boolean getLdap() { if (! _loaded ) errorIfUnloaded(); return this.ldap; }
/** * returns the size of annotationLinks. If less than zero, the Set was null. */ public int sizeOfAnnotationLinks() { if (! _loaded ) errorIfUnloaded(); return this.annotationLinks == null ? -1 : this.annotationLinks.size(); }
/** * Returns an unmodifiable collection-view */ public java.util.Collection<ome.model.annotations.ExperimenterGroupAnnotationLink> unmodifiableAnnotationLinks() { if (! _loaded ) errorIfUnloaded(); if ( getAnnotationLinks() == null ) { return java.util.Collections.emptyList(); } return java.util.Collections.unmodifiableCollection( getAnnotationLinks() ); }
/** * unlinks all ome.model.annotations.Annotation instances from this instance. */ public void unlinkAnnotation (ome.model.annotations.Annotation removal) { if (! _loaded ) errorIfUnloaded(); java.util.Set<ome.model.annotations.ExperimenterGroupAnnotationLink> toRemove = findExperimenterGroupAnnotationLink( removal ); java.util.Iterator<ome.model.annotations.ExperimenterGroupAnnotationLink> it = toRemove.iterator(); while ( it.hasNext() ) { removeExperimenterGroupAnnotationLink( it.next(), true ); } }
/** * unlinks all ome.model.meta.Experimenter instances from this instance. */ public void unlinkExperimenter (ome.model.meta.Experimenter removal) { if (! _loaded ) errorIfUnloaded(); java.util.Set<ome.model.meta.GroupExperimenterMap> toRemove = findGroupExperimenterMap( removal ); java.util.Iterator<ome.model.meta.GroupExperimenterMap> it = toRemove.iterator(); while ( it.hasNext() ) { removeGroupExperimenterMap( it.next(), true ); } }
/** * Returns an unmodifiable collection-view */ public java.util.Collection<ome.model.meta.GroupExperimenterMap> unmodifiableGroupExperimenterMap() { if (! _loaded ) errorIfUnloaded(); if ( getGroupExperimenterMap() == null ) { return java.util.Collections.emptyList(); } return java.util.Collections.unmodifiableCollection( getGroupExperimenterMap() ); }
/** * clears the set. */ public void clearExperimenterLinks() { if (! _loaded ) errorIfUnloaded(); java.util.List<ome.model.meta.GroupExperimenterMap> list = new java.util.ArrayList<ome.model.meta.GroupExperimenterMap>( getGroupExperimenterMap() ); for (ome.model.meta.GroupExperimenterMap link : list) { removeGroupExperimenterMap( link, true ); } }
/** * clears the set. */ public void clearAnnotationLinks() { if (! _loaded ) errorIfUnloaded(); java.util.List<ome.model.annotations.ExperimenterGroupAnnotationLink> list = new java.util.ArrayList<ome.model.annotations.ExperimenterGroupAnnotationLink>( getAnnotationLinks() ); for (ome.model.annotations.ExperimenterGroupAnnotationLink link : list) { removeExperimenterGroupAnnotationLink( link, true ); } }
/** * Adds a ome.model.annotations.ExperimenterGroupAnnotationLink to annotationLinks, allowing for recursion -- whether * or not addExperimenterGroupAnnotationLink will be called on the addition <b>if it is loaded</b> */ public void addExperimenterGroupAnnotationLink (ome.model.annotations.ExperimenterGroupAnnotationLink link, boolean bothSides) { if (! _loaded ) errorIfUnloaded(); if ( getAnnotationLinks() == null ) { throwNullCollectionException("AnnotationLinks"); } getAnnotationLinks().add( link ); }
/** * removes the given ExperimenterGroupAnnotationLink from annotationLinks, allowing for recursion -- whether * or not the removal will call unlinkExperimenterGroup again <b>if loaded</b>. */ public void removeExperimenterGroupAnnotationLink (ome.model.annotations.ExperimenterGroupAnnotationLink link, boolean bothSides) { if (! _loaded ) errorIfUnloaded(); if ( getAnnotationLinks() == null ) { throwNullCollectionException("AnnotationLinks"); } getAnnotationLinks().remove( link ); }
/** * removes a single element from this set and makes the inverse call on ome.model.meta.GroupExperimenterMap */ public void removeGroupExperimenterMap(ome.model.meta.GroupExperimenterMap target) { if (! _loaded ) errorIfUnloaded(); if (getGroupExperimenterMap() == null) { throwNullCollectionException("GroupExperimenterMap"); } getGroupExperimenterMap().remove( target ); target.setParent ( null ); }
/** * removes a single element from this set and makes the inverse call on ome.model.annotations.ExperimenterGroupAnnotationLink */ public void removeExperimenterGroupAnnotationLink(ome.model.annotations.ExperimenterGroupAnnotationLink target) { if (! _loaded ) errorIfUnloaded(); if (getAnnotationLinks() == null) { throwNullCollectionException("AnnotationLinks"); } getAnnotationLinks().remove( target ); target.setParent ( null ); }