@Embeddable public class ElectricPotential extends Object implements Serializable, Filterable, Unit
UnitsElectricPotential
instance. As
also described in the remoting definition (.ice) for ElectricPotential, 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.Constructor and Description |
---|
ElectricPotential()
Deprecated.
|
ElectricPotential(double d,
String u) |
ElectricPotential(double d,
ome.units.unit.Unit<ome.units.quantity.ElectricPotential> unit) |
ElectricPotential(double d,
UnitsElectricPotential u) |
ElectricPotential(ome.units.quantity.ElectricPotential value) |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptFilter(Filter filter) |
static ome.units.quantity.ElectricPotential |
convertElectricPotential(ElectricPotential 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 ElectricPotential |
convertElectricPotential(ElectricPotential value,
String target) |
static ElectricPotential |
convertElectricPotential(ElectricPotential value,
ome.units.unit.Unit<ome.units.quantity.ElectricPotential> ul) |
boolean |
equals(Object obj) |
UnitsElectricPotential |
getUnit()
Many-to-one field ome.model.units.ElectricPotential.unit (ome.model.enums.UnitsElectricPotential).
|
double |
getValue()
value of this unit-field.
|
int |
hashCode() |
static ome.xml.model.enums.UnitsElectricPotential |
makeElectricPotentialUnitXML(String unit) |
static ome.units.quantity.ElectricPotential |
makeElectricPotentialXML(double d,
String unit) |
void |
setUnit(UnitsElectricPotential unit) |
void |
setValue(double value) |
String |
toString() |
public static final String VALUE
public static final String UNIT
@Deprecated public ElectricPotential()
public ElectricPotential(double d, String u)
public ElectricPotential(double d, UnitsElectricPotential u)
public ElectricPotential(double d, ome.units.unit.Unit<ome.units.quantity.ElectricPotential> unit)
public ElectricPotential(ome.units.quantity.ElectricPotential value)
public static ome.xml.model.enums.UnitsElectricPotential makeElectricPotentialUnitXML(String unit)
public static ome.units.quantity.ElectricPotential makeElectricPotentialXML(double d, String unit)
public static ome.units.quantity.ElectricPotential convertElectricPotential(ElectricPotential t)
public static ElectricPotential convertElectricPotential(ElectricPotential value, ome.units.unit.Unit<ome.units.quantity.ElectricPotential> ul)
public static ElectricPotential convertElectricPotential(ElectricPotential value, String target)
public double getValue()
ElectricPotential
will be stored in a column "detectorSettingsvolatage".public UnitsElectricPotential getUnit()
value
for physicalSizeX will be stored as "detectorSettings.volatage", the unit enum
will be stored as "detectorSettings.volatageUnit".public void setUnit(UnitsElectricPotential unit)
public boolean acceptFilter(Filter filter)
acceptFilter
in interface Filterable
Version: 5.1.4-ice35-b55
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.