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