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="PhoneSoap.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 Phone}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       Phone
40   * @generated
41   */
42  public class PhoneWrapper implements Phone {
43      public PhoneWrapper(Phone phone) {
44          _phone = phone;
45      }
46  
47      public long getPrimaryKey() {
48          return _phone.getPrimaryKey();
49      }
50  
51      public void setPrimaryKey(long pk) {
52          _phone.setPrimaryKey(pk);
53      }
54  
55      public long getPhoneId() {
56          return _phone.getPhoneId();
57      }
58  
59      public void setPhoneId(long phoneId) {
60          _phone.setPhoneId(phoneId);
61      }
62  
63      public long getCompanyId() {
64          return _phone.getCompanyId();
65      }
66  
67      public void setCompanyId(long companyId) {
68          _phone.setCompanyId(companyId);
69      }
70  
71      public long getUserId() {
72          return _phone.getUserId();
73      }
74  
75      public void setUserId(long userId) {
76          _phone.setUserId(userId);
77      }
78  
79      public java.lang.String getUserUuid()
80          throws com.liferay.portal.SystemException {
81          return _phone.getUserUuid();
82      }
83  
84      public void setUserUuid(java.lang.String userUuid) {
85          _phone.setUserUuid(userUuid);
86      }
87  
88      public java.lang.String getUserName() {
89          return _phone.getUserName();
90      }
91  
92      public void setUserName(java.lang.String userName) {
93          _phone.setUserName(userName);
94      }
95  
96      public java.util.Date getCreateDate() {
97          return _phone.getCreateDate();
98      }
99  
100     public void setCreateDate(java.util.Date createDate) {
101         _phone.setCreateDate(createDate);
102     }
103 
104     public java.util.Date getModifiedDate() {
105         return _phone.getModifiedDate();
106     }
107 
108     public void setModifiedDate(java.util.Date modifiedDate) {
109         _phone.setModifiedDate(modifiedDate);
110     }
111 
112     public java.lang.String getClassName() {
113         return _phone.getClassName();
114     }
115 
116     public long getClassNameId() {
117         return _phone.getClassNameId();
118     }
119 
120     public void setClassNameId(long classNameId) {
121         _phone.setClassNameId(classNameId);
122     }
123 
124     public long getClassPK() {
125         return _phone.getClassPK();
126     }
127 
128     public void setClassPK(long classPK) {
129         _phone.setClassPK(classPK);
130     }
131 
132     public java.lang.String getNumber() {
133         return _phone.getNumber();
134     }
135 
136     public void setNumber(java.lang.String number) {
137         _phone.setNumber(number);
138     }
139 
140     public java.lang.String getExtension() {
141         return _phone.getExtension();
142     }
143 
144     public void setExtension(java.lang.String extension) {
145         _phone.setExtension(extension);
146     }
147 
148     public int getTypeId() {
149         return _phone.getTypeId();
150     }
151 
152     public void setTypeId(int typeId) {
153         _phone.setTypeId(typeId);
154     }
155 
156     public boolean getPrimary() {
157         return _phone.getPrimary();
158     }
159 
160     public boolean isPrimary() {
161         return _phone.isPrimary();
162     }
163 
164     public void setPrimary(boolean primary) {
165         _phone.setPrimary(primary);
166     }
167 
168     public com.liferay.portal.model.Phone toEscapedModel() {
169         return _phone.toEscapedModel();
170     }
171 
172     public boolean isNew() {
173         return _phone.isNew();
174     }
175 
176     public boolean setNew(boolean n) {
177         return _phone.setNew(n);
178     }
179 
180     public boolean isCachedModel() {
181         return _phone.isCachedModel();
182     }
183 
184     public void setCachedModel(boolean cachedModel) {
185         _phone.setCachedModel(cachedModel);
186     }
187 
188     public boolean isEscapedModel() {
189         return _phone.isEscapedModel();
190     }
191 
192     public void setEscapedModel(boolean escapedModel) {
193         _phone.setEscapedModel(escapedModel);
194     }
195 
196     public java.io.Serializable getPrimaryKeyObj() {
197         return _phone.getPrimaryKeyObj();
198     }
199 
200     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
201         return _phone.getExpandoBridge();
202     }
203 
204     public void setExpandoBridgeAttributes(
205         com.liferay.portal.service.ServiceContext serviceContext) {
206         _phone.setExpandoBridgeAttributes(serviceContext);
207     }
208 
209     public java.lang.Object clone() {
210         return _phone.clone();
211     }
212 
213     public int compareTo(com.liferay.portal.model.Phone phone) {
214         return _phone.compareTo(phone);
215     }
216 
217     public int hashCode() {
218         return _phone.hashCode();
219     }
220 
221     public java.lang.String toString() {
222         return _phone.toString();
223     }
224 
225     public java.lang.String toXmlString() {
226         return _phone.toXmlString();
227     }
228 
229     public com.liferay.portal.model.ListType getType() {
230         return _phone.getType();
231     }
232 
233     public Phone getWrappedPhone() {
234         return _phone;
235     }
236 
237     private Phone _phone;
238 }