Package highfive.serializers
Class BooleanSerializer
- java.lang.Object
-
- highfive.model.Serializer<Boolean>
-
- highfive.serializers.BooleanSerializer
-
public class BooleanSerializer extends Serializer<Boolean>
-
-
Field Summary
-
Fields inherited from class highfive.model.Serializer
ALL
-
-
Constructor Summary
Constructors Constructor Description BooleanSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleangetValue()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<Boolean>- Throws:
SQLException
-
getValue
public Boolean getValue()
- Specified by:
getValuein classSerializer<Boolean>
-
set
public void set(PreparedStatement ps, int ordinal) throws SQLException
- Specified by:
setin classSerializer<Boolean>- Throws:
SQLException
-
-