Mercurial > dive4elements > river
changeset 2754:832f7bd45f9e
Made data accessors for reference curve parameter public.
flys-artifacts/trunk@4489 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 24 May 2012 04:12:55 +0000 (2012-05-24) |
parents | 97aec146514c |
children | d972c4cf5898 |
files | flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java |
diffstat | 2 files changed, 10 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog Thu May 24 04:11:14 2012 +0000 +++ b/flys-artifacts/ChangeLog Thu May 24 04:12:55 2012 +0000 @@ -1,3 +1,8 @@ +2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de> + + * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java + (getReferenceStartKm, getReferenceEndKms): Made public. + 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de> * doc/conf/artifacts/winfo.xml: Add relative point to compatibility
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java Thu May 24 04:11:14 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java Thu May 24 04:12:55 2012 +0000 @@ -611,7 +611,7 @@ /** Get reference (start) km. */ - protected Double getReferenceStartKm() { + public Double getReferenceStartKm() { StateData sd = getData("reference_startpoint"); if (sd == null) { @@ -639,7 +639,10 @@ } - protected double [] getReferenceEndKms() { + /** + * Get end kms for reference curve (null if none). + */ + public double [] getReferenceEndKms() { StateData sd = getData("reference_endpoint"); if (sd == null) {