public void setModel(java.lang.String model) { if (! _loaded ) errorIfUnloaded(); this.model = (java.lang.String) model; } protected java.lang.String lotNumber = null;
public void setCalibratedMagnification(java.lang.Double calibratedMagnification) { if (! _loaded ) errorIfUnloaded(); this.calibratedMagnification = (java.lang.Double) calibratedMagnification; } protected java.lang.Double lensNA = null;
public void setLensNA(java.lang.Double lensNA) { if (! _loaded ) errorIfUnloaded(); this.lensNA = (java.lang.Double) lensNA; } protected ome.model.enums.Immersion immersion = null;
public void setCorrection(ome.model.enums.Correction correction) { if (! _loaded ) errorIfUnloaded(); this.correction = correction; } protected ome.model.units.Length workingDistance = null;
public void setManufacturer(java.lang.String manufacturer) { if (! _loaded ) errorIfUnloaded(); this.manufacturer = (java.lang.String) manufacturer; } protected java.lang.String model = null;
public void setLotNumber(java.lang.String lotNumber) { if (! _loaded ) errorIfUnloaded(); this.lotNumber = (java.lang.String) lotNumber; } protected java.lang.String serialNumber = null;
public void setNominalMagnification(java.lang.Double nominalMagnification) { if (! _loaded ) errorIfUnloaded(); this.nominalMagnification = (java.lang.Double) nominalMagnification; } protected java.lang.Double calibratedMagnification = null;
public void setIris(java.lang.Boolean iris) { if (! _loaded ) errorIfUnloaded(); this.iris = (java.lang.Boolean) iris; } protected ome.model.acquisition.Instrument instrument = null;
public void setInstrument(ome.model.acquisition.Instrument instrument) { if (! _loaded ) errorIfUnloaded(); this.instrument = instrument; } protected java.util.Set<ome.model.annotations.ObjectiveAnnotationLink> annotationLinks = new java.util.HashSet<ome.model.annotations.ObjectiveAnnotationLink>();
/** * 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; }
public void setImmersion(ome.model.enums.Immersion immersion) { if (! _loaded ) errorIfUnloaded(); this.immersion = immersion; } protected ome.model.enums.Correction correction = null;
/** * setter for annotationLinks should be avoided. Does not fulfill normal semantics. */ protected void setAnnotationLinks(java.util.Set<ome.model.annotations.ObjectiveAnnotationLink> annotationLinks) { if (! _loaded ) errorIfUnloaded(); this.annotationLinks = annotationLinks; } /**
/** * 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 annotationLinks. If less than zero, the Set was null. */ public int sizeOfAnnotationLinks() { if (! _loaded ) errorIfUnloaded(); return this.annotationLinks == null ? -1 : this.annotationLinks.size(); }
/** * Simple field ome.model.acquisition.Objective.nominalMagnification (java.lang.Double) */ // No @Type annotation @org.hibernate.search.annotations.Fields({ @org.hibernate.search.annotations.Field(index = org.hibernate.search.annotations.Index.UN_TOKENIZED), @org.hibernate.search.annotations.Field(index = org.hibernate.search.annotations.Index.UN_TOKENIZED, name="combined_fields") }) @javax.persistence.Column(columnDefinition="", nullable=true, unique=false, name="nominalMagnification", updatable=true) public java.lang.Double getNominalMagnification() { if (! _loaded ) errorIfUnloaded(); return this.nominalMagnification; }
/** * 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.ObjectiveAnnotationLink> toRemove = findObjectiveAnnotationLink( removal ); java.util.Iterator<ome.model.annotations.ObjectiveAnnotationLink> it = toRemove.iterator(); while ( it.hasNext() ) { removeObjectiveAnnotationLink( it.next(), true ); } }
/** * Many-to-one field ome.model.acquisition.Objective.instrument (ome.model.acquisition.Instrument) */ @javax.persistence.ManyToOne(fetch = javax.persistence.FetchType.LAZY, cascade = {javax.persistence.CascadeType.MERGE, javax.persistence.CascadeType.PERSIST, javax.persistence.CascadeType.REFRESH}, targetEntity = ome.model.acquisition.Instrument.class) @org.hibernate.annotations.Cascade({org.hibernate.annotations.CascadeType.LOCK, org.hibernate.annotations.CascadeType.MERGE, org.hibernate.annotations.CascadeType.PERSIST, org.hibernate.annotations.CascadeType.REPLICATE, org.hibernate.annotations.CascadeType.REFRESH, org.hibernate.annotations.CascadeType.SAVE_UPDATE, org.hibernate.annotations.CascadeType.EVICT}) @javax.persistence.JoinColumn(name="instrument", nullable=false, unique=false, insertable=true, updatable=true) @org.hibernate.annotations.ForeignKey(name="FKobjective_instrument_instrument") public ome.model.acquisition.Instrument getInstrument() { if (! _loaded ) errorIfUnloaded(); return this.instrument; }
/** * Many-to-one field ome.model.acquisition.Objective.immersion (ome.model.enums.Immersion) */ @javax.persistence.ManyToOne(fetch = javax.persistence.FetchType.LAZY, cascade = {javax.persistence.CascadeType.MERGE, javax.persistence.CascadeType.PERSIST, javax.persistence.CascadeType.REFRESH}, targetEntity = ome.model.enums.Immersion.class) @org.hibernate.annotations.Cascade({org.hibernate.annotations.CascadeType.LOCK, org.hibernate.annotations.CascadeType.MERGE, org.hibernate.annotations.CascadeType.PERSIST, org.hibernate.annotations.CascadeType.REPLICATE, org.hibernate.annotations.CascadeType.REFRESH, org.hibernate.annotations.CascadeType.SAVE_UPDATE, org.hibernate.annotations.CascadeType.EVICT}) @javax.persistence.JoinColumn(name="immersion", nullable=false, unique=false, insertable=true, updatable=true) @org.hibernate.annotations.ForeignKey(name="FKobjective_immersion_immersion") public ome.model.enums.Immersion getImmersion() { if (! _loaded ) errorIfUnloaded(); return this.immersion; }
/** * Returns an unmodifiable collection-view */ public java.util.Collection<ome.model.annotations.ObjectiveAnnotationLink> unmodifiableAnnotationLinks() { if (! _loaded ) errorIfUnloaded(); if ( getAnnotationLinks() == null ) { return java.util.Collections.emptyList(); } return java.util.Collections.unmodifiableCollection( getAnnotationLinks() ); }
/** * removes a single element from this set and makes the inverse call on ome.model.annotations.ObjectiveAnnotationLink */ public void removeObjectiveAnnotationLink(ome.model.annotations.ObjectiveAnnotationLink target) { if (! _loaded ) errorIfUnloaded(); if (getAnnotationLinks() == null) { throwNullCollectionException("AnnotationLinks"); } getAnnotationLinks().remove( target ); target.setParent ( null ); }