public class LightSourceData extends DataObject
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ARC
Indicates that the light source is a
arc . |
static java.lang.String |
FILAMENT
Indicates that the light source is a
filament . |
static java.lang.String |
LASER
Indicates that the light source is a
laser . |
static java.lang.String |
LIGHT_EMITTING_DIODE
Indicates that the light source is a
light emitting diode . |
Constructor and Description |
---|
LightSourceData(omero.model.LightSource source)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getKind()
Returns the kind of light source.
|
int |
getLaserFrequencyMultiplication()
Returns the frequency multiplication of the laser.
|
java.lang.String |
getLaserMedium()
Returns the laser's medium.
|
java.lang.Object |
getLaserPockelCell()
Returns the pockel cell flag of the laser.
|
java.lang.String |
getLaserPulse()
Returns the pulse of the laser.
|
LightSourceData |
getLaserPump()
Returns the pump.
|
omero.model.Frequency |
getLaserRepetitionRate(omero.model.enums.UnitsFrequency unit)
Returns the repetition rate (Hz) if the laser is repetitive.
|
java.lang.Object |
getLaserTuneable()
Returns the value of the
tuneable field or null
if no value set. |
omero.model.Length |
getLaserWavelength(omero.model.enums.UnitsLength unit)
Returns the laser's wavelength.
|
java.lang.String |
getLightSourceModel()
Returns the model of the light source.
|
java.lang.String |
getLotNumber()
Returns the lot of number the light source.
|
java.lang.String |
getManufacturer()
Returns the manufacturer of the light source.
|
omero.model.Power |
getPower(omero.model.enums.UnitsPower unit)
Returns the power of the light source.
|
java.lang.String |
getSerialNumber()
Returns the serial number of the light source.
|
java.lang.String |
getType()
Returns the type of light.
|
boolean |
hasPump()
Returns
true if the light source is a laser with a pump,
false otherwise. |
asAnnotation, asChannel, asDataset, asExperimenter, asFolder, asGroup, asIAnnotated, asImage, asIObject, asPixels, asPlaneInfo, asPlate, asPojo, asPojos, asPojos, asProject, asScreen, asWell, asWellSample, canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, getCreated, getDetails, getGroupId, getId, getOwner, getPermissions, getUpdated, getVersion, isDirty, isLoaded, nullDetails, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, setDirty, setId, setValue, setVersion, timeOfEvent, toString
public static final java.lang.String LASER
laser
.public static final java.lang.String FILAMENT
filament
.public static final java.lang.String ARC
arc
.public static final java.lang.String LIGHT_EMITTING_DIODE
light emitting diode
.public LightSourceData(omero.model.LightSource source)
source
- The light source. Mustn't be null
.public java.lang.String getSerialNumber()
public java.lang.String getLotNumber()
public java.lang.String getManufacturer()
public java.lang.String getLightSourceModel()
public omero.model.Power getPower(omero.model.enums.UnitsPower unit) throws ome.model.units.BigResult
unit
- The unit (may be null, in which case no conversion will be
performed)ome.model.units.BigResult
- If an arithmetic under-/overflow occurredpublic java.lang.String getType()
public java.lang.String getLaserMedium()
public omero.model.Length getLaserWavelength(omero.model.enums.UnitsLength unit) throws ome.model.units.BigResult
unit
- The unit (may be null, in which case no conversion will be
performed)ome.model.units.BigResult
- If an arithmetic under-/overflow occurredpublic java.lang.Object getLaserTuneable()
tuneable
field or null
if no value set.public java.lang.String getKind()
public boolean hasPump()
true
if the light source is a laser with a pump,
false
otherwise.public int getLaserFrequencyMultiplication()
public java.lang.String getLaserPulse()
public java.lang.Object getLaserPockelCell()
public omero.model.Frequency getLaserRepetitionRate(omero.model.enums.UnitsFrequency unit) throws ome.model.units.BigResult
unit
- The unit (may be null, in which case no conversion will be
performed)ome.model.units.BigResult
- If an arithmetic under-/overflow occurredpublic LightSourceData getLaserPump()