Mercurial > dive4elements > framework
comparison artifacts/src/main/java/de/intevation/artifacts/Artifact.java @ 81:e9c80fdfee13
Set new identifiers on artifacts after an artifact import.
artifacts/trunk@809 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Fri, 19 Mar 2010 14:57:23 +0000 |
parents | 55eefe63a777 |
children | efe752c4f8b2 |
comparison
equal
deleted
inserted
replaced
80:8447467cef86 | 81:e9c80fdfee13 |
---|---|
36 * @author <a href="mailto:sascha.teichmann@intevation.de">Sascha L. Teichmann</a> | 36 * @author <a href="mailto:sascha.teichmann@intevation.de">Sascha L. Teichmann</a> |
37 */ | 37 */ |
38 public interface Artifact | 38 public interface Artifact |
39 extends Serializable | 39 extends Serializable |
40 { | 40 { |
41 | |
42 /** | |
43 * Set a new identifier for this artifact. | |
44 * @param identifier New identifier for this artifact. | |
45 */ | |
46 public void setIdentifier(String identifier); | |
47 | |
41 /** | 48 /** |
42 * Identify this artifact. | 49 * Identify this artifact. |
43 * @return Returns unique string to identify this artifact globally. | 50 * @return Returns unique string to identify this artifact globally. |
44 */ | 51 */ |
45 String identifier(); | 52 String identifier(); |