@Embeddable public class Time extends java.lang.Object implements java.io.Serializable, Filterable, Unit
UnitsTime instance. As
 also described in the remoting definition (.ice) for Time, 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 | 
|---|
Time()
Deprecated.  
 | 
Time(double d,
    java.lang.String u)  | 
Time(double d,
    ome.units.unit.Unit<ome.units.quantity.Time> unit)  | 
Time(double d,
    UnitsTime u)  | 
Time(ome.units.quantity.Time value)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
acceptFilter(Filter filter)  | 
static ome.units.quantity.Time | 
convertTime(Time 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 Time | 
convertTime(Time value,
           java.lang.String target)  | 
static Time | 
convertTime(Time value,
           ome.units.unit.Unit<ome.units.quantity.Time> ul)  | 
boolean | 
equals(java.lang.Object obj)  | 
UnitsTime | 
getUnit()
Many-to-one field ome.model.units.Time.unit (ome.model.enums.UnitsTime). 
 | 
double | 
getValue()
value of this unit-field. 
 | 
int | 
hashCode()  | 
static ome.xml.model.enums.UnitsTime | 
makeTimeUnitXML(java.lang.String unit)  | 
static ome.units.quantity.Time | 
makeTimeXML(double d,
           java.lang.String unit)  | 
void | 
setUnit(UnitsTime 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 Time()
public Time(double d,
            java.lang.String u)
public Time(double d,
            UnitsTime u)
public Time(double d,
            ome.units.unit.Unit<ome.units.quantity.Time> unit)
public Time(ome.units.quantity.Time value)
public static ome.xml.model.enums.UnitsTime makeTimeUnitXML(java.lang.String unit)
public static ome.units.quantity.Time makeTimeXML(double d,
                                                  java.lang.String unit)
public static ome.units.quantity.Time convertTime(Time t)
public static Time convertTime(Time value, ome.units.unit.Unit<ome.units.quantity.Time> ul)
public double getValue()
Time will be stored in a column "planeInfoexposureTime".public UnitsTime getUnit()
value
 for physicalSizeX will be stored as "planeInfo.exposureTime", the unit enum
 will be stored as "planeInfo.exposureTimeUnit".public void setUnit(UnitsTime unit)
public boolean acceptFilter(Filter filter)
acceptFilter in interface Filterablepublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
                
                
Version: 5.4.1-ice35-b75
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.