package se.kodapan.osm.sweden.ext.se.posten.postnummer; import com.sleepycat.persist.model.Entity; import com.sleepycat.persist.model.PrimaryKey; /** * @author kalle * @since 2013-01-02 01:22 */ @Entity public class CachedPostalCodeQueryResponse { @PrimaryKey private PostenPostnummerServicePostalCodeQuery query; private PostenPostnummerServiceResponse response; public CachedPostalCodeQueryResponse() { } public CachedPostalCodeQueryResponse(PostenPostnummerServicePostalCodeQuery query, PostenPostnummerServiceResponse response) { this.query = query; this.response = response; } public PostenPostnummerServicePostalCodeQuery getQuery() { return query; } public void setQuery(PostenPostnummerServicePostalCodeQuery query) { this.query = query; } public PostenPostnummerServiceResponse getResponse() { return response; } public void setResponse(PostenPostnummerServiceResponse response) { this.response = response; } }