Mercurial > dive4elements > framework
comparison artifacts/src/main/java/de/intevation/artifacts/ArtifactSerializer.java @ 41:5e4bc24ea438
Made serilization more flexible. DB update required!!!
Fixed problem with touching artifacts in database.
artifacts/trunk@119 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Wed, 23 Sep 2009 16:55:12 +0000 |
parents | |
children | 48d1a9a082c2 |
comparison
equal
deleted
inserted
replaced
40:af22d4de275c | 41:5e4bc24ea438 |
---|---|
1 package de.intevation.artifacts; | |
2 | |
3 /** | |
4 * Interface to make artifact persistent. | |
5 * | |
6 * @author Sascha L. Teichmann (sascha.teichmann@intevation.de) | |
7 */ | |
8 public interface ArtifactSerializer | |
9 { | |
10 Artifact fromBytes(byte [] bytes); | |
11 byte [] toBytes(Artifact artifact); | |
12 } | |
13 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8: |