1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portal.model;
16  
17  /**
18   * <a href="AddressSoap.java.html"><b><i>View Source</i></b></a>
19   *
20   * <p>
21   * ServiceBuilder generated this class. Modifications in this class will be
22   * overwritten the next time is generated.
23   * </p>
24   *
25   * <p>
26   * This class is a wrapper for {@link Address}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       Address
31   * @generated
32   */
33  public class AddressWrapper implements Address {
34      public AddressWrapper(Address address) {
35          _address = address;
36      }
37  
38      public long getPrimaryKey() {
39          return _address.getPrimaryKey();
40      }
41  
42      public void setPrimaryKey(long pk) {
43          _address.setPrimaryKey(pk);
44      }
45  
46      public long getAddressId() {
47          return _address.getAddressId();
48      }
49  
50      public void setAddressId(long addressId) {
51          _address.setAddressId(addressId);
52      }
53  
54      public long getCompanyId() {
55          return _address.getCompanyId();
56      }
57  
58      public void setCompanyId(long companyId) {
59          _address.setCompanyId(companyId);
60      }
61  
62      public long getUserId() {
63          return _address.getUserId();
64      }
65  
66      public void setUserId(long userId) {
67          _address.setUserId(userId);
68      }
69  
70      public java.lang.String getUserUuid()
71          throws com.liferay.portal.SystemException {
72          return _address.getUserUuid();
73      }
74  
75      public void setUserUuid(java.lang.String userUuid) {
76          _address.setUserUuid(userUuid);
77      }
78  
79      public java.lang.String getUserName() {
80          return _address.getUserName();
81      }
82  
83      public void setUserName(java.lang.String userName) {
84          _address.setUserName(userName);
85      }
86  
87      public java.util.Date getCreateDate() {
88          return _address.getCreateDate();
89      }
90  
91      public void setCreateDate(java.util.Date createDate) {
92          _address.setCreateDate(createDate);
93      }
94  
95      public java.util.Date getModifiedDate() {
96          return _address.getModifiedDate();
97      }
98  
99      public void setModifiedDate(java.util.Date modifiedDate) {
100         _address.setModifiedDate(modifiedDate);
101     }
102 
103     public java.lang.String getClassName() {
104         return _address.getClassName();
105     }
106 
107     public long getClassNameId() {
108         return _address.getClassNameId();
109     }
110 
111     public void setClassNameId(long classNameId) {
112         _address.setClassNameId(classNameId);
113     }
114 
115     public long getClassPK() {
116         return _address.getClassPK();
117     }
118 
119     public void setClassPK(long classPK) {
120         _address.setClassPK(classPK);
121     }
122 
123     public java.lang.String getStreet1() {
124         return _address.getStreet1();
125     }
126 
127     public void setStreet1(java.lang.String street1) {
128         _address.setStreet1(street1);
129     }
130 
131     public java.lang.String getStreet2() {
132         return _address.getStreet2();
133     }
134 
135     public void setStreet2(java.lang.String street2) {
136         _address.setStreet2(street2);
137     }
138 
139     public java.lang.String getStreet3() {
140         return _address.getStreet3();
141     }
142 
143     public void setStreet3(java.lang.String street3) {
144         _address.setStreet3(street3);
145     }
146 
147     public java.lang.String getCity() {
148         return _address.getCity();
149     }
150 
151     public void setCity(java.lang.String city) {
152         _address.setCity(city);
153     }
154 
155     public java.lang.String getZip() {
156         return _address.getZip();
157     }
158 
159     public void setZip(java.lang.String zip) {
160         _address.setZip(zip);
161     }
162 
163     public long getRegionId() {
164         return _address.getRegionId();
165     }
166 
167     public void setRegionId(long regionId) {
168         _address.setRegionId(regionId);
169     }
170 
171     public long getCountryId() {
172         return _address.getCountryId();
173     }
174 
175     public void setCountryId(long countryId) {
176         _address.setCountryId(countryId);
177     }
178 
179     public int getTypeId() {
180         return _address.getTypeId();
181     }
182 
183     public void setTypeId(int typeId) {
184         _address.setTypeId(typeId);
185     }
186 
187     public boolean getMailing() {
188         return _address.getMailing();
189     }
190 
191     public boolean isMailing() {
192         return _address.isMailing();
193     }
194 
195     public void setMailing(boolean mailing) {
196         _address.setMailing(mailing);
197     }
198 
199     public boolean getPrimary() {
200         return _address.getPrimary();
201     }
202 
203     public boolean isPrimary() {
204         return _address.isPrimary();
205     }
206 
207     public void setPrimary(boolean primary) {
208         _address.setPrimary(primary);
209     }
210 
211     public boolean isNew() {
212         return _address.isNew();
213     }
214 
215     public boolean setNew(boolean n) {
216         return _address.setNew(n);
217     }
218 
219     public boolean isCachedModel() {
220         return _address.isCachedModel();
221     }
222 
223     public void setCachedModel(boolean cachedModel) {
224         _address.setCachedModel(cachedModel);
225     }
226 
227     public boolean isEscapedModel() {
228         return _address.isEscapedModel();
229     }
230 
231     public void setEscapedModel(boolean escapedModel) {
232         _address.setEscapedModel(escapedModel);
233     }
234 
235     public java.io.Serializable getPrimaryKeyObj() {
236         return _address.getPrimaryKeyObj();
237     }
238 
239     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
240         return _address.getExpandoBridge();
241     }
242 
243     public void setExpandoBridgeAttributes(
244         com.liferay.portal.service.ServiceContext serviceContext) {
245         _address.setExpandoBridgeAttributes(serviceContext);
246     }
247 
248     public java.lang.Object clone() {
249         return _address.clone();
250     }
251 
252     public int compareTo(com.liferay.portal.model.Address address) {
253         return _address.compareTo(address);
254     }
255 
256     public int hashCode() {
257         return _address.hashCode();
258     }
259 
260     public com.liferay.portal.model.Address toEscapedModel() {
261         return _address.toEscapedModel();
262     }
263 
264     public java.lang.String toString() {
265         return _address.toString();
266     }
267 
268     public java.lang.String toXmlString() {
269         return _address.toXmlString();
270     }
271 
272     public com.liferay.portal.model.Region getRegion() {
273         return _address.getRegion();
274     }
275 
276     public com.liferay.portal.model.Country getCountry() {
277         return _address.getCountry();
278     }
279 
280     public com.liferay.portal.model.ListType getType() {
281         return _address.getType();
282     }
283 
284     public Address getWrappedAddress() {
285         return _address;
286     }
287 
288     private Address _address;
289 }