001
014
015 package com.liferay.portal.model;
016
017
026 public class CountryWrapper implements 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 getActive() {
171 return _country.getActive();
172 }
173
174
179 public boolean isActive() {
180 return _country.isActive();
181 }
182
183
188 public void setActive(boolean active) {
189 _country.setActive(active);
190 }
191
192 public boolean isNew() {
193 return _country.isNew();
194 }
195
196 public void setNew(boolean n) {
197 _country.setNew(n);
198 }
199
200 public boolean isCachedModel() {
201 return _country.isCachedModel();
202 }
203
204 public void setCachedModel(boolean cachedModel) {
205 _country.setCachedModel(cachedModel);
206 }
207
208 public boolean isEscapedModel() {
209 return _country.isEscapedModel();
210 }
211
212 public void setEscapedModel(boolean escapedModel) {
213 _country.setEscapedModel(escapedModel);
214 }
215
216 public java.io.Serializable getPrimaryKeyObj() {
217 return _country.getPrimaryKeyObj();
218 }
219
220 public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
221 _country.setPrimaryKeyObj(primaryKeyObj);
222 }
223
224 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
225 return _country.getExpandoBridge();
226 }
227
228 public void setExpandoBridgeAttributes(
229 com.liferay.portal.service.ServiceContext serviceContext) {
230 _country.setExpandoBridgeAttributes(serviceContext);
231 }
232
233 @Override
234 public java.lang.Object clone() {
235 return new CountryWrapper((Country)_country.clone());
236 }
237
238 public int compareTo(com.liferay.portal.model.Country country) {
239 return _country.compareTo(country);
240 }
241
242 @Override
243 public int hashCode() {
244 return _country.hashCode();
245 }
246
247 public com.liferay.portal.model.CacheModel<com.liferay.portal.model.Country> toCacheModel() {
248 return _country.toCacheModel();
249 }
250
251 public com.liferay.portal.model.Country toEscapedModel() {
252 return new CountryWrapper(_country.toEscapedModel());
253 }
254
255 @Override
256 public java.lang.String toString() {
257 return _country.toString();
258 }
259
260 public java.lang.String toXmlString() {
261 return _country.toXmlString();
262 }
263
264 public Country getWrappedCountry() {
265 return _country;
266 }
267
268 public void resetOriginalValues() {
269 _country.resetOriginalValues();
270 }
271
272 private Country _country;
273 }