Package omero.model
Class Power
- java.lang.Object
-
- Ice.ObjectImpl
-
- omero.model.Power
-
- All Implemented Interfaces:
Ice.Object,java.io.Serializable,java.lang.Cloneable,_PowerOperations,_PowerOperationsNC
public abstract class Power extends Ice.ObjectImpl implements _PowerOperations, _PowerOperationsNC
Unit of Power which is used through the model. This is not anIObjectimplementation 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. lightSource.power and lightSource.powerUnit).- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String[]__idsstatic longserialVersionUIDprotected UnitsPowerunitprotected doublevaluePositiveFloat value
-
Constructor Summary
Constructors Constructor Description Power()Power(double value, UnitsPower unit)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Ice.DispatchStatus___copy(Power __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___getSymbol(Power __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___getUnit(Power __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___getValue(Power __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___setUnit(Power __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___setValue(Power __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)Powerclone()Powercopy()java.lang.StringgetSymbol()Returns the possibly unicode representation of the ""unit"" value for display.UnitsPowergetUnit()UnitsPowerinstance which is anIObjectmeaning that its ID is sufficient for identifying equality.doublegetValue()Actual value for this unit-based field.java.lang.Stringice_id()java.lang.Stringice_id(Ice.Current __current)java.lang.String[]ice_ids()java.lang.String[]ice_ids(Ice.Current __current)booleanice_isA(java.lang.String s)booleanice_isA(java.lang.String s, Ice.Current __current)static java.lang.Stringice_staticId()voidsetUnit(UnitsPower unit)voidsetValue(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
-
-
-
-
Field Detail
-
__ids
public static final java.lang.String[] __ids
-
value
protected double value
PositiveFloat value
-
unit
protected UnitsPower unit
-
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Power
public Power()
-
Power
public Power(double value, UnitsPower unit)
-
-
Method Detail
-
ice_isA
public boolean ice_isA(java.lang.String s)
- Specified by:
ice_isAin interfaceIce.Object- Overrides:
ice_isAin classIce.ObjectImpl
-
ice_isA
public boolean ice_isA(java.lang.String s, Ice.Current __current)- Specified by:
ice_isAin interfaceIce.Object- Overrides:
ice_isAin classIce.ObjectImpl
-
ice_ids
public java.lang.String[] ice_ids()
- Specified by:
ice_idsin interfaceIce.Object- Overrides:
ice_idsin classIce.ObjectImpl
-
ice_ids
public java.lang.String[] ice_ids(Ice.Current __current)
- Specified by:
ice_idsin interfaceIce.Object- Overrides:
ice_idsin classIce.ObjectImpl
-
ice_id
public java.lang.String ice_id()
- Specified by:
ice_idin interfaceIce.Object- Overrides:
ice_idin classIce.ObjectImpl
-
ice_id
public java.lang.String ice_id(Ice.Current __current)
- Specified by:
ice_idin interfaceIce.Object- Overrides:
ice_idin classIce.ObjectImpl
-
ice_staticId
public static java.lang.String ice_staticId()
-
copy
public final Power copy()
- Specified by:
copyin interface_PowerOperationsNC
-
getSymbol
public final java.lang.String getSymbol()
Returns the possibly unicode representation of the ""unit"" value for display.- Specified by:
getSymbolin interface_PowerOperationsNC
-
getUnit
public final UnitsPower getUnit()
UnitsPowerinstance which is anIObjectmeaning that its ID is sufficient for identifying equality.- Specified by:
getUnitin interface_PowerOperationsNC
-
getValue
public final double getValue()
Actual value for this unit-based field. The interpretation of the value is only possible along with theUnitsPowerenum.- Specified by:
getValuein interface_PowerOperationsNC
-
setUnit
public final void setUnit(UnitsPower unit)
- Specified by:
setUnitin interface_PowerOperationsNC
-
setValue
public final void setValue(double value)
- Specified by:
setValuein interface_PowerOperationsNC
-
___getValue
public static Ice.DispatchStatus ___getValue(Power __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___setValue
public static Ice.DispatchStatus ___setValue(Power __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getUnit
public static Ice.DispatchStatus ___getUnit(Power __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___setUnit
public static Ice.DispatchStatus ___setUnit(Power __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getSymbol
public static Ice.DispatchStatus ___getSymbol(Power __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___copy
public static Ice.DispatchStatus ___copy(Power __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
__dispatch
public Ice.DispatchStatus __dispatch(IceInternal.Incoming in, Ice.Current __current)- Specified by:
__dispatchin interfaceIce.Object- Overrides:
__dispatchin classIce.ObjectImpl
-
__writeImpl
protected void __writeImpl(IceInternal.BasicStream __os)
- Overrides:
__writeImplin classIce.ObjectImpl
-
__readImpl
protected void __readImpl(IceInternal.BasicStream __is)
- Overrides:
__readImplin classIce.ObjectImpl
-
clone
public Power clone()
- Specified by:
clonein interfaceIce.Object- Overrides:
clonein classIce.ObjectImpl
-
-