1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package com.hack23.cia.service.external.esv.api;
20
21 import org.apache.commons.lang3.builder.EqualsBuilder;
22 import org.apache.commons.lang3.builder.HashCodeBuilder;
23 import org.apache.commons.lang3.builder.ToStringBuilder;
24 import org.apache.commons.lang3.builder.ToStringStyle;
25
26
27
28
29 public final class GovernmentBodyAnnualSummary {
30
31
32 private final int annualWorkHeadCount;
33
34
35 private final String comment;
36
37
38 private final int consecutiveNumber;
39
40
41 private final String govermentBodyId;
42
43
44 private final int headCount;
45
46
47 private final String mCode;
48
49
50 private final String ministry;
51
52
53 private final String name;
54
55
56 private final String orgNumber;
57
58
59 private final String vat;
60
61
62 private final int year;
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90 public GovernmentBodyAnnualSummary(final int year, final String name, final int consecutiveNumber, final String govermentBodyId,
91 final String mCode, final String ministry, final String orgNumber, final int headCount, final int annualWorkHeadCount, final String vat,
92 final String comment) {
93 super();
94 this.year = year;
95 this.name = name;
96 this.consecutiveNumber = consecutiveNumber;
97 this.govermentBodyId = govermentBodyId;
98 this.mCode = mCode;
99 this.ministry = ministry;
100 this.orgNumber = orgNumber;
101 this.headCount = headCount;
102 this.annualWorkHeadCount = annualWorkHeadCount;
103 this.vat = vat;
104 this.comment = comment;
105 }
106
107 @Override
108 public boolean equals(final Object obj) {
109 return EqualsBuilder.reflectionEquals(this, obj);
110 }
111
112
113
114
115
116
117 public int getAnnualWorkHeadCount() {
118 return annualWorkHeadCount;
119 }
120
121
122
123
124
125
126 public String getComment() {
127 return comment;
128 }
129
130
131
132
133
134
135 public int getConsecutiveNumber() {
136 return consecutiveNumber;
137 }
138
139
140
141
142
143
144 public String getGovermentBodyId() {
145 return govermentBodyId;
146 }
147
148
149
150
151
152
153 public int getHeadCount() {
154 return headCount;
155 }
156
157
158
159
160
161
162 public String getmCode() {
163 return mCode;
164 }
165
166
167
168
169
170
171 public String getMinistry() {
172 return ministry;
173 }
174
175
176
177
178
179
180 public String getName() {
181 return name;
182 }
183
184
185
186
187
188
189 public String getOrgNumber() {
190 return orgNumber;
191 }
192
193
194
195
196
197
198 public String getVat() {
199 return vat;
200 }
201
202
203
204
205
206
207 public int getYear() {
208 return year;
209 }
210
211 @Override
212 public int hashCode() {
213 return HashCodeBuilder.reflectionHashCode(this);
214 }
215
216 @Override
217 public String toString() {
218 return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE);
219 }
220
221 }