Mercurial > dive4elements > river
comparison flys-backend/src/main/java/de/intevation/flys/importer/ImportRiver.java @ 766:aa9e3da95c31
Importer: Fix import of annotation type classification.
flys-backend/trunk@2163 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sun, 19 Jun 2011 17:43:38 +0000 |
parents | 763c4137d6e1 |
children | 22858e7cca79 |
comparison
equal
deleted
inserted
replaced
765:763c4137d6e1 | 766:aa9e3da95c31 |
---|---|
63 protected AnnotationClassifier annotationClassifier; | 63 protected AnnotationClassifier annotationClassifier; |
64 | 64 |
65 protected River peer; | 65 protected River peer; |
66 | 66 |
67 public ImportRiver() { | 67 public ImportRiver() { |
68 this(null); | |
69 } | |
70 | |
71 public ImportRiver(AnnotationClassifier annotationClassifier) { | |
72 extraWsts = new ArrayList<ImportWst>(); | 68 extraWsts = new ArrayList<ImportWst>(); |
73 fixations = new ArrayList<ImportWst>(); | 69 fixations = new ArrayList<ImportWst>(); |
74 officialLines = new ArrayList<ImportWst>(); | 70 officialLines = new ArrayList<ImportWst>(); |
75 floodWater = new ArrayList<ImportWst>(); | 71 floodWater = new ArrayList<ImportWst>(); |
76 floodProtection = new ArrayList<ImportWst>(); | 72 floodProtection = new ArrayList<ImportWst>(); |
73 } | |
74 | |
75 public ImportRiver( | |
76 String name, | |
77 File wstFile, | |
78 File bbInfoFile, | |
79 AnnotationClassifier annotationClassifier | |
80 ) { | |
81 this(); | |
82 this.name = name; | |
83 this.wstFile = wstFile; | |
84 this.bbInfoFile = bbInfoFile; | |
77 this.annotationClassifier = annotationClassifier; | 85 this.annotationClassifier = annotationClassifier; |
78 } | |
79 | |
80 public ImportRiver(String name, File wstFile, File bbInfoFile) { | |
81 this(); | |
82 this.name = name; | |
83 this.wstFile = wstFile; | |
84 this.bbInfoFile = bbInfoFile; | |
85 } | 86 } |
86 | 87 |
87 public String getName() { | 88 public String getName() { |
88 return name; | 89 return name; |
89 } | 90 } |