comparison artifacts/src/main/java/de/intevation/artifacts/ArtifactCollection.java @ 118:0e0c27bc0b90

Added creation time to collections. artifacts/trunk@1341 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 01 Mar 2011 14:57:50 +0000
parents 2707b7ec273f
children db0d20440b92
comparison
equal deleted inserted replaced
117:4d725248f8d1 118:0e0c27bc0b90
12 12
13 import java.io.IOException; 13 import java.io.IOException;
14 import java.io.OutputStream; 14 import java.io.OutputStream;
15 import java.io.Serializable; 15 import java.io.Serializable;
16 16
17 import java.util.Date;
18
17 public interface ArtifactCollection 19 public interface ArtifactCollection
18 extends Serializable 20 extends Serializable
19 { 21 {
20 /** 22 /**
21 * Set a new identifier for this collection. 23 * Set a new identifier for this collection.
26 /** 28 /**
27 * Identify this collection. 29 * Identify this collection.
28 * @return Returns unique string to identify this collection globally. 30 * @return Returns unique string to identify this collection globally.
29 */ 31 */
30 String identifier(); 32 String identifier();
33
34 Date getCreationTime();
35
36 void setCreationTime(Date creationTime);
31 37
32 /** 38 /**
33 * Set a new owner of this collection. 39 * Set a new owner of this collection.
34 * @param user New owner for this collection. 40 * @param user New owner for this collection.
35 */ 41 */

http://dive4elements.wald.intevation.org