Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/access/FixAnalysisAccess.java @ 4866:acfd48384835
Changed data field names in fix analsis to ld_from, ld_to, ld step.
* Changed names in state model.
* Changed data fields in artifact.
* Use RangeAccess to get location/distance data.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Fri, 25 Jan 2013 11:53:04 +0100 |
parents | 8160e62bbb3a |
children |
comparison
equal
deleted
inserted
replaced
4865:1358d0c8481c | 4866:acfd48384835 |
---|---|
1 package de.intevation.flys.artifacts.access; | 1 package de.intevation.flys.artifacts.access; |
2 | 2 |
3 import de.intevation.artifactdatabase.data.StateData; | 3 import de.intevation.artifactdatabase.data.StateData; |
4 import de.intevation.artifacts.CallContext; | |
4 | 5 |
5 import de.intevation.flys.artifacts.FLYSArtifact; | 6 import de.intevation.flys.artifacts.FLYSArtifact; |
6 | 7 |
7 import de.intevation.flys.artifacts.model.DateRange; | 8 import de.intevation.flys.artifacts.model.DateRange; |
8 | 9 |
19 protected DateRange referencePeriod; | 20 protected DateRange referencePeriod; |
20 protected DateRange [] analysisPeriods; | 21 protected DateRange [] analysisPeriods; |
21 | 22 |
22 protected double [] qs; | 23 protected double [] qs; |
23 | 24 |
24 public FixAnalysisAccess() { | 25 public FixAnalysisAccess(FLYSArtifact artifact, CallContext context) { |
25 } | 26 super(artifact, context); |
26 | |
27 public FixAnalysisAccess(FLYSArtifact artifact) { | |
28 super(artifact); | |
29 } | 27 } |
30 | 28 |
31 public DateRange getReferencePeriod() { | 29 public DateRange getReferencePeriod() { |
32 if (referencePeriod == null) { | 30 if (referencePeriod == null) { |
33 StateData refStart = artifact.getData("ref_start"); | 31 StateData refStart = artifact.getData("ref_start"); |