com.dieselpoint.norm.serialize.DbSerializable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of norm Show documentation
Show all versions of norm Show documentation
An extremely lightweight data access layer over JDBC
package com.dieselpoint.norm.serialize;
/**
* Serializes a class to and from a string.
* Implementations must have a zero-arg constructor and must
* be thread-safe.
*/
public interface DbSerializable {
public String serialize(Object in);
public Object deserialize(String in, Class> targetClass);
}