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