org.xerial.db.datatype
Class IntegerType

java.lang.Object
  extended by org.xerial.db.datatype.DataTypeBase
      extended by org.xerial.db.datatype.IntegerType
All Implemented Interfaces:
Comparable<DataType>, DataType

public class IntegerType
extends DataTypeBase


Constructor Summary
IntegerType(String name)
           
IntegerType(String name, boolean isPrimaryKey, boolean isNotNull)
           
IntegerType(String name, ValueDomain valueDomain)
           
 
Method Summary
 String getTypeName()
          Gets the type name of this data type, e.g., integer, boolean, etc.
static int parseInt(String value)
           
 
Methods inherited from class org.xerial.db.datatype.DataTypeBase
compareTo, equals, getName, isNotNull, isPrimaryKey, setNotNull, setPrimaryKey, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IntegerType

public IntegerType(String name)

IntegerType

public IntegerType(String name,
                   ValueDomain valueDomain)

IntegerType

public IntegerType(String name,
                   boolean isPrimaryKey,
                   boolean isNotNull)
Method Detail

getTypeName

public String getTypeName()
Description copied from interface: DataType
Gets the type name of this data type, e.g., integer, boolean, etc.

Returns:
the type name

parseInt

public static int parseInt(String value)


Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 2.1 Japan License.