public class ElectricPotentialI extends ElectricPotential implements ome.model.ModelBased
ElectricPotential 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 |
__ids, unit, value| Constructor and Description |
|---|
ElectricPotentialI() |
ElectricPotentialI(double d,
ome.units.unit.Unit<ome.units.quantity.ElectricPotential> unit) |
ElectricPotentialI(double d,
UnitsElectricPotential unit) |
ElectricPotentialI(double d,
ome.model.enums.UnitsElectricPotential ul)
Copy constructor that converts the given
ElectricPotential
based on the given ome.model enum |
ElectricPotentialI(ome.units.quantity.ElectricPotential value)
Convert a Bio-Formats
Length to an OMERO Length. |
ElectricPotentialI(ElectricPotential value,
java.lang.String target)
Copy constructor that converts the given
ElectricPotential
based on the given enum string. |
ElectricPotentialI(ElectricPotential value,
ome.units.unit.Unit<ome.units.quantity.ElectricPotential> ul)
Copy constructor that converts the given
ElectricPotential
based on the given ome-xml enum |
ElectricPotentialI(ElectricPotential value,
UnitsElectricPotential target)
Copy constructor that converts between units if possible.
|
| Modifier and Type | Method and Description |
|---|---|
static ome.units.quantity.ElectricPotential |
convert(ElectricPotential 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)!", e); return new
PositiveFloat(1.0);
or similar.
|
ElectricPotential |
copy(Ice.Current ignore) |
void |
copyObject(ome.util.Filterable model,
ome.util.ModelMapper mapper) |
boolean |
equals(java.lang.Object obj) |
ome.util.Filterable |
fillObject(ome.util.ReverseModelMapper mapper) |
java.lang.String |
getSymbol(Ice.Current current)
Returns the possibly unicode representation of the ""unit""
value for display.
|
UnitsElectricPotential |
getUnit(Ice.Current current)
UnitsElectricPotential instance which is an
IObject
meaning that its ID is sufficient for identifying equality. |
double |
getValue(Ice.Current current)
Actual value for this unit-based field.
|
int |
hashCode() |
static java.lang.String |
lookupSymbol(UnitsElectricPotential unit) |
static Ice.ObjectFactory |
makeFactory(client client) |
static ome.units.quantity.ElectricPotential |
makeXMLQuantity(double d,
java.lang.String unit) |
static ome.xml.model.enums.UnitsElectricPotential |
makeXMLUnit(java.lang.String unit) |
void |
setUnit(UnitsElectricPotential unit,
Ice.Current current) |
void |
setValue(double value,
Ice.Current current) |
java.lang.String |
toString() |
___copy, ___getSymbol, ___getUnit, ___getValue, ___setUnit, ___setValue, __dispatch, __readImpl, __writeImpl, clone, copy, getSymbol, getUnit, getValue, ice_id, ice_id, ice_ids, ice_ids, ice_isA, ice_isA, ice_staticId, setUnit, setValuepublic ElectricPotentialI()
public ElectricPotentialI(double d,
UnitsElectricPotential unit)
public ElectricPotentialI(double d,
ome.units.unit.Unit<ome.units.quantity.ElectricPotential> unit)
public ElectricPotentialI(ElectricPotential value, ome.units.unit.Unit<ome.units.quantity.ElectricPotential> ul) throws ome.model.units.BigResult
ElectricPotential
based on the given ome-xml enumome.model.units.BigResultpublic ElectricPotentialI(double d,
ome.model.enums.UnitsElectricPotential ul)
ElectricPotential
based on the given ome.model enumpublic ElectricPotentialI(ElectricPotential value, java.lang.String target) throws ome.model.units.BigResult
ElectricPotential
based on the given enum string.
If either the source or the target unit is null or if no conversion
is possible between the two types (e.g. PIXELS), an
IllegalArgumentException will be thrown. If the conversion
results in an overflow, a BigResult will be thrown, unless
the input value was already Infinite or NaN, in which case that will
be the return value.target - String representation of the CODE enumjava.lang.IllegalArgumentException - if the source or target unit
is null or an unconvertible type (e.g. PIXELS)ome.model.units.BigResult - if the conversion leads to an infinite or NaN resultpublic ElectricPotentialI(ElectricPotential value, UnitsElectricPotential target) throws ome.model.units.BigResult
target - unit that is desired. non-null.ome.model.units.BigResultpublic ElectricPotentialI(ome.units.quantity.ElectricPotential value)
Length to an OMERO Length.public static java.lang.String lookupSymbol(UnitsElectricPotential unit)
public static final Ice.ObjectFactory makeFactory(client client)
public static ome.xml.model.enums.UnitsElectricPotential makeXMLUnit(java.lang.String unit)
public static ome.units.quantity.ElectricPotential makeXMLQuantity(double d,
java.lang.String unit)
public static ome.units.quantity.ElectricPotential convert(ElectricPotential t)
public double getValue(Ice.Current current)
_ElectricPotentialOperationsUnitsElectricPotential enum.getValue in interface _ElectricPotentialOperationscurrent - The Current object for the invocation.public void setValue(double value,
Ice.Current current)
setValue in interface _ElectricPotentialOperationspublic UnitsElectricPotential getUnit(Ice.Current current)
_ElectricPotentialOperationsUnitsElectricPotential instance which is an
IObject
meaning that its ID is sufficient for identifying equality.getUnit in interface _ElectricPotentialOperationscurrent - The Current object for the invocation.public void setUnit(UnitsElectricPotential unit, Ice.Current current)
setUnit in interface _ElectricPotentialOperationspublic java.lang.String getSymbol(Ice.Current current)
_ElectricPotentialOperationsgetSymbol in interface _ElectricPotentialOperationscurrent - The Current object for the invocation.public ElectricPotential copy(Ice.Current ignore)
copy in interface _ElectricPotentialOperationspublic void copyObject(ome.util.Filterable model,
ome.util.ModelMapper mapper)
copyObject in interface ome.model.ModelBasedpublic ome.util.Filterable fillObject(ome.util.ReverseModelMapper mapper)
fillObject in interface ome.model.ModelBasedpublic 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