org.simantics.databoard.type
Class NumberType
java.lang.Object
org.simantics.databoard.type.DataType
org.simantics.databoard.type.NumberType
- Direct Known Subclasses:
- ByteType, DoubleType, FloatType, IntegerType, LongType
public abstract class NumberType
- extends DataType
NumberType is comparable primitive type:
ByteType, IntegerType, DoubleType, LongType or FloatType
Field Summary |
java.lang.String |
unit
Unit string describes the quentity, magnity and unit of the value. |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
unit
public java.lang.String unit
- Unit string describes the quentity, magnity and unit of the value.
- See Also:
Units
NumberType
public NumberType()
getUnit
public java.lang.String getUnit()
- Get the unit type.
Unit string describes the quentity, magnity and unit of the value.
- Returns:
- the unit
- See Also:
Units
setUnit
public void setUnit(java.lang.String unit)
- Set the unit type.
Unit string describes the quentity, magnity and unit of the value.
- Parameters:
unit
- the unit type- See Also:
Units
getRange
public Range getRange()
getRangeStr
public java.lang.String getRangeStr()
setRange
public void setRange(java.lang.String range)
setRange
public void setRange(Range range)