1 | package com.medias.database.objects; |
---|
2 | |
---|
3 | // Generated 5 févr. 2007 11:07:11 by Hibernate Tools 3.2.0.b9 |
---|
4 | |
---|
5 | import java.util.HashSet; |
---|
6 | import java.util.Set; |
---|
7 | |
---|
8 | /** |
---|
9 | * Zone generated by hbm2java |
---|
10 | */ |
---|
11 | public class Zone implements java.io.Serializable { |
---|
12 | |
---|
13 | /** |
---|
14 | * |
---|
15 | */ |
---|
16 | private static final long serialVersionUID = 1L; |
---|
17 | |
---|
18 | private int zoneId; |
---|
19 | |
---|
20 | private Commentaire commentaire; |
---|
21 | |
---|
22 | private Zone zone; |
---|
23 | |
---|
24 | private String zoneNom; |
---|
25 | |
---|
26 | private int zoneLatmin; |
---|
27 | |
---|
28 | private int zoneLatmax; |
---|
29 | |
---|
30 | private int zoneLonmin; |
---|
31 | |
---|
32 | private int zoneLonmax; |
---|
33 | |
---|
34 | private Set<Zone> zones = new HashSet<Zone>(0); |
---|
35 | |
---|
36 | public Zone() { |
---|
37 | } |
---|
38 | |
---|
39 | public Zone(int zoneId, String zoneNom, int zoneLatmin, int zoneLatmax, |
---|
40 | int zoneLonmin, int zoneLonmax) { |
---|
41 | this.zoneId = zoneId; |
---|
42 | this.zoneNom = zoneNom; |
---|
43 | this.zoneLatmin = zoneLatmin; |
---|
44 | this.zoneLatmax = zoneLatmax; |
---|
45 | this.zoneLonmin = zoneLonmin; |
---|
46 | this.zoneLonmax = zoneLonmax; |
---|
47 | } |
---|
48 | |
---|
49 | public Zone(int zoneId, Commentaire commentaire, Zone zone, String zoneNom, |
---|
50 | int zoneLatmin, int zoneLatmax, int zoneLonmin, int zoneLonmax, |
---|
51 | Set<Zone> zones) { |
---|
52 | this.zoneId = zoneId; |
---|
53 | this.commentaire = commentaire; |
---|
54 | this.zone = zone; |
---|
55 | this.zoneNom = zoneNom; |
---|
56 | this.zoneLatmin = zoneLatmin; |
---|
57 | this.zoneLatmax = zoneLatmax; |
---|
58 | this.zoneLonmin = zoneLonmin; |
---|
59 | this.zoneLonmax = zoneLonmax; |
---|
60 | this.zones = zones; |
---|
61 | } |
---|
62 | |
---|
63 | public int getZoneId() { |
---|
64 | return this.zoneId; |
---|
65 | } |
---|
66 | |
---|
67 | public void setZoneId(int zoneId) { |
---|
68 | this.zoneId = zoneId; |
---|
69 | } |
---|
70 | |
---|
71 | public Commentaire getCommentaire() { |
---|
72 | return this.commentaire; |
---|
73 | } |
---|
74 | |
---|
75 | public void setCommentaire(Commentaire commentaire) { |
---|
76 | this.commentaire = commentaire; |
---|
77 | } |
---|
78 | |
---|
79 | public Zone getZone() { |
---|
80 | return this.zone; |
---|
81 | } |
---|
82 | |
---|
83 | public void setZone(Zone zone) { |
---|
84 | this.zone = zone; |
---|
85 | } |
---|
86 | |
---|
87 | public String getZoneNom() { |
---|
88 | return this.zoneNom; |
---|
89 | } |
---|
90 | |
---|
91 | public void setZoneNom(String zoneNom) { |
---|
92 | this.zoneNom = zoneNom; |
---|
93 | } |
---|
94 | |
---|
95 | public int getZoneLatmin() { |
---|
96 | return this.zoneLatmin; |
---|
97 | } |
---|
98 | |
---|
99 | public void setZoneLatmin(int zoneLatmin) { |
---|
100 | this.zoneLatmin = zoneLatmin; |
---|
101 | } |
---|
102 | |
---|
103 | public int getZoneLatmax() { |
---|
104 | return this.zoneLatmax; |
---|
105 | } |
---|
106 | |
---|
107 | public void setZoneLatmax(int zoneLatmax) { |
---|
108 | this.zoneLatmax = zoneLatmax; |
---|
109 | } |
---|
110 | |
---|
111 | public int getZoneLonmin() { |
---|
112 | return this.zoneLonmin; |
---|
113 | } |
---|
114 | |
---|
115 | public void setZoneLonmin(int zoneLonmin) { |
---|
116 | this.zoneLonmin = zoneLonmin; |
---|
117 | } |
---|
118 | |
---|
119 | public int getZoneLonmax() { |
---|
120 | return this.zoneLonmax; |
---|
121 | } |
---|
122 | |
---|
123 | public void setZoneLonmax(int zoneLonmax) { |
---|
124 | this.zoneLonmax = zoneLonmax; |
---|
125 | } |
---|
126 | |
---|
127 | public Set<Zone> getZones() { |
---|
128 | return this.zones; |
---|
129 | } |
---|
130 | |
---|
131 | public void setZones(Set<Zone> zones) { |
---|
132 | this.zones = zones; |
---|
133 | } |
---|
134 | |
---|
135 | } |
---|