Package ome.model.acquisition
Class Laser
- java.lang.Object
-
- ome.model.acquisition.LightSource
-
- ome.model.acquisition.Laser
-
- All Implemented Interfaces:
java.io.Serializable
,IAnnotated
,IMutable
,IObject
,Filterable
@Entity @Indexed(index="FullText") @ClassBridge(name="details", impl=DetailsFieldBridge.class, index=UN_TOKENIZED, store=NO) public class Laser extends LightSource implements java.io.Serializable, IObject, IMutable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ome.model.acquisition.LightSource
LightSource.Details
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
EVENT_FILTER
static java.util.Set<java.lang.String>
FIELDS
protected java.lang.Integer
frequencyMultiplication
static java.lang.String
FREQUENCYMULTIPLICATION
static java.lang.String
GROUP_FILTER
protected LaserMedium
laserMedium
static java.lang.String
LASERMEDIUM
static java.lang.String
OWNER_FILTER
static java.lang.String
PERMS_FILTER
protected java.lang.Boolean
pockelCell
static java.lang.String
POCKELCELL
protected Pulse
pulse
static java.lang.String
PULSE
protected LightSource
pump
static java.lang.String
PUMP
protected Frequency
repetitionRate
static java.lang.String
REPETITIONRATE
protected java.lang.Boolean
tuneable
static java.lang.String
TUNEABLE
protected LaserType
type
static java.lang.String
TYPE
protected Length
wavelength
static java.lang.String
WAVELENGTH
-
Fields inherited from class ome.model.acquisition.LightSource
_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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
acceptFilter(Filter __filter)
java.util.Set<java.lang.String>
fields()
returns a Set of field names that belong to this classjava.lang.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)java.lang.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)java.lang.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 fromValidation.isValid()
Laser
newInstance()
Laser
proxy()
void
putAt(java.lang.String field, java.lang.Object value)
stores a value in this instance.java.lang.Object
retrieve(java.lang.String field)
retrieves a value from this instance.void
setFrequencyMultiplication(java.lang.Integer frequencyMultiplication)
void
setLaserMedium(LaserMedium laserMedium)
void
setPockelCell(java.lang.Boolean pockelCell)
void
setPulse(Pulse pulse)
void
setPump(LightSource pump)
void
setRepetitionRate(Frequency repetitionRate)
void
setTuneable(java.lang.Boolean tuneable)
void
setType(LaserType type)
void
setWavelength(Length wavelength)
protected void
throwNullCollectionException(java.lang.String propertyName)
java.lang.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 theValidation
object.-
Methods inherited from class ome.model.acquisition.LightSource
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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface ome.model.IMutable
getVersion, setVersion
-
Methods inherited from interface ome.model.IObject
getDetails, getGraphHolder, getId, isLoaded, setId
-
-
-
-
Field Detail
-
OWNER_FILTER
public static final java.lang.String OWNER_FILTER
- See Also:
- Constant Field Values
-
GROUP_FILTER
public static final java.lang.String GROUP_FILTER
- See Also:
- Constant Field Values
-
EVENT_FILTER
public static final java.lang.String EVENT_FILTER
- See Also:
- Constant Field Values
-
PERMS_FILTER
public static final java.lang.String PERMS_FILTER
- See Also:
- Constant Field Values
-
type
protected LaserType type
-
laserMedium
protected LaserMedium laserMedium
-
frequencyMultiplication
protected java.lang.Integer frequencyMultiplication
-
tuneable
protected java.lang.Boolean tuneable
-
pulse
protected Pulse pulse
-
wavelength
protected Length wavelength
-
pockelCell
protected java.lang.Boolean pockelCell
-
pump
protected LightSource pump
-
repetitionRate
protected Frequency repetitionRate
-
TYPE
public static final java.lang.String TYPE
- See Also:
- Constant Field Values
-
LASERMEDIUM
public static final java.lang.String LASERMEDIUM
- See Also:
- Constant Field Values
-
FREQUENCYMULTIPLICATION
public static final java.lang.String FREQUENCYMULTIPLICATION
- See Also:
- Constant Field Values
-
TUNEABLE
public static final java.lang.String TUNEABLE
- See Also:
- Constant Field Values
-
PULSE
public static final java.lang.String PULSE
- See Also:
- Constant Field Values
-
WAVELENGTH
public static final java.lang.String WAVELENGTH
- See Also:
- Constant Field Values
-
POCKELCELL
public static final java.lang.String POCKELCELL
- See Also:
- Constant Field Values
-
PUMP
public static final java.lang.String PUMP
- See Also:
- Constant Field Values
-
REPETITIONRATE
public static final java.lang.String REPETITIONRATE
- See Also:
- Constant Field Values
-
FIELDS
public static final java.util.Set<java.lang.String> FIELDS
-
-
Constructor Detail
-
Laser
public Laser()
-
Laser
protected Laser(java.lang.Long id)
-
Laser
public Laser(java.lang.Long id, boolean loaded)
Main constructor.
-
Laser
public Laser(LaserType _type, LaserMedium _laserMedium)
-
-
Method Detail
-
getType
public LaserType getType()
Many-to-one field ome.model.acquisition.Laser.type (ome.model.enums.LaserType)
-
setType
public void setType(LaserType type)
-
getLaserMedium
public LaserMedium getLaserMedium()
Many-to-one field ome.model.acquisition.Laser.laserMedium (ome.model.enums.LaserMedium)
-
setLaserMedium
public void setLaserMedium(LaserMedium laserMedium)
-
getFrequencyMultiplication
@Field(index=UN_TOKENIZED) @Field(index=TOKENIZED,analyzer=@Analyzer(impl=ConfiguredAnalyzer.class),name="combined_fields") public java.lang.Integer getFrequencyMultiplication()
Simple field ome.model.acquisition.Laser.frequencyMultiplication (java.lang.Integer)
-
setFrequencyMultiplication
public void setFrequencyMultiplication(java.lang.Integer frequencyMultiplication)
-
getTuneable
public java.lang.Boolean getTuneable()
Simple field ome.model.acquisition.Laser.tuneable (java.lang.Boolean)
-
setTuneable
public void setTuneable(java.lang.Boolean tuneable)
-
getPulse
public Pulse getPulse()
Many-to-one field ome.model.acquisition.Laser.pulse (ome.model.enums.Pulse)
-
setPulse
public void setPulse(Pulse pulse)
-
getWavelength
public Length getWavelength()
Enum-mapped unit-based field ome.model.acquisition.Laser.wavelength (ome.model.units.Length)
-
setWavelength
public void setWavelength(Length wavelength)
-
getPockelCell
public java.lang.Boolean getPockelCell()
Simple field ome.model.acquisition.Laser.pockelCell (java.lang.Boolean)
-
setPockelCell
public void setPockelCell(java.lang.Boolean pockelCell)
-
getPump
public LightSource getPump()
Many-to-one field ome.model.acquisition.Laser.pump (ome.model.acquisition.LightSource)
-
setPump
public void setPump(LightSource pump)
-
getRepetitionRate
public Frequency getRepetitionRate()
Enum-mapped unit-based field ome.model.acquisition.Laser.repetitionRate (ome.model.units.Frequency)
-
setRepetitionRate
public void setRepetitionRate(Frequency repetitionRate)
-
isValid
public boolean isValid()
Description copied from interface:IObject
calls the class-specific validator for this instance and returns the value fromValidation.isValid()
- Specified by:
isValid
in interfaceIObject
- Overrides:
isValid
in classLightSource
-
validate
public Validation validate()
Description copied from interface:IObject
calls the class-specific validator for this instance and returns theValidation
object.- Specified by:
validate
in interfaceIObject
- Overrides:
validate
in classLightSource
- Returns:
- Validation collecting parameter.
-
newInstance
public Laser newInstance()
-
proxy
public Laser proxy()
-
acceptFilter
public boolean acceptFilter(Filter __filter)
- Specified by:
acceptFilter
in interfaceFilterable
- Overrides:
acceptFilter
in classLightSource
-
toString
public java.lang.String toString()
- Overrides:
toString
in classLightSource
-
fields
public java.util.Set<java.lang.String> fields()
Description copied from interface:IObject
returns a Set of field names that belong to this class- Specified by:
fields
in interfaceIObject
- Overrides:
fields
in classLightSource
-
retrieve
public java.lang.Object retrieve(java.lang.String field)
Description copied from interface:IObject
retrieves a value from this instance. Values forfield
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 toIObject.putAt(String, Object)
- Specified by:
retrieve
in interfaceIObject
- Overrides:
retrieve
in classLightSource
-
putAt
public void putAt(java.lang.String field, java.lang.Object value)
Description copied from interface:IObject
stores a value in this instance. Values forfield
which match a field of this instance will be delegated to the accessors. Otherwise, values will be stored in a lazy-loaded map.- Specified by:
putAt
in interfaceIObject
- Overrides:
putAt
in classLightSource
- Parameters:
field
- Field namevalue
- Any object to be stored.
-
unload
public void unload()
Description copied from interface:IObject
set the loaded field to false, and set all non-ID fields to null. Subsequent calls to all accessors other than getId/setId will throw an ApiUsageException- Specified by:
unload
in interfaceIObject
- Overrides:
unload
in classLightSource
-
throwNullCollectionException
protected void throwNullCollectionException(java.lang.String propertyName)
- Overrides:
throwNullCollectionException
in classLightSource
-
-