Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/access/BedHeightAccess.java @ 7356:534850c9fabc
Minor BedHeightAccess refactoring.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 16 Oct 2013 10:33:09 +0200 |
parents | 29dc6b6e7199 |
children | 9d3e44ab25f2 |
comparison
equal
deleted
inserted
replaced
7355:d12478cc5bb0 | 7356:534850c9fabc |
---|---|
29 private static final Logger logger = Logger.getLogger(BedHeightAccess.class); | 29 private static final Logger logger = Logger.getLogger(BedHeightAccess.class); |
30 | 30 |
31 private int[] singleIDs; | 31 private int[] singleIDs; |
32 private int[] epochIDs; | 32 private int[] epochIDs; |
33 | 33 |
34 private String time; | 34 private String yearEpoch; |
35 | |
36 private Integer heightId; | |
35 | 37 |
36 public BedHeightAccess(D4EArtifact artifact) { | 38 public BedHeightAccess(D4EArtifact artifact) { |
37 super(artifact); | 39 super(artifact); |
38 } | 40 } |
39 | 41 |
88 return singleIDs; | 90 return singleIDs; |
89 } | 91 } |
90 | 92 |
91 | 93 |
92 public String getYearEpoch() { | 94 public String getYearEpoch() { |
93 if (time == null) { | 95 if (yearEpoch == null) { |
94 time = getString("ye_select"); | 96 yearEpoch = getString("ye_select"); |
95 } | 97 } |
96 return time; | 98 return yearEpoch; |
99 } | |
100 | |
101 public String getYearEpoch() { | |
102 if (yearEpoch == null) { | |
103 yearEpoch = getString("ye_select"); | |
104 } | |
105 return yearEpoch; | |
97 } | 106 } |
98 | 107 |
99 | 108 |
100 public int[] getBedHeightEpochIDs() { | 109 public int[] getBedHeightEpochIDs() { |
101 if (epochIDs == null) { | 110 if (epochIDs == null) { |