Mercurial > dive4elements > framework
diff 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 |
line wrap: on
line diff
--- a/artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactCollection.java Thu Mar 03 10:54:33 2011 +0000 +++ b/artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactCollection.java Thu Mar 03 12:13:24 2011 +0000 @@ -43,6 +43,11 @@ protected String identifier; /** + * The identifier of the collection. + */ + protected String name; + + /** * The owner of this collection. */ protected User user; @@ -113,6 +118,23 @@ /** + * Name of this collection. + * @return Returns the name of this collection + */ + public String getName() { + return name; + } + + /** + * Name of this collection. + * @return Returns the name of this collection + */ + public void setName(String name) { + this.name = name; + } + + + /** * Set a new owner of this collection. * @param user New owner for this collection. */