org.simantics.databoard.type
Class LongType

java.lang.Object
  extended by org.simantics.databoard.type.Datatype
      extended by org.simantics.databoard.type.NumberType
          extended by org.simantics.databoard.type.LongType
All Implemented Interfaces:
java.lang.Cloneable

public class LongType
extends NumberType


Nested Class Summary
 
Nested classes/interfaces inherited from class org.simantics.databoard.type.Datatype
Datatype.Visitor<T>, Datatype.Visitor1
 
Field Summary
 
Fields inherited from class org.simantics.databoard.type.NumberType
KEY_RANGE, KEY_UNIT
 
Fields inherited from class org.simantics.databoard.type.Datatype
metadata
 
Constructor Summary
LongType()
           
LongType(java.lang.String unit)
           
LongType(java.lang.String unit, Range range)
           
LongType(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()
           
 long maxValue()
           
 long minValue()
           
 
Methods inherited from class org.simantics.databoard.type.NumberType
getComponentCount, getComponentType, getComponentType, getRange, getRangeStr, getUnit, setRange, setRange, setUnit
 
Methods inherited from class org.simantics.databoard.type.Datatype
equals, metadataHashCode, toSingleLineString, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LongType

public LongType()

LongType

public LongType(java.lang.String unit)

LongType

public LongType(java.lang.String unit,
                Range range)

LongType

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

minValue

public long minValue()

maxValue

public long maxValue()

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

hashCode

public int hashCode()
Overrides:
hashCode in class Datatype