Mercurial > dive4elements > river
comparison flys-backend/src/main/java/de/intevation/flys/model/SectieKind.java @ 5081:1d95391d056b dami
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Sun, 24 Feb 2013 12:56:20 +0100 |
parents | fb7c4ad94bd8 |
children |
comparison
equal
deleted
inserted
replaced
5078:0fd7720e5c7f | 5081:1d95391d056b |
---|---|
4 | 4 |
5 import javax.persistence.Column; | 5 import javax.persistence.Column; |
6 import javax.persistence.Entity; | 6 import javax.persistence.Entity; |
7 import javax.persistence.Id; | 7 import javax.persistence.Id; |
8 import javax.persistence.Table; | 8 import javax.persistence.Table; |
9 | |
10 import org.hibernate.Session; | |
11 import org.hibernate.Query; | |
12 | |
13 import de.intevation.flys.backend.SessionHolder; | |
14 | 9 |
15 @Entity | 10 @Entity |
16 @Table(name = "sectie_kinds") | 11 @Table(name = "sectie_kinds") |
17 public class SectieKind implements Serializable { | 12 public class SectieKind implements Serializable { |
18 private Integer id; | 13 private Integer id; |
32 * Get name. | 27 * Get name. |
33 * | 28 * |
34 * @return name of the kind of sectie as String. | 29 * @return name of the kind of sectie as String. |
35 */ | 30 */ |
36 @Column(name = "name") | 31 @Column(name = "name") |
37 public String getName() | 32 public String getName() { |
38 { | |
39 return name; | 33 return name; |
40 } | 34 } |
41 | 35 |
42 /** | 36 /** |
43 * Set name. | 37 * Set name. |
44 * | 38 * |
45 * @param name the value to set. | 39 * @param name the value to set. |
46 */ | 40 */ |
47 public void setName(String name) | 41 public void setName(String name) { |
48 { | |
49 this.name = name; | 42 this.name = name; |
50 } | 43 } |
51 }; | 44 } |
52 | |
53 | |
54 | |
55 |