1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portal.model;
24  
25  
26  /**
27   * <a href="AddressSoap.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This class is a wrapper for {@link Address}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       Address
40   * @generated
41   */
42  public class AddressWrapper implements Address {
43      public AddressWrapper(Address address) {
44          _address = address;
45      }
46  
47      public long getPrimaryKey() {
48          return _address.getPrimaryKey();
49      }
50  
51      public void setPrimaryKey(long pk) {
52          _address.setPrimaryKey(pk);
53      }
54  
55      public long getAddressId() {
56          return _address.getAddressId();
57      }
58  
59      public void setAddressId(long addressId) {
60          _address.setAddressId(addressId);
61      }
62  
63      public long getCompanyId() {
64          return _address.getCompanyId();
65      }
66  
67      public void setCompanyId(long companyId) {
68          _address.setCompanyId(companyId);
69      }
70  
71      public long getUserId() {
72          return _address.getUserId();
73      }
74  
75      public void setUserId(long userId) {
76          _address.setUserId(userId);
77      }
78  
79      public java.lang.String getUserUuid()
80          throws com.liferay.portal.SystemException {
81          return _address.getUserUuid();
82      }
83  
84      public void setUserUuid(java.lang.String userUuid) {
85          _address.setUserUuid(userUuid);
86      }
87  
88      public java.lang.String getUserName() {
89          return _address.getUserName();
90      }
91  
92      public void setUserName(java.lang.String userName) {
93          _address.setUserName(userName);
94      }
95  
96      public java.util.Date getCreateDate() {
97          return _address.getCreateDate();
98      }
99  
100     public void setCreateDate(java.util.Date createDate) {
101         _address.setCreateDate(createDate);
102     }
103 
104     public java.util.Date getModifiedDate() {
105         return _address.getModifiedDate();
106     }
107 
108     public void setModifiedDate(java.util.Date modifiedDate) {
109         _address.setModifiedDate(modifiedDate);
110     }
111 
112     public java.lang.String getClassName() {
113         return _address.getClassName();
114     }
115 
116     public long getClassNameId() {
117         return _address.getClassNameId();
118     }
119 
120     public void setClassNameId(long classNameId) {
121         _address.setClassNameId(classNameId);
122     }
123 
124     public long getClassPK() {
125         return _address.getClassPK();
126     }
127 
128     public void setClassPK(long classPK) {
129         _address.setClassPK(classPK);
130     }
131 
132     public java.lang.String getStreet1() {
133         return _address.getStreet1();
134     }
135 
136     public void setStreet1(java.lang.String street1) {
137         _address.setStreet1(street1);
138     }
139 
140     public java.lang.String getStreet2() {
141         return _address.getStreet2();
142     }
143 
144     public void setStreet2(java.lang.String street2) {
145         _address.setStreet2(street2);
146     }
147 
148     public java.lang.String getStreet3() {
149         return _address.getStreet3();
150     }
151 
152     public void setStreet3(java.lang.String street3) {
153         _address.setStreet3(street3);
154     }
155 
156     public java.lang.String getCity() {
157         return _address.getCity();
158     }
159 
160     public void setCity(java.lang.String city) {
161         _address.setCity(city);
162     }
163 
164     public java.lang.String getZip() {
165         return _address.getZip();
166     }
167 
168     public void setZip(java.lang.String zip) {
169         _address.setZip(zip);
170     }
171 
172     public long getRegionId() {
173         return _address.getRegionId();
174     }
175 
176     public void setRegionId(long regionId) {
177         _address.setRegionId(regionId);
178     }
179 
180     public long getCountryId() {
181         return _address.getCountryId();
182     }
183 
184     public void setCountryId(long countryId) {
185         _address.setCountryId(countryId);
186     }
187 
188     public int getTypeId() {
189         return _address.getTypeId();
190     }
191 
192     public void setTypeId(int typeId) {
193         _address.setTypeId(typeId);
194     }
195 
196     public boolean getMailing() {
197         return _address.getMailing();
198     }
199 
200     public boolean isMailing() {
201         return _address.isMailing();
202     }
203 
204     public void setMailing(boolean mailing) {
205         _address.setMailing(mailing);
206     }
207 
208     public boolean getPrimary() {
209         return _address.getPrimary();
210     }
211 
212     public boolean isPrimary() {
213         return _address.isPrimary();
214     }
215 
216     public void setPrimary(boolean primary) {
217         _address.setPrimary(primary);
218     }
219 
220     public com.liferay.portal.model.Address toEscapedModel() {
221         return _address.toEscapedModel();
222     }
223 
224     public boolean isNew() {
225         return _address.isNew();
226     }
227 
228     public boolean setNew(boolean n) {
229         return _address.setNew(n);
230     }
231 
232     public boolean isCachedModel() {
233         return _address.isCachedModel();
234     }
235 
236     public void setCachedModel(boolean cachedModel) {
237         _address.setCachedModel(cachedModel);
238     }
239 
240     public boolean isEscapedModel() {
241         return _address.isEscapedModel();
242     }
243 
244     public void setEscapedModel(boolean escapedModel) {
245         _address.setEscapedModel(escapedModel);
246     }
247 
248     public java.io.Serializable getPrimaryKeyObj() {
249         return _address.getPrimaryKeyObj();
250     }
251 
252     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
253         return _address.getExpandoBridge();
254     }
255 
256     public void setExpandoBridgeAttributes(
257         com.liferay.portal.service.ServiceContext serviceContext) {
258         _address.setExpandoBridgeAttributes(serviceContext);
259     }
260 
261     public java.lang.Object clone() {
262         return _address.clone();
263     }
264 
265     public int compareTo(com.liferay.portal.model.Address address) {
266         return _address.compareTo(address);
267     }
268 
269     public int hashCode() {
270         return _address.hashCode();
271     }
272 
273     public java.lang.String toString() {
274         return _address.toString();
275     }
276 
277     public java.lang.String toXmlString() {
278         return _address.toXmlString();
279     }
280 
281     public com.liferay.portal.model.Region getRegion() {
282         return _address.getRegion();
283     }
284 
285     public com.liferay.portal.model.Country getCountry() {
286         return _address.getCountry();
287     }
288 
289     public com.liferay.portal.model.ListType getType() {
290         return _address.getType();
291     }
292 
293     public Address getWrappedAddress() {
294         return _address;
295     }
296 
297     private Address _address;
298 }