@Entity @Indexed(index="FullText") @ClassBridge(name="details", impl=DetailsFieldBridge.class, index=UN_TOKENIZED, store=NO) public class Laser extends LightSource implements Serializable, IObject, IMutable
LightSource.Details
Modifier and Type | Field and Description |
---|---|
static String |
EVENT_FILTER |
static Set<String> |
FIELDS |
protected Integer |
frequencyMultiplication |
static String |
FREQUENCYMULTIPLICATION |
static String |
GROUP_FILTER |
protected LaserMedium |
laserMedium |
static String |
LASERMEDIUM |
static String |
OWNER_FILTER |
static String |
PERMS_FILTER |
protected Boolean |
pockelCell |
static String |
POCKELCELL |
protected Pulse |
pulse |
static String |
PULSE |
protected LightSource |
pump |
static String |
PUMP |
protected Frequency |
repetitionRate |
static String |
REPETITIONRATE |
protected Boolean |
tuneable |
static String |
TUNEABLE |
protected LaserType |
type |
static String |
TYPE |
protected Length |
wavelength |
static String |
WAVELENGTH |
_dynamicFields, _loaded, annotationLinks, ANNOTATIONLINKS, ANNOTATIONLINKSCOUNTPEROWNER, details, DETAILS, EVENT_FILTER_ANNOTATIONLINKS, GROUP_FILTER_ANNOTATIONLINKS, id, ID, instrument, INSTRUMENT, lotNumber, LOTNUMBER, manufacturer, MANUFACTURER, model, MODEL, OWNER_FILTER_ANNOTATIONLINKS, PERMS_FILTER_ANNOTATIONLINKS, power, POWER, serialNumber, SERIALNUMBER, version, VERSION
Modifier | Constructor and Description |
---|---|
|
Laser() |
|
Laser(LaserType _type,
LaserMedium _laserMedium) |
protected |
Laser(Long id) |
|
Laser(Long id,
boolean loaded)
Main constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
acceptFilter(Filter __filter) |
Set<String> |
fields()
returns a Set of field names that belong to this class
|
Integer |
getFrequencyMultiplication()
Simple field ome.model.acquisition.Laser.frequencyMultiplication (java.lang.Integer)
|
LaserMedium |
getLaserMedium()
Many-to-one field ome.model.acquisition.Laser.laserMedium (ome.model.enums.LaserMedium)
|
Boolean |
getPockelCell()
Simple field ome.model.acquisition.Laser.pockelCell (java.lang.Boolean)
|
Pulse |
getPulse()
Many-to-one field ome.model.acquisition.Laser.pulse (ome.model.enums.Pulse)
|
LightSource |
getPump()
Many-to-one field ome.model.acquisition.Laser.pump (ome.model.acquisition.LightSource)
|
Frequency |
getRepetitionRate()
Enum-mapped unit-based field ome.model.acquisition.Laser.repetitionRate (ome.model.units.Frequency)
|
Boolean |
getTuneable()
Simple field ome.model.acquisition.Laser.tuneable (java.lang.Boolean)
|
LaserType |
getType()
Many-to-one field ome.model.acquisition.Laser.type (ome.model.enums.LaserType)
|
Length |
getWavelength()
Enum-mapped unit-based field ome.model.acquisition.Laser.wavelength (ome.model.units.Length)
|
boolean |
isValid()
calls the class-specific validator for this instance and returns the
value from
Validation.isValid() |
Laser |
newInstance() |
Laser |
proxy() |
void |
putAt(String field,
Object value)
stores a value in this instance.
|
Object |
retrieve(String field)
retrieves a value from this instance.
|
void |
setFrequencyMultiplication(Integer frequencyMultiplication) |
void |
setLaserMedium(LaserMedium laserMedium) |
void |
setPockelCell(Boolean pockelCell) |
void |
setPulse(Pulse pulse) |
void |
setPump(LightSource pump) |
void |
setRepetitionRate(Frequency repetitionRate) |
void |
setTuneable(Boolean tuneable) |
void |
setType(LaserType type) |
void |
setWavelength(Length wavelength) |
protected void |
throwNullCollectionException(String propertyName) |
String |
toString() |
void |
unload()
set the loaded field to false, and set all non-ID fields to null.
|
Validation |
validate()
calls the class-specific validator for this instance and returns the
Validation object. |
addLightSourceAnnotationLink, addLightSourceAnnotationLink, addLightSourceAnnotationLinkSet, clearAnnotationLinks, collectAnnotationLinks, eachLinkedAnnotation, errorIfUnloaded, findLightSourceAnnotationLink, getAnnotationLinks, getAnnotationLinksCountPerOwner, getDetails, getGraphHolder, getId, getInstrument, getLotNumber, getManufacturer, getModel, getPower, getSerialNumber, getVersion, isLoaded, iterateAnnotationLinks, linkAnnotation, linkedAnnotationIterator, linkedAnnotationList, removeLightSourceAnnotationLink, removeLightSourceAnnotationLink, removeLightSourceAnnotationLinkSet, setAnnotationLinks, setAnnotationLinksCountPerOwner, setDetails, setId, setInstrument, setLotNumber, setManufacturer, setModel, setPower, setSerialNumber, setVersion, sizeOfAnnotationLinks, unlinkAnnotation, unmodifiableAnnotationLinks
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getVersion, setVersion
getDetails, getGraphHolder, getId, isLoaded, setId
public static final String OWNER_FILTER
public static final String GROUP_FILTER
public static final String EVENT_FILTER
public static final String PERMS_FILTER
protected LaserType type
protected LaserMedium laserMedium
protected Integer frequencyMultiplication
protected Boolean tuneable
protected Pulse pulse
protected Length wavelength
protected Boolean pockelCell
protected LightSource pump
protected Frequency repetitionRate
public static final String TYPE
public static final String LASERMEDIUM
public static final String FREQUENCYMULTIPLICATION
public static final String TUNEABLE
public static final String PULSE
public static final String WAVELENGTH
public static final String POCKELCELL
public static final String PUMP
public static final String REPETITIONRATE
public Laser()
protected Laser(Long id)
public Laser(Long id, boolean loaded)
public Laser(LaserType _type, LaserMedium _laserMedium)
public LaserType getType()
public void setType(LaserType type)
public LaserMedium getLaserMedium()
public void setLaserMedium(LaserMedium laserMedium)
@Fields(value={@Field(index=UN_TOKENIZED),@Field(index=UN_TOKENIZED,name="combined_fields")}) public Integer getFrequencyMultiplication()
public void setFrequencyMultiplication(Integer frequencyMultiplication)
public Boolean getTuneable()
public void setTuneable(Boolean tuneable)
public Pulse getPulse()
public void setPulse(Pulse pulse)
public Length getWavelength()
public void setWavelength(Length wavelength)
public Boolean getPockelCell()
public void setPockelCell(Boolean pockelCell)
public LightSource getPump()
public void setPump(LightSource pump)
public Frequency getRepetitionRate()
public void setRepetitionRate(Frequency repetitionRate)
public boolean isValid()
IObject
Validation.isValid()
isValid
in interface IObject
isValid
in class LightSource
public Validation validate()
IObject
Validation
object.validate
in interface IObject
validate
in class LightSource
public Laser newInstance()
public Laser proxy()
public boolean acceptFilter(Filter __filter)
acceptFilter
in interface Filterable
acceptFilter
in class LightSource
public String toString()
toString
in class LightSource
public Set<String> fields()
IObject
fields
in interface IObject
fields
in class LightSource
public Object retrieve(String field)
IObject
field
which match a field of this instance will be delegated to the accessors.
Otherwise, values will be retrieved from a lazy-loaded map filled by
calls to IObject.putAt(String, Object)
retrieve
in interface IObject
retrieve
in class LightSource
public void putAt(String field, Object value)
IObject
field
which
match a field of this instance will be delegated to the accessors.
Otherwise, values will be stored in a lazy-loaded map.putAt
in interface IObject
putAt
in class LightSource
field
- Field namevalue
- Any object to be stored.public void unload()
IObject
unload
in interface IObject
unload
in class LightSource
protected void throwNullCollectionException(String propertyName)
throwNullCollectionException
in class LightSource
Version: 5.1.4-ice35-b55
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.