001
014
015 package com.liferay.portal.model;
016
017
026 public class CountryWrapper implements Country, ModelWrapper<Country> {
027 public CountryWrapper(Country country) {
028 _country = country;
029 }
030
031 public Class<?> getModelClass() {
032 return Country.class;
033 }
034
035 public String getModelClassName() {
036 return Country.class.getName();
037 }
038
039
044 public long getPrimaryKey() {
045 return _country.getPrimaryKey();
046 }
047
048
053 public void setPrimaryKey(long primaryKey) {
054 _country.setPrimaryKey(primaryKey);
055 }
056
057
062 public long getCountryId() {
063 return _country.getCountryId();
064 }
065
066
071 public void setCountryId(long countryId) {
072 _country.setCountryId(countryId);
073 }
074
075
080 public java.lang.String getName() {
081 return _country.getName();
082 }
083
084
089 public void setName(java.lang.String name) {
090 _country.setName(name);
091 }
092
093
098 public java.lang.String getA2() {
099 return _country.getA2();
100 }
101
102
107 public void setA2(java.lang.String a2) {
108 _country.setA2(a2);
109 }
110
111
116 public java.lang.String getA3() {
117 return _country.getA3();
118 }
119
120
125 public void setA3(java.lang.String a3) {
126 _country.setA3(a3);
127 }
128
129
134 public java.lang.String getNumber() {
135 return _country.getNumber();
136 }
137
138
143 public void setNumber(java.lang.String number) {
144 _country.setNumber(number);
145 }
146
147
152 public java.lang.String getIdd() {
153 return _country.getIdd();
154 }
155
156
161 public void setIdd(java.lang.String idd) {
162 _country.setIdd(idd);
163 }
164
165
170 public boolean getZipRequired() {
171 return _country.getZipRequired();
172 }
173
174
179 public boolean isZipRequired() {
180 return _country.isZipRequired();
181 }
182
183
188 public void setZipRequired(boolean zipRequired) {
189 _country.setZipRequired(zipRequired);
190 }
191
192
197 public boolean getActive() {
198 return _country.getActive();
199 }
200
201
206 public boolean isActive() {
207 return _country.isActive();
208 }
209
210
215 public void setActive(boolean active) {
216 _country.setActive(active);
217 }
218
219 public boolean isNew() {
220 return _country.isNew();
221 }
222
223 public void setNew(boolean n) {
224 _country.setNew(n);
225 }
226
227 public boolean isCachedModel() {
228 return _country.isCachedModel();
229 }
230
231 public void setCachedModel(boolean cachedModel) {
232 _country.setCachedModel(cachedModel);
233 }
234
235 public boolean isEscapedModel() {
236 return _country.isEscapedModel();
237 }
238
239 public java.io.Serializable getPrimaryKeyObj() {
240 return _country.getPrimaryKeyObj();
241 }
242
243 public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
244 _country.setPrimaryKeyObj(primaryKeyObj);
245 }
246
247 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
248 return _country.getExpandoBridge();
249 }
250
251 public void setExpandoBridgeAttributes(
252 com.liferay.portal.service.ServiceContext serviceContext) {
253 _country.setExpandoBridgeAttributes(serviceContext);
254 }
255
256 @Override
257 public java.lang.Object clone() {
258 return new CountryWrapper((Country)_country.clone());
259 }
260
261 public int compareTo(com.liferay.portal.model.Country country) {
262 return _country.compareTo(country);
263 }
264
265 @Override
266 public int hashCode() {
267 return _country.hashCode();
268 }
269
270 public com.liferay.portal.model.CacheModel<com.liferay.portal.model.Country> toCacheModel() {
271 return _country.toCacheModel();
272 }
273
274 public com.liferay.portal.model.Country toEscapedModel() {
275 return new CountryWrapper(_country.toEscapedModel());
276 }
277
278 @Override
279 public java.lang.String toString() {
280 return _country.toString();
281 }
282
283 public java.lang.String toXmlString() {
284 return _country.toXmlString();
285 }
286
287
290 public Country getWrappedCountry() {
291 return _country;
292 }
293
294 public Country getWrappedModel() {
295 return _country;
296 }
297
298 public void resetOriginalValues() {
299 _country.resetOriginalValues();
300 }
301
302 private Country _country;
303 }