Package omero.model

Class Length

  • All Implemented Interfaces:
    Ice.Object, java.io.Serializable, java.lang.Cloneable, _LengthOperations, _LengthOperationsNC
    Direct Known Subclasses:
    _LengthTie, LengthI

    public abstract class Length
    extends Ice.ObjectImpl
    implements _LengthOperations, _LengthOperationsNC
    Unit of Length which is used through the model. This is not an IObject 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).
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String[] __ids  
      static long serialVersionUID  
      protected UnitsLength unit  
      protected double value
      PositiveFloat value
      • Fields inherited from interface Ice.Object

        ice_staticId
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static Ice.DispatchStatus ___copy​(Length __obj, IceInternal.Incoming __inS, Ice.Current __current)  
      static Ice.DispatchStatus ___getSymbol​(Length __obj, IceInternal.Incoming __inS, Ice.Current __current)  
      static Ice.DispatchStatus ___getUnit​(Length __obj, IceInternal.Incoming __inS, Ice.Current __current)  
      static Ice.DispatchStatus ___getValue​(Length __obj, IceInternal.Incoming __inS, Ice.Current __current)  
      static Ice.DispatchStatus ___setUnit​(Length __obj, IceInternal.Incoming __inS, Ice.Current __current)  
      static Ice.DispatchStatus ___setValue​(Length __obj, IceInternal.Incoming __inS, Ice.Current __current)  
      Ice.DispatchStatus __dispatch​(IceInternal.Incoming in, Ice.Current __current)  
      protected void __readImpl​(IceInternal.BasicStream __is)  
      protected void __writeImpl​(IceInternal.BasicStream __os)  
      Length clone()  
      Length copy()  
      java.lang.String getSymbol()
      Returns the possibly unicode representation of the ""unit"" value for display.
      UnitsLength getUnit()
      UnitsLength instance which is an IObject meaning that its ID is sufficient for identifying equality.
      double getValue()
      Actual value for this unit-based field.
      java.lang.String ice_id()  
      java.lang.String ice_id​(Ice.Current __current)  
      java.lang.String[] ice_ids()  
      java.lang.String[] ice_ids​(Ice.Current __current)  
      boolean ice_isA​(java.lang.String s)  
      boolean ice_isA​(java.lang.String s, Ice.Current __current)  
      static java.lang.String ice_staticId()  
      void setUnit​(UnitsLength unit)  
      void setValue​(double value)  
      • Methods inherited from class Ice.ObjectImpl

        ___ice_id, ___ice_ids, ___ice_isA, ___ice_ping, __checkMode, __read, __read, __readImpl, __write, __write, __writeImpl, ice_dispatch, ice_dispatch, ice_operationAttributes, ice_ping, ice_ping, ice_postUnmarshal, ice_preMarshal
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • __ids

        public static final java.lang.String[] __ids
      • value

        protected double value
        PositiveFloat value
    • Constructor Detail

      • Length

        public Length()
      • Length

        public Length​(double value,
                      UnitsLength unit)
    • Method Detail

      • ice_isA

        public boolean ice_isA​(java.lang.String s)
        Specified by:
        ice_isA in interface Ice.Object
        Overrides:
        ice_isA in class Ice.ObjectImpl
      • ice_isA

        public boolean ice_isA​(java.lang.String s,
                               Ice.Current __current)
        Specified by:
        ice_isA in interface Ice.Object
        Overrides:
        ice_isA in class Ice.ObjectImpl
      • ice_ids

        public java.lang.String[] ice_ids()
        Specified by:
        ice_ids in interface Ice.Object
        Overrides:
        ice_ids in class Ice.ObjectImpl
      • ice_ids

        public java.lang.String[] ice_ids​(Ice.Current __current)
        Specified by:
        ice_ids in interface Ice.Object
        Overrides:
        ice_ids in class Ice.ObjectImpl
      • ice_id

        public java.lang.String ice_id()
        Specified by:
        ice_id in interface Ice.Object
        Overrides:
        ice_id in class Ice.ObjectImpl
      • ice_id

        public java.lang.String ice_id​(Ice.Current __current)
        Specified by:
        ice_id in interface Ice.Object
        Overrides:
        ice_id in class Ice.ObjectImpl
      • ice_staticId

        public static java.lang.String ice_staticId()
      • getSymbol

        public final java.lang.String getSymbol()
        Returns the possibly unicode representation of the ""unit"" value for display.
        Specified by:
        getSymbol in interface _LengthOperationsNC
      • getValue

        public final double getValue()
        Actual value for this unit-based field. The interpretation of the value is only possible along with the UnitsLength enum.
        Specified by:
        getValue in interface _LengthOperationsNC
      • ___getValue

        public static Ice.DispatchStatus ___getValue​(Length __obj,
                                                     IceInternal.Incoming __inS,
                                                     Ice.Current __current)
      • ___setValue

        public static Ice.DispatchStatus ___setValue​(Length __obj,
                                                     IceInternal.Incoming __inS,
                                                     Ice.Current __current)
      • ___getUnit

        public static Ice.DispatchStatus ___getUnit​(Length __obj,
                                                    IceInternal.Incoming __inS,
                                                    Ice.Current __current)
      • ___setUnit

        public static Ice.DispatchStatus ___setUnit​(Length __obj,
                                                    IceInternal.Incoming __inS,
                                                    Ice.Current __current)
      • ___getSymbol

        public static Ice.DispatchStatus ___getSymbol​(Length __obj,
                                                      IceInternal.Incoming __inS,
                                                      Ice.Current __current)
      • ___copy

        public static Ice.DispatchStatus ___copy​(Length __obj,
                                                 IceInternal.Incoming __inS,
                                                 Ice.Current __current)
      • __dispatch

        public Ice.DispatchStatus __dispatch​(IceInternal.Incoming in,
                                             Ice.Current __current)
        Specified by:
        __dispatch in interface Ice.Object
        Overrides:
        __dispatch in class Ice.ObjectImpl
      • __writeImpl

        protected void __writeImpl​(IceInternal.BasicStream __os)
        Overrides:
        __writeImpl in class Ice.ObjectImpl
      • __readImpl

        protected void __readImpl​(IceInternal.BasicStream __is)
        Overrides:
        __readImpl in class Ice.ObjectImpl
      • clone

        public Length clone()
        Specified by:
        clone in interface Ice.Object
        Overrides:
        clone in class Ice.ObjectImpl