org.simantics.databoard.type
Class IntegerType

java.lang.Object
  extended by org.simantics.databoard.type.DataType
      extended by org.simantics.databoard.type.NumberType
          extended by org.simantics.databoard.type.IntegerType

public class IntegerType
extends NumberType


Nested Class Summary
 
Nested classes/interfaces inherited from class org.simantics.databoard.type.DataType
DataType.Visitor<T>, DataType.Visitor1
 
Field Summary
static IntegerType INSTANCE
           
 
Fields inherited from class org.simantics.databoard.type.NumberType
unit
 
Constructor Summary
IntegerType()
           
IntegerType(java.lang.String unit)
           
IntegerType(java.lang.String unit, Range range)
           
IntegerType(java.lang.String unit, java.lang.String range)
           
 
Method Summary
<T> T
accept(DataType.Visitor<T> v)
           
 void accept(DataType.Visitor1 v, java.lang.Object obj)
           
 int hashCode()
           
 int maxValue()
           
 int minValue()
           
 
Methods inherited from class org.simantics.databoard.type.NumberType
getRange, getRangeStr, getUnit, setRange, setRange, setUnit
 
Methods inherited from class org.simantics.databoard.type.DataType
equals, toSingleLineString, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

INSTANCE

public static final IntegerType INSTANCE
Constructor Detail

IntegerType

public IntegerType()

IntegerType

public IntegerType(java.lang.String unit)

IntegerType

public IntegerType(java.lang.String unit,
                   java.lang.String range)

IntegerType

public IntegerType(java.lang.String unit,
                   Range range)
Method Detail

minValue

public int minValue()

maxValue

public int maxValue()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

accept

public void accept(DataType.Visitor1 v,
                   java.lang.Object obj)
Specified by:
accept in class DataType

accept

public <T> T accept(DataType.Visitor<T> v)
Specified by:
accept in class DataType