Package highfive.serializers
Class IntegerSerializer
- java.lang.Object
-
- highfive.model.Serializer<Integer>
-
- highfive.serializers.IntegerSerializer
-
public class IntegerSerializer extends Serializer<Integer>
-
-
Field Summary
-
Fields inherited from class highfive.model.Serializer
ALL
-
-
Constructor Summary
Constructors Constructor Description IntegerSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetValue()byte[]read(ResultSet rs, int ordinal)voidset(PreparedStatement ps, int ordinal)-
Methods inherited from class highfive.model.Serializer
find, getName
-
-
-
-
Method Detail
-
read
public byte[] read(ResultSet rs, int ordinal) throws SQLException
- Specified by:
readin classSerializer<Integer>- Throws:
SQLException
-
getValue
public Integer getValue()
- Specified by:
getValuein classSerializer<Integer>
-
set
public void set(PreparedStatement ps, int ordinal) throws SQLException
- Specified by:
setin classSerializer<Integer>- Throws:
SQLException
-
-