# HG changeset patch # User Raimund Renkert # Date 1393510244 -3600 # Node ID 1b48b74a2f113226f36ca757eac75f71c858546a # Parent cc214753adcadeda4d4c38ad7668507302d7eb09 Added model_uuid to river info. diff -r cc214753adca -r 1b48b74a2f11 gwt-client/src/main/java/org/dive4elements/river/client/shared/model/DefaultRiverInfo.java --- a/gwt-client/src/main/java/org/dive4elements/river/client/shared/model/DefaultRiverInfo.java Thu Feb 27 15:10:04 2014 +0100 +++ b/gwt-client/src/main/java/org/dive4elements/river/client/shared/model/DefaultRiverInfo.java Thu Feb 27 15:10:44 2014 +0100 @@ -24,6 +24,7 @@ private Double minq; private Double maxq; private Long officialnumber; + private String muuid; private List gaugeinfo; private List mstations; @@ -39,7 +40,8 @@ String wstunit, Double minq, Double maxq, - Long official) + Long official, + String muuid) { this.name = name; this.kmup = kmup; @@ -49,6 +51,7 @@ this.minq = minq; this.maxq = maxq; this.officialnumber = official; + this.muuid = muuid; } public boolean isKmUp() { @@ -112,6 +115,14 @@ } /** + * Returns the model uuid of the river + * @return + */ + public String getModelUuid() { + return muuid; + } + + /** * Returns the MeasurementStations on this river or null if they aren't * available. */