@Embeddable public class Frequency extends java.lang.Object implements java.io.Serializable, Filterable, Unit
UnitsFrequency
instance. As
also described in the remoting definition (.ice) for Frequency, this is an
embedded class meaning that the columns here do not appear in their own
table but exist directly on the containing object. Like Details and
Permissions, instances do not contain long identifiers and cannot be
persisted on their own.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
UNIT |
static java.lang.String |
VALUE |
Constructor and Description |
---|
Frequency()
Deprecated.
|
Frequency(double d,
java.lang.String u) |
Frequency(double d,
ome.units.unit.Unit<ome.units.quantity.Frequency> unit) |
Frequency(double d,
UnitsFrequency u) |
Frequency(ome.units.quantity.Frequency value) |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptFilter(Filter filter) |
static ome.units.quantity.Frequency |
convertFrequency(Frequency t)
FIXME: this should likely take a default so that locations which don't
want an exception can have
log.warn("Using new PositiveFloat(1.0)!"
|
static Frequency |
convertFrequency(Frequency value,
java.lang.String target) |
static Frequency |
convertFrequency(Frequency value,
ome.units.unit.Unit<ome.units.quantity.Frequency> ul) |
boolean |
equals(java.lang.Object obj) |
UnitsFrequency |
getUnit()
Many-to-one field ome.model.units.Frequency.unit (ome.model.enums.UnitsFrequency).
|
double |
getValue()
value of this unit-field.
|
int |
hashCode() |
static ome.xml.model.enums.UnitsFrequency |
makeFrequencyUnitXML(java.lang.String unit) |
static ome.units.quantity.Frequency |
makeFrequencyXML(double d,
java.lang.String unit) |
void |
setUnit(UnitsFrequency unit) |
void |
setValue(double value) |
java.lang.String |
toString() |
public static final java.lang.String VALUE
public static final java.lang.String UNIT
@Deprecated public Frequency()
public Frequency(double d, java.lang.String u)
public Frequency(double d, UnitsFrequency u)
public Frequency(double d, ome.units.unit.Unit<ome.units.quantity.Frequency> unit)
public Frequency(ome.units.quantity.Frequency value)
public static ome.xml.model.enums.UnitsFrequency makeFrequencyUnitXML(java.lang.String unit)
public static ome.units.quantity.Frequency makeFrequencyXML(double d, java.lang.String unit)
public static ome.units.quantity.Frequency convertFrequency(Frequency t)
public static Frequency convertFrequency(Frequency value, ome.units.unit.Unit<ome.units.quantity.Frequency> ul)
public double getValue()
Frequency
will be stored in a column "detectorSettingsreadOutRate".public UnitsFrequency getUnit()
value
for physicalSizeX will be stored as "detectorSettings.readOutRate", the unit enum
will be stored as "detectorSettings.readOutRateUnit".public void setUnit(UnitsFrequency unit)
public boolean acceptFilter(Filter filter)
acceptFilter
in interface Filterable
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Version: 5.4.10-ice35-b105
Copyright © 2019 The University of Dundee & Open Microscopy Environment. All Rights Reserved.