Mercurial > dive4elements > framework
comparison artifact-database/src/main/java/org/dive4elements/artifactdatabase/DefaultArtifactCollectionFactory.java @ 475:415df0fc4fa1
Fixed maven group ids
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Thu, 25 Apr 2013 12:23:04 +0200 |
parents | d0ac790a6c89 |
children | 584591f8203c |
comparison
equal
deleted
inserted
replaced
474:0d3512c08989 | 475:415df0fc4fa1 |
---|---|
3 * | 3 * |
4 * This program is free software under the LGPL (>=v2.1) | 4 * This program is free software under the LGPL (>=v2.1) |
5 * Read the file LGPL.txt coming with the software for details | 5 * Read the file LGPL.txt coming with the software for details |
6 * or visit http://www.gnu.org/licenses/ if it does not exist. | 6 * or visit http://www.gnu.org/licenses/ if it does not exist. |
7 */ | 7 */ |
8 package de.intevation.artifactdatabase; | 8 package org.dive4elements.artifactdatabase; |
9 | 9 |
10 import de.intevation.artifacts.common.utils.Config; | 10 import org.dive4elements.artifacts.common.utils.Config; |
11 | 11 |
12 import org.apache.log4j.Logger; | 12 import org.apache.log4j.Logger; |
13 | 13 |
14 import org.w3c.dom.Document; | 14 import org.w3c.dom.Document; |
15 import org.w3c.dom.Node; | 15 import org.w3c.dom.Node; |
16 | 16 |
17 import de.intevation.artifacts.ArtifactCollection; | 17 import org.dive4elements.artifacts.ArtifactCollection; |
18 import de.intevation.artifacts.ArtifactCollectionFactory; | 18 import org.dive4elements.artifacts.ArtifactCollectionFactory; |
19 | 19 |
20 import java.util.Date; | 20 import java.util.Date; |
21 | 21 |
22 | 22 |
23 /** | 23 /** |
56 | 56 |
57 /** | 57 /** |
58 * Class to load if no artifact class is given in the configuration. | 58 * Class to load if no artifact class is given in the configuration. |
59 */ | 59 */ |
60 public static final String DEFAULT_ARTIFACTCOLLECTION = | 60 public static final String DEFAULT_ARTIFACTCOLLECTION = |
61 "de.intevation.artifactdatabase.DefaultArtifact"; | 61 "org.dive4elements.artifactdatabase.DefaultArtifact"; |
62 | 62 |
63 | 63 |
64 /** The name of the factory.*/ | 64 /** The name of the factory.*/ |
65 protected String name; | 65 protected String name; |
66 | 66 |
116 * Create a new artifact of certain type, given a general purpose context and | 116 * Create a new artifact of certain type, given a general purpose context and |
117 * an identifier. | 117 * an identifier. |
118 * @param context a context from the ArtifactDatabase. | 118 * @param context a context from the ArtifactDatabase. |
119 * @param identifier unique identifer for the new artifact | 119 * @param identifier unique identifer for the new artifact |
120 * @param data the data containing more details for the setup of an Artifact. | 120 * @param data the data containing more details for the setup of an Artifact. |
121 * @return a new {@linkplain de.intevation.artifacts.ArtifactCollection ArtifactCollection} | 121 * @return a new {@linkplain org.dive4elements.artifacts.ArtifactCollection ArtifactCollection} |
122 */ | 122 */ |
123 public ArtifactCollection createCollection( | 123 public ArtifactCollection createCollection( |
124 String identifier, | 124 String identifier, |
125 String name, | 125 String name, |
126 Date creationTime, | 126 Date creationTime, |