Mercurial > dive4elements > framework
comparison artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactCollection.java @ 338:ec5c7e54cae1
Cosmetics (and fix for XMLUtils.toString(Element)).
artifacts/trunk@2913 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Mon, 10 Oct 2011 07:37:06 +0000 |
parents | 942a54670a72 |
children | f367be55dd35 |
comparison
equal
deleted
inserted
replaced
337:6d239c58c636 | 338:ec5c7e54cae1 |
---|---|
34 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | 34 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> |
35 */ | 35 */ |
36 public class DefaultArtifactCollection | 36 public class DefaultArtifactCollection |
37 implements ArtifactCollection | 37 implements ArtifactCollection |
38 { | 38 { |
39 /** The logger used in this class.*/ | 39 /** The logger used in this class. */ |
40 private static Logger logger = | 40 private static Logger logger = |
41 Logger.getLogger(DefaultArtifactCollection.class); | 41 Logger.getLogger(DefaultArtifactCollection.class); |
42 | 42 |
43 /** | 43 /** The identifier of the collection. */ |
44 * The identifier of the collection. | |
45 */ | |
46 protected String identifier; | 44 protected String identifier; |
47 | 45 |
48 /** | 46 /** The identifier of the collection. */ |
49 * The identifier of the collection. | |
50 */ | |
51 protected String name; | 47 protected String name; |
52 | 48 |
53 /** | 49 /** The owner of this collection. */ |
54 * The owner of this collection. | |
55 */ | |
56 protected User user; | 50 protected User user; |
57 | 51 |
58 /** | 52 /** The attribute of this collection. */ |
59 * The attribute of this collection. | |
60 */ | |
61 protected Document attribute; | 53 protected Document attribute; |
62 | 54 |
63 /** | 55 /** The artifacts stored in this collection. */ |
64 * The artifacts stored in this collection. | |
65 */ | |
66 protected List<Artifact> artifacts; | 56 protected List<Artifact> artifacts; |
67 | 57 |
68 /** | 58 /** |
69 * The attributes used for the artifacts stored in this collection. The key | 59 * The attributes used for the artifacts stored in this collection. The key |
70 * of this map represents the identifier of the artifact which the attribute | 60 * of this map represents the identifier of the artifact which the attribute |