001
014
015 package com.liferay.portal.model;
016
017
026 public class RegionWrapper implements Region, ModelWrapper<Region> {
027 public RegionWrapper(Region region) {
028 _region = region;
029 }
030
031 public Class<?> getModelClass() {
032 return Region.class;
033 }
034
035 public String getModelClassName() {
036 return Region.class.getName();
037 }
038
039
044 public long getPrimaryKey() {
045 return _region.getPrimaryKey();
046 }
047
048
053 public void setPrimaryKey(long primaryKey) {
054 _region.setPrimaryKey(primaryKey);
055 }
056
057
062 public long getRegionId() {
063 return _region.getRegionId();
064 }
065
066
071 public void setRegionId(long regionId) {
072 _region.setRegionId(regionId);
073 }
074
075
080 public long getCountryId() {
081 return _region.getCountryId();
082 }
083
084
089 public void setCountryId(long countryId) {
090 _region.setCountryId(countryId);
091 }
092
093
098 public java.lang.String getRegionCode() {
099 return _region.getRegionCode();
100 }
101
102
107 public void setRegionCode(java.lang.String regionCode) {
108 _region.setRegionCode(regionCode);
109 }
110
111
116 public java.lang.String getName() {
117 return _region.getName();
118 }
119
120
125 public void setName(java.lang.String name) {
126 _region.setName(name);
127 }
128
129
134 public boolean getActive() {
135 return _region.getActive();
136 }
137
138
143 public boolean isActive() {
144 return _region.isActive();
145 }
146
147
152 public void setActive(boolean active) {
153 _region.setActive(active);
154 }
155
156 public boolean isNew() {
157 return _region.isNew();
158 }
159
160 public void setNew(boolean n) {
161 _region.setNew(n);
162 }
163
164 public boolean isCachedModel() {
165 return _region.isCachedModel();
166 }
167
168 public void setCachedModel(boolean cachedModel) {
169 _region.setCachedModel(cachedModel);
170 }
171
172 public boolean isEscapedModel() {
173 return _region.isEscapedModel();
174 }
175
176 public java.io.Serializable getPrimaryKeyObj() {
177 return _region.getPrimaryKeyObj();
178 }
179
180 public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
181 _region.setPrimaryKeyObj(primaryKeyObj);
182 }
183
184 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
185 return _region.getExpandoBridge();
186 }
187
188 public void setExpandoBridgeAttributes(
189 com.liferay.portal.service.ServiceContext serviceContext) {
190 _region.setExpandoBridgeAttributes(serviceContext);
191 }
192
193 @Override
194 public java.lang.Object clone() {
195 return new RegionWrapper((Region)_region.clone());
196 }
197
198 public int compareTo(com.liferay.portal.model.Region region) {
199 return _region.compareTo(region);
200 }
201
202 @Override
203 public int hashCode() {
204 return _region.hashCode();
205 }
206
207 public com.liferay.portal.model.CacheModel<com.liferay.portal.model.Region> toCacheModel() {
208 return _region.toCacheModel();
209 }
210
211 public com.liferay.portal.model.Region toEscapedModel() {
212 return new RegionWrapper(_region.toEscapedModel());
213 }
214
215 @Override
216 public java.lang.String toString() {
217 return _region.toString();
218 }
219
220 public java.lang.String toXmlString() {
221 return _region.toXmlString();
222 }
223
224
227 public Region getWrappedRegion() {
228 return _region;
229 }
230
231 public Region getWrappedModel() {
232 return _region;
233 }
234
235 public void resetOriginalValues() {
236 _region.resetOriginalValues();
237 }
238
239 private Region _region;
240 }