annotate backend/src/main/java/org/dive4elements/river/model/SeddbName.java @ 8813:8abe94270f32

Do not filter cross section points for display. Filtering coordinates outside an extent probably aimed at omitting outliers from the diagram. This is obsolete and had the side effect of filtering the important point at x = 0.
author Tom Gottfried <tom@intevation.de>
date Fri, 28 Apr 2017 19:03:56 +0200
parents cfafe5764509
children
rev   line source
5844
4dd33b86dc61 Added header to river backend.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5838
diff changeset
1 /* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde
4dd33b86dc61 Added header to river backend.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5838
diff changeset
2 * Software engineering by Intevation GmbH
4dd33b86dc61 Added header to river backend.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5838
diff changeset
3 *
5992
4c3ccf2b0304 Removed trailing whitespace.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5844
diff changeset
4 * This file is Free Software under the GNU AGPL (>=v3)
5844
4dd33b86dc61 Added header to river backend.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5838
diff changeset
5 * and comes with ABSOLUTELY NO WARRANTY! Check out the
5992
4c3ccf2b0304 Removed trailing whitespace.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5844
diff changeset
6 * documentation coming with Dive4Elements River for details.
5844
4dd33b86dc61 Added header to river backend.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5838
diff changeset
7 */
4dd33b86dc61 Added header to river backend.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5838
diff changeset
8
5829
18619c1e7c2a Repaired internal references.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5828
diff changeset
9 package org.dive4elements.river.model;
5060
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
10
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
11 import java.io.Serializable;
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
12
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
13 import javax.persistence.Column;
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
14 import javax.persistence.Entity;
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
15 import javax.persistence.Id;
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
16 import javax.persistence.Table;
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
17
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
18 @Entity
8683
cfafe5764509 (issue 1796) Scheme change! Add model for seddb_name lookup table.
Andre Heinecke <andre.heinecke@intevation.de>
parents: 5992
diff changeset
19 @Table(name = "seddb_name")
cfafe5764509 (issue 1796) Scheme change! Add model for seddb_name lookup table.
Andre Heinecke <andre.heinecke@intevation.de>
parents: 5992
diff changeset
20 public class SeddbName implements Serializable {
5060
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
21 private Integer id;
5064
fb7c4ad94bd8 Fix build: some more imports some less imports some copy paste errors
Andre Heinecke <aheinecke@intevation.de>
parents: 5060
diff changeset
22 private String name;
5060
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
23
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
24 @Id
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
25 @Column(name = "id")
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
26 public Integer getId() {
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
27 return id;
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
28 }
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
29
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
30 public void setId(Integer id) {
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
31 this.id = id;
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
32 }
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
33
8683
cfafe5764509 (issue 1796) Scheme change! Add model for seddb_name lookup table.
Andre Heinecke <andre.heinecke@intevation.de>
parents: 5992
diff changeset
34 @Column(name = "name")
5081
1d95391d056b Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5064
diff changeset
35 public String getName() {
5060
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
36 return name;
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
37 }
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
38
5081
1d95391d056b Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5064
diff changeset
39 public void setName(String name) {
5060
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
40 this.name = name;
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
41 }
5081
1d95391d056b Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5064
diff changeset
42 }

http://dive4elements.wald.intevation.org