public DetectorSettings( ome.model.acquisition.Detector _detector ) { this(null, true); setDetector(_detector); }
public ome.model.acquisition.DetectorSettings newInstance() { return new ome.model.acquisition.DetectorSettings(); }
@Override public void setVersion(Integer version) { if (! _loaded ) errorIfUnloaded(); this.version = version; }
return null; } else if (field.equals(ID)) { return getId(); } else if (field.equals(VERSION)) { return getVersion(); } else if (field.equals(VOLTAGE)) { return getVoltage(); } else if (field.equals(GAIN)) { return getGain(); } else if (field.equals(OFFSETVALUE)) { return getOffsetValue(); } else if (field.equals(READOUTRATE)) { return getReadOutRate(); } else if (field.equals(BINNING)) { return getBinning(); } else if (field.equals(INTEGRATION)) { return getIntegration(); } else if (field.equals(ZOOM)) { return getZoom(); } else if (field.equals(DETECTOR)) { return getDetector(); } else if (field.equals(DETAILS)) { return getDetails(); } else { if (_dynamicFields != null) {
return; } else if (field.equals(ID)) { setId((Long) value); } else if (field.equals(VERSION)) { setVersion((Integer) value); } else if (field.equals(VOLTAGE)) { setVoltage((ome.model.units.ElectricPotential)value); } else if (field.equals(GAIN)) { setGain((java.lang.Double)value); } else if (field.equals(OFFSETVALUE)) { setOffsetValue((java.lang.Double)value); } else if (field.equals(READOUTRATE)) { setReadOutRate((ome.model.units.Frequency)value); } else if (field.equals(BINNING)) { setBinning((ome.model.enums.Binning)value); } else if (field.equals(INTEGRATION)) { setIntegration((java.lang.Integer)value); } else if (field.equals(ZOOM)) { setZoom((java.lang.Double)value); } else if (field.equals(DETECTOR)) { setDetector((ome.model.acquisition.Detector)value); } else if (field.equals(DETAILS)) { setDetails((ome.model.internal.Details)value); } else { if (_dynamicFields == null) {
if (compare(s1.getBinning(), s2.getBinning()) && s1.getDetector() == s2.getDetector() && compare(s1.getGain(), s2.getGain()) && compare(s1.getOffsetValue(), s2.getOffsetValue()) && compare(s1.getReadOutRate(), s2.getReadOutRate()) && compare(s1.getVoltage(), s2.getVoltage()))
DetectorSettings obj = (DetectorSettings) s.get( DetectorSettings.class, objId); if (imagesContainsInstrument(s, images, obj.getDetector() .getInstrument(), obToImageCache)) { return true; "select l from LogicalChannel l " + "where l.detectorSettings.id = " + obj.getId()).list(); for (LogicalChannel lc : lcs) { if (doContains(data, LogicalChannel.class, lc.getId())) {
public void setZoom(java.lang.Double zoom) { if (! _loaded ) errorIfUnloaded(); this.zoom = (java.lang.Double) zoom; } protected ome.model.acquisition.Detector detector = null;
/** * Handles linking a specific reference object to a target object in our * object graph. * @param target Target model object. * @param reference Reference model object. */ private void handleReference(DetectorSettings target, Detector reference) { target.setDetector(reference); }
public ome.model.acquisition.DetectorSettings proxy() { return new ome.model.acquisition.DetectorSettings(this.id, false); }
public void setDetector(ome.model.acquisition.Detector detector) { if (! _loaded ) errorIfUnloaded(); this.detector = detector; } protected ome.model.internal.Details details = new Details();
public void setGain(java.lang.Double gain) { if (! _loaded ) errorIfUnloaded(); this.gain = (java.lang.Double) gain; } protected java.lang.Double offsetValue = null;
public void setOffsetValue(java.lang.Double offsetValue) { if (! _loaded ) errorIfUnloaded(); this.offsetValue = (java.lang.Double) offsetValue; } protected ome.model.units.Frequency readOutRate = null;
public void setBinning(ome.model.enums.Binning binning) { if (! _loaded ) errorIfUnloaded(); this.binning = binning; } protected java.lang.Integer integration = null;
/** * 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 setVoltage(ome.model.units.ElectricPotential voltage) { if (! _loaded ) errorIfUnloaded(); this.voltage = voltage; }
public void setReadOutRate(ome.model.units.Frequency readOutRate) { if (! _loaded ) errorIfUnloaded(); this.readOutRate = readOutRate; }
public void setIntegration(java.lang.Integer integration) { if (! _loaded ) errorIfUnloaded(); if (integration != null && integration <= 0) { throw new IllegalArgumentException("values of DetectorSettings.integration must be strictly positive"); } this.integration = (java.lang.Integer) integration; } protected java.lang.Double zoom = null;
/** * 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; }
/** * Simple field ome.model.acquisition.DetectorSettings.offsetValue (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="offsetValue", updatable=true) public java.lang.Double getOffsetValue() { if (! _loaded ) errorIfUnloaded(); return this.offsetValue; }