annotate flys-backend/src/main/java/de/intevation/flys/model/SectieKind.java @ 5598:989c0d196bfe

Do not show old calculations in hws datacage selection
author Andre Heinecke <aheinecke@intevation.de>
date Mon, 08 Apr 2013 16:46:38 +0200
parents 1d95391d056b
children
rev   line source
5060
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
1 package de.intevation.flys.model;
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
2
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
3 import java.io.Serializable;
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
4
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
5 import javax.persistence.Column;
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
6 import javax.persistence.Entity;
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
7 import javax.persistence.Id;
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
8 import javax.persistence.Table;
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
9
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
10 @Entity
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
11 @Table(name = "sectie_kinds")
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
12 public class SectieKind implements Serializable {
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
13 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
14 private String name;
5060
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
15
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
16 @Id
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
17 @Column(name = "id")
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
18 public Integer getId() {
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
19 return id;
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
20 }
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
21
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
22 public void setId(Integer id) {
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
23 this.id = id;
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
24 }
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
25
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
26 /**
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
27 * Get name.
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 * @return name of the kind of sectie as String.
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
30 */
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
31 @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
32 public String getName() {
5060
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
33 return name;
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
34 }
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
35
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
36 /**
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
37 * Set name.
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
38 *
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
39 * @param name the value to set.
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
40 */
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
41 public void setName(String name) {
5060
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
42 this.name = name;
c629719b87e7 Add the simple lookup table classes to the model
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
43 }
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
44 }

http://dive4elements.wald.intevation.org