org.simantics.databoard.type
Class ByteType

java.lang.Object
  extended by org.simantics.databoard.type.Datatype
      extended by org.simantics.databoard.type.NumberType
          extended by org.simantics.databoard.type.ByteType

public class ByteType
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
unit
 
Constructor Summary
ByteType()
           
ByteType(java.lang.String unit)
           
ByteType(java.lang.String unit, Range range)
           
ByteType(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()
           
 byte maxValue()
           
 byte 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, toSingleLineString, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ByteType

public ByteType()

ByteType

public ByteType(java.lang.String unit)

ByteType

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

ByteType

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

minValue

public byte minValue()

maxValue

public byte 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