Merge remote-tracking branch 'origin/master'
[Persons_Comparator.git] / src / Country.java
CommitLineData
3ae9566e
JB
1import java.util.ArrayList;
2
3public class Country {
4 private String name;
5 ArrayList<Object> topLevelDomain = new ArrayList<Object>();
6 private String alpha2Code;
7 private String alpha3Code;
8 ArrayList<Object> callingCodes = new ArrayList<Object>();
9 private String capital;
10 ArrayList<Object> altSpellings = new ArrayList<Object>();
11 private String region;
12 private String subregion;
13 private float population;
14 ArrayList<Object> latlng = new ArrayList<Object>();
15 private String demonym;
16 private float area;
17 private float gini;
18 ArrayList<Object> timezones = new ArrayList<Object>();
19 ArrayList<Object> borders = new ArrayList<Object>();
20 private String nativeName;
21 private String numericCode;
22 ArrayList<Object> currencies = new ArrayList<Object>();
23 ArrayList<Object> languages = new ArrayList<Object>();
24 Translations TranslationsObject;
25 private String flag;
26 ArrayList<Object> regionalBlocs = new ArrayList<Object>();
27 private String cioc;
28
29 public class Translations {
30 private String de;
31 private String es;
32 private String fr;
33 private String ja;
34 private String it;
35 private String br;
36 private String pt;
37 private String nl;
38 private String hr;
5bdd2996 39
3ae9566e
JB
40
41 // Getter Methods
42
43 public String getDe() {
44 return de;
45 }
46
47 public String getEs() {
48 return es;
49 }
50
51 public String getFr() {
52 return fr;
53 }
54
55 public String getJa() {
56 return ja;
57 }
58
59 public String getIt() {
60 return it;
61 }
62
63 public String getBr() {
64 return br;
65 }
66
67 public String getPt() {
68 return pt;
69 }
70
71 public String getNl() {
72 return nl;
73 }
74
75 public String getHr() {
76 return hr;
77 }
78
5bdd2996 79
3ae9566e
JB
80
81 // Setter Methods
82
83 public void setDe(String de) {
84 this.de = de;
85 }
86
87 public void setEs(String es) {
88 this.es = es;
89 }
90
91 public void setFr(String fr) {
92 this.fr = fr;
93 }
94
95 public void setJa(String ja) {
96 this.ja = ja;
97 }
98
99 public void setIt(String it) {
100 this.it = it;
101 }
102
103 public void setBr(String br) {
104 this.br = br;
105 }
106
107 public void setPt(String pt) {
108 this.pt = pt;
109 }
110
111 public void setNl(String nl) {
112 this.nl = nl;
113 }
114
115 public void setHr(String hr) {
116 this.hr = hr;
117 }
118
5bdd2996 119
3ae9566e
JB
120 }
121
122
123 // Getter Methods
124
125 public String getName() {
126 return name;
127 }
128
129 public String getAlpha2Code() {
130 return alpha2Code;
131 }
132
133 public String getAlpha3Code() {
134 return alpha3Code;
135 }
136
137 public String getCapital() {
138 return capital;
139 }
140
141 public String getRegion() {
142 return region;
143 }
144
145 public String getSubregion() {
146 return subregion;
147 }
148
149 public float getPopulation() {
150 return population;
151 }
152
153 public String getDemonym() {
154 return demonym;
155 }
156
157 public float getArea() {
158 return area;
159 }
160
161 public float getGini() {
162 return gini;
163 }
164
165 public String getNativeName() {
166 return nativeName;
167 }
168
169 public String getNumericCode() {
170 return numericCode;
171 }
172
173 public Translations getTranslations() {
174 return TranslationsObject;
175 }
176
177 public String getFlag() {
178 return flag;
179 }
180
181 public String getCioc() {
182 return cioc;
183 }
184
185 // Setter Methods
186
187 public void setName(String name) {
188 this.name = name;
189 }
190
191 public void setAlpha2Code(String alpha2Code) {
192 this.alpha2Code = alpha2Code;
193 }
194
195 public void setAlpha3Code(String alpha3Code) {
196 this.alpha3Code = alpha3Code;
197 }
198
199 public void setCapital(String capital) {
200 this.capital = capital;
201 }
202
203 public void setRegion(String region) {
204 this.region = region;
205 }
206
207 public void setSubregion(String subregion) {
208 this.subregion = subregion;
209 }
210
211 public void setPopulation(float population) {
212 this.population = population;
213 }
214
215 public void setDemonym(String demonym) {
216 this.demonym = demonym;
217 }
218
219 public void setArea(float area) {
220 this.area = area;
221 }
222
223 public void setGini(float gini) {
224 this.gini = gini;
225 }
226
227 public void setNativeName(String nativeName) {
228 this.nativeName = nativeName;
229 }
230
231 public void setNumericCode(String numericCode) {
232 this.numericCode = numericCode;
233 }
234
235 public void setTranslations(Translations translationsObject) {
236 this.TranslationsObject = translationsObject;
237 }
238
239 public void setFlag(String flag) {
240 this.flag = flag;
241 }
242
243 public void setCioc(String cioc) {
244 this.cioc = cioc;
245 }
246}
247