1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portal.model;
16  
17  
18  /**
19   * <a href="PhoneSoap.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link Phone}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       Phone
32   * @generated
33   */
34  public class PhoneWrapper implements Phone {
35      public PhoneWrapper(Phone phone) {
36          _phone = phone;
37      }
38  
39      public long getPrimaryKey() {
40          return _phone.getPrimaryKey();
41      }
42  
43      public void setPrimaryKey(long pk) {
44          _phone.setPrimaryKey(pk);
45      }
46  
47      public long getPhoneId() {
48          return _phone.getPhoneId();
49      }
50  
51      public void setPhoneId(long phoneId) {
52          _phone.setPhoneId(phoneId);
53      }
54  
55      public long getCompanyId() {
56          return _phone.getCompanyId();
57      }
58  
59      public void setCompanyId(long companyId) {
60          _phone.setCompanyId(companyId);
61      }
62  
63      public long getUserId() {
64          return _phone.getUserId();
65      }
66  
67      public void setUserId(long userId) {
68          _phone.setUserId(userId);
69      }
70  
71      public java.lang.String getUserUuid()
72          throws com.liferay.portal.kernel.exception.SystemException {
73          return _phone.getUserUuid();
74      }
75  
76      public void setUserUuid(java.lang.String userUuid) {
77          _phone.setUserUuid(userUuid);
78      }
79  
80      public java.lang.String getUserName() {
81          return _phone.getUserName();
82      }
83  
84      public void setUserName(java.lang.String userName) {
85          _phone.setUserName(userName);
86      }
87  
88      public java.util.Date getCreateDate() {
89          return _phone.getCreateDate();
90      }
91  
92      public void setCreateDate(java.util.Date createDate) {
93          _phone.setCreateDate(createDate);
94      }
95  
96      public java.util.Date getModifiedDate() {
97          return _phone.getModifiedDate();
98      }
99  
100     public void setModifiedDate(java.util.Date modifiedDate) {
101         _phone.setModifiedDate(modifiedDate);
102     }
103 
104     public java.lang.String getClassName() {
105         return _phone.getClassName();
106     }
107 
108     public long getClassNameId() {
109         return _phone.getClassNameId();
110     }
111 
112     public void setClassNameId(long classNameId) {
113         _phone.setClassNameId(classNameId);
114     }
115 
116     public long getClassPK() {
117         return _phone.getClassPK();
118     }
119 
120     public void setClassPK(long classPK) {
121         _phone.setClassPK(classPK);
122     }
123 
124     public java.lang.String getNumber() {
125         return _phone.getNumber();
126     }
127 
128     public void setNumber(java.lang.String number) {
129         _phone.setNumber(number);
130     }
131 
132     public java.lang.String getExtension() {
133         return _phone.getExtension();
134     }
135 
136     public void setExtension(java.lang.String extension) {
137         _phone.setExtension(extension);
138     }
139 
140     public int getTypeId() {
141         return _phone.getTypeId();
142     }
143 
144     public void setTypeId(int typeId) {
145         _phone.setTypeId(typeId);
146     }
147 
148     public boolean getPrimary() {
149         return _phone.getPrimary();
150     }
151 
152     public boolean isPrimary() {
153         return _phone.isPrimary();
154     }
155 
156     public void setPrimary(boolean primary) {
157         _phone.setPrimary(primary);
158     }
159 
160     public com.liferay.portal.model.Phone toEscapedModel() {
161         return _phone.toEscapedModel();
162     }
163 
164     public boolean isNew() {
165         return _phone.isNew();
166     }
167 
168     public boolean setNew(boolean n) {
169         return _phone.setNew(n);
170     }
171 
172     public boolean isCachedModel() {
173         return _phone.isCachedModel();
174     }
175 
176     public void setCachedModel(boolean cachedModel) {
177         _phone.setCachedModel(cachedModel);
178     }
179 
180     public boolean isEscapedModel() {
181         return _phone.isEscapedModel();
182     }
183 
184     public void setEscapedModel(boolean escapedModel) {
185         _phone.setEscapedModel(escapedModel);
186     }
187 
188     public java.io.Serializable getPrimaryKeyObj() {
189         return _phone.getPrimaryKeyObj();
190     }
191 
192     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
193         return _phone.getExpandoBridge();
194     }
195 
196     public void setExpandoBridgeAttributes(
197         com.liferay.portal.service.ServiceContext serviceContext) {
198         _phone.setExpandoBridgeAttributes(serviceContext);
199     }
200 
201     public java.lang.Object clone() {
202         return _phone.clone();
203     }
204 
205     public int compareTo(com.liferay.portal.model.Phone phone) {
206         return _phone.compareTo(phone);
207     }
208 
209     public int hashCode() {
210         return _phone.hashCode();
211     }
212 
213     public java.lang.String toString() {
214         return _phone.toString();
215     }
216 
217     public java.lang.String toXmlString() {
218         return _phone.toXmlString();
219     }
220 
221     public com.liferay.portal.model.ListType getType() {
222         return _phone.getType();
223     }
224 
225     public Phone getWrappedPhone() {
226         return _phone;
227     }
228 
229     private Phone _phone;
230 }