@Embeddable public class Power extends Object implements 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.| Constructor and Description | 
|---|
| Power()Deprecated.  | 
| Power(double d,
     String u) | 
| Power(double d,
     Unit<Power> unit) | 
| Power(double d,
     UnitsPower u) | 
| Power(Power value) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | acceptFilter(Filter filter) | 
| static 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,
            String target) | 
| static Power | convertPower(Power value,
            Unit<Power> ul) | 
| boolean | equals(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 UnitsPower | makePowerUnitXML(String unit) | 
| static Power | makePowerXML(double d,
            String unit) | 
| void | setUnit(UnitsPower unit) | 
| void | setValue(double value) | 
| String | toString() | 
public static final String VALUE
public static final String UNIT
@Deprecated public Power()
public Power(double d,
             String u)
public Power(double d,
             UnitsPower u)
public Power(Power value)
public static UnitsPower makePowerUnitXML(String unit)
public static Power convertPower(Power t)
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 in interface Filterable
                
                
Version: 5.2.5-ice35-b28
Copyright © 2016 The University of Dundee & Open Microscopy Environment. All Rights Reserved.