@Embeddable public class Power extends java.lang.Object implements java.io.Serializable, Filterable, Unit
UnitsPower
instance. As
also described in the remoting definition (.ice) for Power, 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.コンストラクタと説明 |
---|
Power()
非推奨です。
|
Power(double d,
java.lang.String u) |
Power(double d,
ome.units.unit.Unit<ome.units.quantity.Power> unit) |
Power(double d,
UnitsPower u) |
Power(ome.units.quantity.Power value) |
修飾子とタイプ | メソッドと説明 |
---|---|
boolean |
acceptFilter(Filter filter) |
static ome.units.quantity.Power |
convertPower(Power 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 Power |
convertPower(Power value,
java.lang.String target) |
static Power |
convertPower(Power value,
ome.units.unit.Unit<ome.units.quantity.Power> ul) |
boolean |
equals(java.lang.Object obj) |
UnitsPower |
getUnit()
Many-to-one field ome.model.units.Power.unit (ome.model.enums.UnitsPower).
|
double |
getValue()
value of this unit-field.
|
int |
hashCode() |
static ome.xml.model.enums.UnitsPower |
makePowerUnitXML(java.lang.String unit) |
static ome.units.quantity.Power |
makePowerXML(double d,
java.lang.String unit) |
void |
setUnit(UnitsPower 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 Power()
public Power(double d, java.lang.String u)
public Power(double d, UnitsPower u)
public Power(double d, ome.units.unit.Unit<ome.units.quantity.Power> unit)
public Power(ome.units.quantity.Power value)
public static ome.xml.model.enums.UnitsPower makePowerUnitXML(java.lang.String unit)
public static ome.units.quantity.Power makePowerXML(double d, java.lang.String unit)
public static ome.units.quantity.Power convertPower(Power t)
public static Power convertPower(Power value, ome.units.unit.Unit<ome.units.quantity.Power> ul)
public double getValue()
Power
will be stored in a column "lightSourcepower".public UnitsPower getUnit()
value
for physicalSizeX will be stored as "lightSource.power", the unit enum
will be stored as "lightSource.powerUnit".public void setUnit(UnitsPower unit)
public boolean acceptFilter(Filter filter)
acceptFilter
インタフェース内 Filterable
public int hashCode()
hashCode
クラス内 java.lang.Object
public java.lang.String toString()
toString
クラス内 java.lang.Object
public boolean equals(java.lang.Object obj)
equals
クラス内 java.lang.Object