Mercurial > dive4elements > river
comparison flys-backend/src/main/java/de/intevation/seddb/model/Mpeilung.java @ 3334:2ae732e2c65c
FLYS backend: Removed trailing whitespace.
flys-backend/trunk@4669 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Fri, 15 Jun 2012 09:20:49 +0000 |
parents | aa8ed778c8cc |
children | 18619c1e7c2a |
comparison
equal
deleted
inserted
replaced
3333:76c75c8b9ee0 | 3334:2ae732e2c65c |
---|---|
54 this.bemerkung = bemerkung; | 54 this.bemerkung = bemerkung; |
55 this.lastupdated = lastupdated; | 55 this.lastupdated = lastupdated; |
56 this.oldapeilid = oldapeilid; | 56 this.oldapeilid = oldapeilid; |
57 this.mpeilpunkts = mpeilpunkts; | 57 this.mpeilpunkts = mpeilpunkts; |
58 } | 58 } |
59 | |
60 @Id | |
61 | 59 |
62 | 60 @Id |
61 | |
62 | |
63 @Column(name="MPEILUNGID", unique=true, nullable=false, precision=11, scale=0) | 63 @Column(name="MPEILUNGID", unique=true, nullable=false, precision=11, scale=0) |
64 public long getMpeilungid() { | 64 public long getMpeilungid() { |
65 return this.mpeilungid; | 65 return this.mpeilungid; |
66 } | 66 } |
67 | 67 |
68 public void setMpeilungid(long mpeilungid) { | 68 public void setMpeilungid(long mpeilungid) { |
69 this.mpeilungid = mpeilungid; | 69 this.mpeilungid = mpeilungid; |
70 } | 70 } |
71 | 71 |
72 @ManyToOne(fetch=FetchType.LAZY) | 72 @ManyToOne(fetch=FetchType.LAZY) |
73 @JoinColumn(name="STATIONID", nullable=false) | 73 @JoinColumn(name="STATIONID", nullable=false) |
74 public Station getStation() { | 74 public Station getStation() { |
75 return this.station; | 75 return this.station; |
76 } | 76 } |
77 | 77 |
78 public void setStation(Station station) { | 78 public void setStation(Station station) { |
79 this.station = station; | 79 this.station = station; |
80 } | 80 } |
81 | 81 |
82 @Temporal(TemporalType.DATE) | 82 @Temporal(TemporalType.DATE) |
83 @Column(name="DATUM", nullable=false, length=7) | 83 @Column(name="DATUM", nullable=false, length=7) |
84 public Date getDatum() { | 84 public Date getDatum() { |
85 return this.datum; | 85 return this.datum; |
86 } | 86 } |
87 | 87 |
88 public void setDatum(Date datum) { | 88 public void setDatum(Date datum) { |
89 this.datum = datum; | 89 this.datum = datum; |
90 } | 90 } |
91 | 91 |
92 | 92 |
93 @Column(name="KM", nullable=false, precision=8, scale=3) | 93 @Column(name="KM", nullable=false, precision=8, scale=3) |
94 public BigDecimal getKm() { | 94 public BigDecimal getKm() { |
95 return this.km; | 95 return this.km; |
96 } | 96 } |
97 | 97 |
98 public void setKm(BigDecimal km) { | 98 public void setKm(BigDecimal km) { |
99 this.km = km; | 99 this.km = km; |
100 } | 100 } |
101 | 101 |
102 | 102 |
103 @Column(name="BEMERKUNG", length=240) | 103 @Column(name="BEMERKUNG", length=240) |
104 public String getBemerkung() { | 104 public String getBemerkung() { |
105 return this.bemerkung; | 105 return this.bemerkung; |
106 } | 106 } |
107 | 107 |
108 public void setBemerkung(String bemerkung) { | 108 public void setBemerkung(String bemerkung) { |
109 this.bemerkung = bemerkung; | 109 this.bemerkung = bemerkung; |
110 } | 110 } |
111 | 111 |
112 @Temporal(TemporalType.DATE) | 112 @Temporal(TemporalType.DATE) |
113 @Column(name="LASTUPDATED", nullable=false, length=7) | 113 @Column(name="LASTUPDATED", nullable=false, length=7) |
114 public Date getLastupdated() { | 114 public Date getLastupdated() { |
115 return this.lastupdated; | 115 return this.lastupdated; |
116 } | 116 } |
117 | 117 |
118 public void setLastupdated(Date lastupdated) { | 118 public void setLastupdated(Date lastupdated) { |
119 this.lastupdated = lastupdated; | 119 this.lastupdated = lastupdated; |
120 } | 120 } |
121 | 121 |
122 | 122 |
123 @Column(name="OLDAPEILID", precision=11, scale=0) | 123 @Column(name="OLDAPEILID", precision=11, scale=0) |
124 public Long getOldapeilid() { | 124 public Long getOldapeilid() { |
125 return this.oldapeilid; | 125 return this.oldapeilid; |
126 } | 126 } |
127 | 127 |
128 public void setOldapeilid(Long oldapeilid) { | 128 public void setOldapeilid(Long oldapeilid) { |
129 this.oldapeilid = oldapeilid; | 129 this.oldapeilid = oldapeilid; |
130 } | 130 } |
131 | 131 |
132 @OneToMany(fetch=FetchType.LAZY, mappedBy="mpeilung") | 132 @OneToMany(fetch=FetchType.LAZY, mappedBy="mpeilung") |
133 public Set<Mpeilpunkt> getMpeilpunkts() { | 133 public Set<Mpeilpunkt> getMpeilpunkts() { |
134 return this.mpeilpunkts; | 134 return this.mpeilpunkts; |
135 } | 135 } |
136 | 136 |
137 public void setMpeilpunkts(Set<Mpeilpunkt> mpeilpunkts) { | 137 public void setMpeilpunkts(Set<Mpeilpunkt> mpeilpunkts) { |
138 this.mpeilpunkts = mpeilpunkts; | 138 this.mpeilpunkts = mpeilpunkts; |
139 } | 139 } |
140 } | 140 } |