public class IntLongType extends Object implements Convertible<Integer,Long>
Java Integer
to JDBC BIGINT
.Constructor and Description |
---|
IntLongType() |
IntLongType(String pattern) |
Modifier and Type | Method and Description |
---|---|
ColumnType |
getColumnType() |
Class<Integer> |
getType() |
Integer |
toAttribute(Long jdbc)
Convert the jdbc value to attribute format or type
|
Long |
toJdbc(Integer attribute)
Convert attribute to jdbc format or type
|
String |
toString() |
public IntLongType()
public IntLongType(String pattern)
public Long toJdbc(Integer attribute)
Convertible
toJdbc
in interface Convertible<Integer,Long>
attribute
- the value of to be convertedpublic Integer toAttribute(Long jdbc)
Convertible
toAttribute
in interface Convertible<Integer,Long>
jdbc
- the value stored at databasepublic Class<Integer> getType()
getType
in interface Convertible<Integer,Long>
public ColumnType getColumnType()
getColumnType
in interface Convertible<Integer,Long>
Copyright © 2012–2020 jkniv, copyleft code. All rights reserved.