public class PressureI extends omero.model.Pressure implements ModelBased
Pressure
class.
Like Details
and Permissions
, this object
is embedded into other objects and does not have a full life
cycle of its own.Modifier and Type | Field and Description |
---|---|
static Ice.ObjectFactory |
Factory |
Constructor and Description |
---|
PressureI() |
PressureI(double d,
ome.units.unit.Unit<ome.units.quantity.Pressure> unit) |
PressureI(double d,
omero.model.enums.UnitsPressure unit) |
PressureI(double d,
UnitsPressure ul)
Copy constructor that converts the given
Pressure
based on the given ome.model enum |
PressureI(ome.units.quantity.Pressure value)
Convert a Bio-Formats
Length to an OMERO Length. |
PressureI(omero.model.Pressure value,
java.lang.String target)
Copy constructor that converts the given
Pressure
based on the given enum string. |
PressureI(omero.model.Pressure value,
ome.units.unit.Unit<ome.units.quantity.Pressure> ul)
Copy constructor that converts the given
Pressure
based on the given ome-xml enum |
PressureI(omero.model.Pressure value,
omero.model.enums.UnitsPressure target)
Copy constructor that converts between units if possible.
|
Modifier and Type | Method and Description |
---|---|
static ome.units.quantity.Pressure |
convert(omero.model.Pressure 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)!"
|
omero.model.Pressure |
copy(Ice.Current ignore) |
void |
copyObject(Filterable model,
ModelMapper mapper) |
boolean |
equals(java.lang.Object obj) |
Filterable |
fillObject(ReverseModelMapper mapper) |
java.lang.String |
getSymbol(Ice.Current current) |
omero.model.enums.UnitsPressure |
getUnit(Ice.Current current) |
double |
getValue(Ice.Current current) |
int |
hashCode() |
static java.lang.String |
lookupSymbol(omero.model.enums.UnitsPressure unit) |
static Ice.ObjectFactory |
makeFactory(client client) |
static ome.units.quantity.Pressure |
makeXMLQuantity(double d,
java.lang.String unit) |
static ome.xml.model.enums.UnitsPressure |
makeXMLUnit(java.lang.String unit) |
void |
setUnit(omero.model.enums.UnitsPressure unit,
Ice.Current current) |
void |
setValue(double value,
Ice.Current current) |
java.lang.String |
toString() |
___copy, ___getSymbol, ___getUnit, ___getValue, ___setUnit, ___setValue, __dispatch, __readImpl, __writeImpl, copy, getSymbol, getUnit, getValue, ice_id, ice_id, ice_ids, ice_ids, ice_isA, ice_isA, ice_staticId, setUnit, setValue
public PressureI()
public PressureI(double d, omero.model.enums.UnitsPressure unit)
public PressureI(double d, ome.units.unit.Unit<ome.units.quantity.Pressure> unit)
public PressureI(omero.model.Pressure value, ome.units.unit.Unit<ome.units.quantity.Pressure> ul) throws BigResult
Pressure
based on the given ome-xml enumBigResult
public PressureI(double d, UnitsPressure ul)
Pressure
based on the given ome.model enumpublic PressureI(omero.model.Pressure value, java.lang.String target) throws BigResult
Pressure
based on the given enum string.target
- String representation of the CODE enumBigResult
public PressureI(omero.model.Pressure value, omero.model.enums.UnitsPressure target) throws BigResult
target
- unit that is desired. non-null.BigResult
public PressureI(ome.units.quantity.Pressure value)
Length
to an OMERO Length.public static java.lang.String lookupSymbol(omero.model.enums.UnitsPressure unit)
public static final Ice.ObjectFactory makeFactory(client client)
public static ome.xml.model.enums.UnitsPressure makeXMLUnit(java.lang.String unit)
public static ome.units.quantity.Pressure makeXMLQuantity(double d, java.lang.String unit)
public static ome.units.quantity.Pressure convert(omero.model.Pressure t)
public double getValue(Ice.Current current)
getValue
in interface omero.model._PressureOperations
public void setValue(double value, Ice.Current current)
setValue
in interface omero.model._PressureOperations
public omero.model.enums.UnitsPressure getUnit(Ice.Current current)
getUnit
in interface omero.model._PressureOperations
public void setUnit(omero.model.enums.UnitsPressure unit, Ice.Current current)
setUnit
in interface omero.model._PressureOperations
public java.lang.String getSymbol(Ice.Current current)
getSymbol
in interface omero.model._PressureOperations
public omero.model.Pressure copy(Ice.Current ignore)
copy
in interface omero.model._PressureOperations
public void copyObject(Filterable model, ModelMapper mapper)
copyObject
in interface ModelBased
public Filterable fillObject(ReverseModelMapper mapper)
fillObject
in interface ModelBased
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.