comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/fixings/FixCalculation.java @ 7261:a56fe3bc6700

Refactoring: Let RiverAccess.getRiver return an River. Renamed getRiver in getRiverName. Update Callers.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Tue, 08 Oct 2013 14:50:58 +0200
parents 437856cec419
children 83bb52fa0c32
comparison
equal deleted inserted replaced
7260:0b32f8980fed 7261:a56fe3bc6700
176 176
177 public FixCalculation() { 177 public FixCalculation() {
178 } 178 }
179 179
180 public FixCalculation(FixAccess access) { 180 public FixCalculation(FixAccess access) {
181 String river = access.getRiver(); 181 String river = access.getRiverName();
182 Double from = access.getFrom(); 182 Double from = access.getFrom();
183 Double to = access.getTo(); 183 Double to = access.getTo();
184 Double step = access.getStep(); 184 Double step = access.getStep();
185 String function = access.getFunction(); 185 String function = access.getFunction();
186 int [] events = access.getEvents(); 186 int [] events = access.getEvents();

http://dive4elements.wald.intevation.org