comparison backend/src/main/java/org/dive4elements/river/model/MeasurementStation.java @ 8856:5e38e2924c07 3.2.x

Fix code style.
author Tom Gottfried <tom@intevation.de>
date Thu, 18 Jan 2018 20:12:01 +0100
parents 851ea37d35f3
children 0a5239a1e46e
comparison
equal deleted inserted replaced
8855:d7c005e12af0 8856:5e38e2924c07
34 import static org.dive4elements.river.backend.utils.EpsilonComparator.CMP; 34 import static org.dive4elements.river.backend.utils.EpsilonComparator.CMP;
35 35
36 @Entity 36 @Entity
37 @Table(name = "measurement_station") 37 @Table(name = "measurement_station")
38 public class MeasurementStation { 38 public class MeasurementStation {
39 private static final Logger log = Logger.getLogger(MeasurementStation.class); 39 private static final Logger log = Logger.getLogger(
40 MeasurementStation.class);
40 41
41 private Integer id; 42 private Integer id;
42 43
43 private String name; 44 private String name;
44 private String measurementType; 45 private String measurementType;
106 this.operator = operator; 107 this.operator = operator;
107 this.comment = comment; 108 this.comment = comment;
108 } 109 }
109 110
110 @Id 111 @Id
111 @SequenceGenerator(name = "SEQ_MEASUREMENT_STATION_ID_SEQ", sequenceName = "MEASUREMENT_STATION_ID_SEQ", allocationSize = 1) 112 @SequenceGenerator(
112 @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "SEQ_MEASUREMENT_STATION_ID_SEQ") 113 name = "SEQ_MEASUREMENT_STATION_ID_SEQ",
114 sequenceName = "MEASUREMENT_STATION_ID_SEQ",
115 allocationSize = 1)
116 @GeneratedValue(
117 strategy = GenerationType.SEQUENCE,
118 generator = "SEQ_MEASUREMENT_STATION_ID_SEQ")
113 @Column(name = "id") 119 @Column(name = "id")
114 public Integer getId() { 120 public Integer getId() {
115 return id; 121 return id;
116 } 122 }
117 123

http://dive4elements.wald.intevation.org