comparison backend/src/main/java/org/dive4elements/river/importer/ImportOfficialWstColumn.java @ 6339:aef238fdd9b6

Backend: Added special ImportWstColumns for official lines. They have to be glued with the main values.
author Sascha L. Teichmann <teichmann@intevation.de>
date Fri, 14 Jun 2013 16:56:30 +0200
parents
children 0f7e9a4f1c5a
comparison
equal deleted inserted replaced
6337:224d7c4b5291 6339:aef238fdd9b6
1 /* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde
2 * Software engineering by Intevation GmbH
3 *
4 * This file is Free Software under the GNU AGPL (>=v3)
5 * and comes with ABSOLUTELY NO WARRANTY! Check out the
6 * documentation coming with Dive4Elements River for details.
7 */
8
9 package org.dive4elements.river.importer;
10
11 public class ImportOfficialWstColumn
12 extends ImportWstColumn
13 {
14 public static final ImportWst.ImportWstColumnFactory COLUMN_FACTORY =
15 new ImportWst.ImportWstColumnFactory() {
16 @Override
17 public ImportWstColumn create(ImportWst importWst, int position) {
18 return new ImportOfficialWstColumn(importWst, null, null, position);
19 }
20 };
21
22 public ImportOfficialWstColumn() {
23 super();
24 }
25
26 public ImportOfficialWstColumn(
27 ImportWst wst,
28 String name,
29 String description,
30 Integer position
31 ) {
32 super(wst, name, description, position);
33 }
34 }
35 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org