Mercurial > dive4elements > framework
comparison artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactCollection.java @ 159:db0d20440b92
Added code to create collections.
artifacts/trunk@1384 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Thu, 03 Mar 2011 12:13:24 +0000 |
parents | 3bb121d5b0b7 |
children | ac0f8bd97277 |
comparison
equal
deleted
inserted
replaced
158:d718a4d55662 | 159:db0d20440b92 |
---|---|
41 * The identifier of the collection. | 41 * The identifier of the collection. |
42 */ | 42 */ |
43 protected String identifier; | 43 protected String identifier; |
44 | 44 |
45 /** | 45 /** |
46 * The identifier of the collection. | |
47 */ | |
48 protected String name; | |
49 | |
50 /** | |
46 * The owner of this collection. | 51 * The owner of this collection. |
47 */ | 52 */ |
48 protected User user; | 53 protected User user; |
49 | 54 |
50 /** | 55 /** |
111 return identifier; | 116 return identifier; |
112 } | 117 } |
113 | 118 |
114 | 119 |
115 /** | 120 /** |
121 * Name of this collection. | |
122 * @return Returns the name of this collection | |
123 */ | |
124 public String getName() { | |
125 return name; | |
126 } | |
127 | |
128 /** | |
129 * Name of this collection. | |
130 * @return Returns the name of this collection | |
131 */ | |
132 public void setName(String name) { | |
133 this.name = name; | |
134 } | |
135 | |
136 | |
137 /** | |
116 * Set a new owner of this collection. | 138 * Set a new owner of this collection. |
117 * @param user New owner for this collection. | 139 * @param user New owner for this collection. |
118 */ | 140 */ |
119 public void setUser(User user) { | 141 public void setUser(User user) { |
120 this.user = user; | 142 this.user = user; |