Mercurial > dive4elements > river
comparison flys-backend/src/main/java/de/intevation/flys/model/HWSKind.java @ 5128:a020100ee6a1
SCHEME CHANGE: Merge branch dami into default.
A summary on the scheme changes:
HWS and Lines tables are dropped and will be replaced by HWS_Lines and
HWS_Points.
The catchment table removed and will be replaced
by a WMS Service.
Hydr_boundaries has an added reference to boundary_kind sectie_kind
and sobek_kind objects.
Dem has a new column srid.
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Thu, 28 Feb 2013 11:48:17 +0100 |
parents | 1d95391d056b |
children | 615e25b6440e |
comparison
equal
deleted
inserted
replaced
5126:e37b25628dd4 | 5128:a020100ee6a1 |
---|---|
1 package de.intevation.flys.model; | |
2 | |
3 import java.io.Serializable; | |
4 | |
5 import javax.persistence.Column; | |
6 import javax.persistence.Entity; | |
7 import javax.persistence.Id; | |
8 import javax.persistence.Table; | |
9 | |
10 @Entity | |
11 @Table(name = "hws_kinds") | |
12 public class HWSKind implements Serializable { | |
13 private Integer id; | |
14 private String name; | |
15 | |
16 @Id | |
17 @Column(name = "id") | |
18 public Integer getId() { | |
19 return id; | |
20 } | |
21 | |
22 public void setId(Integer id) { | |
23 this.id = id; | |
24 } | |
25 | |
26 /** | |
27 * Get name. | |
28 * | |
29 * @return The name of the Hochwasserschutzanlagenart as String. | |
30 */ | |
31 @Column(name = "name") | |
32 public String getName() { | |
33 return name; | |
34 } | |
35 | |
36 /** | |
37 * Set name. | |
38 * | |
39 * @param name the value to set. | |
40 */ | |
41 public void setName(String name) { | |
42 this.name = name; | |
43 } | |
44 } |