public class TimeI extends omero.model.Time implements ModelBased
Time 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 |
|---|
TimeI() |
TimeI(double d,
ome.units.unit.Unit<ome.units.quantity.Time> unit) |
TimeI(double d,
omero.model.enums.UnitsTime unit) |
TimeI(double d,
UnitsTime ul)
Copy constructor that converts the given
Time
based on the given ome.model enum |
TimeI(ome.units.quantity.Time value)
Convert a Bio-Formats
Length to an OMERO Length. |
TimeI(omero.model.Time value,
String target)
Copy constructor that converts the given
Time
based on the given enum string. |
TimeI(omero.model.Time value,
ome.units.unit.Unit<ome.units.quantity.Time> ul)
Copy constructor that converts the given
Time
based on the given ome-xml enum |
TimeI(omero.model.Time value,
omero.model.enums.UnitsTime target)
Copy constructor that converts between units if possible.
|
| Modifier and Type | Method and Description |
|---|---|
static ome.units.quantity.Time |
convert(omero.model.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)!"
|
omero.model.Time |
copy(Ice.Current ignore) |
void |
copyObject(Filterable model,
ModelMapper mapper) |
boolean |
equals(Object obj) |
Filterable |
fillObject(ReverseModelMapper mapper) |
String |
getSymbol(Ice.Current current) |
omero.model.enums.UnitsTime |
getUnit(Ice.Current current) |
double |
getValue(Ice.Current current) |
int |
hashCode() |
static String |
lookupSymbol(omero.model.enums.UnitsTime unit) |
static Ice.ObjectFactory |
makeFactory(client client) |
static ome.units.quantity.Time |
makeXMLQuantity(double d,
String unit) |
static ome.xml.model.enums.UnitsTime |
makeXMLUnit(String unit) |
void |
setUnit(omero.model.enums.UnitsTime unit,
Ice.Current current) |
void |
setValue(double value,
Ice.Current current) |
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, setValuepublic TimeI()
public TimeI(double d,
omero.model.enums.UnitsTime unit)
public TimeI(double d,
ome.units.unit.Unit<ome.units.quantity.Time> unit)
public TimeI(omero.model.Time value,
ome.units.unit.Unit<ome.units.quantity.Time> ul)
throws BigResult
Time
based on the given ome-xml enumBigResultpublic TimeI(double d,
UnitsTime ul)
Time
based on the given ome.model enumpublic TimeI(omero.model.Time value,
String target)
throws BigResult
Time
based on the given enum string.target - String representation of the CODE enumBigResultpublic TimeI(omero.model.Time value,
omero.model.enums.UnitsTime target)
throws BigResult
target - unit that is desired. non-null.BigResultpublic TimeI(ome.units.quantity.Time value)
Length to an OMERO Length.public static String lookupSymbol(omero.model.enums.UnitsTime unit)
public static final Ice.ObjectFactory makeFactory(client client)
public static ome.xml.model.enums.UnitsTime makeXMLUnit(String unit)
public static ome.units.quantity.Time makeXMLQuantity(double d,
String unit)
public static ome.units.quantity.Time convert(omero.model.Time t)
public double getValue(Ice.Current current)
getValue in interface omero.model._TimeOperationspublic void setValue(double value,
Ice.Current current)
setValue in interface omero.model._TimeOperationspublic omero.model.enums.UnitsTime getUnit(Ice.Current current)
getUnit in interface omero.model._TimeOperationspublic void setUnit(omero.model.enums.UnitsTime unit,
Ice.Current current)
setUnit in interface omero.model._TimeOperationspublic String getSymbol(Ice.Current current)
getSymbol in interface omero.model._TimeOperationspublic omero.model.Time copy(Ice.Current ignore)
copy in interface omero.model._TimeOperationspublic void copyObject(Filterable model, ModelMapper mapper)
copyObject in interface ModelBasedpublic Filterable fillObject(ReverseModelMapper mapper)
fillObject in interface ModelBased
Version: 5.3.3-ice35-b63
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.