comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/access/ExtremeAccess.java @ 4052:6d8c7a00e74e

Do cumentation.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Mon, 08 Oct 2012 09:51:03 +0200
parents 363445873737
children 270f3ac8a82e
comparison
equal deleted inserted replaced
4051:58bdf95df5e4 4052:6d8c7a00e74e
28 28
29 protected String function; 29 protected String function;
30 30
31 protected List<RangeWithValues> ranges; 31 protected List<RangeWithValues> ranges;
32 32
33
33 public ExtremeAccess() { 34 public ExtremeAccess() {
34 } 35 }
35 36
36 public ExtremeAccess(FLYSArtifact artifact) { 37 public ExtremeAccess(FLYSArtifact artifact) {
37 super(artifact); 38 super(artifact);
38 } 39 }
39 40
41
42 /** From (km) for calculation. */
40 public Double getFrom() { 43 public Double getFrom() {
41 44
42 if (from == null) { 45 if (from == null) {
43 from = getDouble("ld_from"); 46 from = getDouble("ld_from");
44 } 47 }
48 } 51 }
49 52
50 return from; 53 return from;
51 } 54 }
52 55
56
57 /** To (km) for calculation. */
53 public Double getTo() { 58 public Double getTo() {
54 59
55 if (to == null) { 60 if (to == null) {
56 to = getDouble("ld_to"); 61 to = getDouble("ld_to");
57 } 62 }
61 } 66 }
62 67
63 return to; 68 return to;
64 } 69 }
65 70
71
72 /** Step width for calculation. */
66 public Double getStep() { 73 public Double getStep() {
67 74
68 if (step == null) { 75 if (step == null) {
69 step = getDouble("ld_step"); 76 step = getDouble("ld_step");
70 } 77 }

http://dive4elements.wald.intevation.org