Package omero.model
Interface _LengthOperationsNC
-
- All Known Implementing Classes:
_LengthTie
,Length
,LengthI
public interface _LengthOperationsNC
Unit of Length which is used through the model. This is not anIObject
implementation and as such does not have an ID value. Instead, the entire object is embedded into the containing class, so that the value and unit rows can be found on the table itself (e.g. pixels.physicalSizeX and pixels.physicalSizeXUnit).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Length
copy()
java.lang.String
getSymbol()
Returns the possibly unicode representation of the ""unit"" value for display.UnitsLength
getUnit()
UnitsLength
instance which is anIObject
meaning that its ID is sufficient for identifying equality.double
getValue()
Actual value for this unit-based field.void
setUnit(UnitsLength unit)
void
setValue(double value)
-
-
-
Method Detail
-
getValue
double getValue()
Actual value for this unit-based field. The interpretation of the value is only possible along with theUnitsLength
enum.
-
setValue
void setValue(double value)
-
getUnit
UnitsLength getUnit()
UnitsLength
instance which is anIObject
meaning that its ID is sufficient for identifying equality.
-
setUnit
void setUnit(UnitsLength unit)
-
getSymbol
java.lang.String getSymbol()
Returns the possibly unicode representation of the ""unit"" value for display.
-
copy
Length copy()
-
-