001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portal.model;
016    
017    
018    /**
019     * <p>
020     * This class is a wrapper for {@link Phone}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       Phone
025     * @generated
026     */
027    public class PhoneWrapper implements Phone {
028            public PhoneWrapper(Phone phone) {
029                    _phone = phone;
030            }
031    
032            public long getPrimaryKey() {
033                    return _phone.getPrimaryKey();
034            }
035    
036            public void setPrimaryKey(long pk) {
037                    _phone.setPrimaryKey(pk);
038            }
039    
040            public long getPhoneId() {
041                    return _phone.getPhoneId();
042            }
043    
044            public void setPhoneId(long phoneId) {
045                    _phone.setPhoneId(phoneId);
046            }
047    
048            public long getCompanyId() {
049                    return _phone.getCompanyId();
050            }
051    
052            public void setCompanyId(long companyId) {
053                    _phone.setCompanyId(companyId);
054            }
055    
056            public long getUserId() {
057                    return _phone.getUserId();
058            }
059    
060            public void setUserId(long userId) {
061                    _phone.setUserId(userId);
062            }
063    
064            public java.lang.String getUserUuid()
065                    throws com.liferay.portal.kernel.exception.SystemException {
066                    return _phone.getUserUuid();
067            }
068    
069            public void setUserUuid(java.lang.String userUuid) {
070                    _phone.setUserUuid(userUuid);
071            }
072    
073            public java.lang.String getUserName() {
074                    return _phone.getUserName();
075            }
076    
077            public void setUserName(java.lang.String userName) {
078                    _phone.setUserName(userName);
079            }
080    
081            public java.util.Date getCreateDate() {
082                    return _phone.getCreateDate();
083            }
084    
085            public void setCreateDate(java.util.Date createDate) {
086                    _phone.setCreateDate(createDate);
087            }
088    
089            public java.util.Date getModifiedDate() {
090                    return _phone.getModifiedDate();
091            }
092    
093            public void setModifiedDate(java.util.Date modifiedDate) {
094                    _phone.setModifiedDate(modifiedDate);
095            }
096    
097            public java.lang.String getClassName() {
098                    return _phone.getClassName();
099            }
100    
101            public long getClassNameId() {
102                    return _phone.getClassNameId();
103            }
104    
105            public void setClassNameId(long classNameId) {
106                    _phone.setClassNameId(classNameId);
107            }
108    
109            public long getClassPK() {
110                    return _phone.getClassPK();
111            }
112    
113            public void setClassPK(long classPK) {
114                    _phone.setClassPK(classPK);
115            }
116    
117            public java.lang.String getNumber() {
118                    return _phone.getNumber();
119            }
120    
121            public void setNumber(java.lang.String number) {
122                    _phone.setNumber(number);
123            }
124    
125            public java.lang.String getExtension() {
126                    return _phone.getExtension();
127            }
128    
129            public void setExtension(java.lang.String extension) {
130                    _phone.setExtension(extension);
131            }
132    
133            public int getTypeId() {
134                    return _phone.getTypeId();
135            }
136    
137            public void setTypeId(int typeId) {
138                    _phone.setTypeId(typeId);
139            }
140    
141            public boolean getPrimary() {
142                    return _phone.getPrimary();
143            }
144    
145            public boolean isPrimary() {
146                    return _phone.isPrimary();
147            }
148    
149            public void setPrimary(boolean primary) {
150                    _phone.setPrimary(primary);
151            }
152    
153            public com.liferay.portal.model.Phone toEscapedModel() {
154                    return _phone.toEscapedModel();
155            }
156    
157            public boolean isNew() {
158                    return _phone.isNew();
159            }
160    
161            public void setNew(boolean n) {
162                    _phone.setNew(n);
163            }
164    
165            public boolean isCachedModel() {
166                    return _phone.isCachedModel();
167            }
168    
169            public void setCachedModel(boolean cachedModel) {
170                    _phone.setCachedModel(cachedModel);
171            }
172    
173            public boolean isEscapedModel() {
174                    return _phone.isEscapedModel();
175            }
176    
177            public void setEscapedModel(boolean escapedModel) {
178                    _phone.setEscapedModel(escapedModel);
179            }
180    
181            public java.io.Serializable getPrimaryKeyObj() {
182                    return _phone.getPrimaryKeyObj();
183            }
184    
185            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
186                    return _phone.getExpandoBridge();
187            }
188    
189            public void setExpandoBridgeAttributes(
190                    com.liferay.portal.service.ServiceContext serviceContext) {
191                    _phone.setExpandoBridgeAttributes(serviceContext);
192            }
193    
194            public java.lang.Object clone() {
195                    return _phone.clone();
196            }
197    
198            public int compareTo(com.liferay.portal.model.Phone phone) {
199                    return _phone.compareTo(phone);
200            }
201    
202            public int hashCode() {
203                    return _phone.hashCode();
204            }
205    
206            public java.lang.String toString() {
207                    return _phone.toString();
208            }
209    
210            public java.lang.String toXmlString() {
211                    return _phone.toXmlString();
212            }
213    
214            public com.liferay.portal.model.ListType getType()
215                    throws com.liferay.portal.kernel.exception.PortalException,
216                            com.liferay.portal.kernel.exception.SystemException {
217                    return _phone.getType();
218            }
219    
220            public Phone getWrappedPhone() {
221                    return _phone;
222            }
223    
224            private Phone _phone;
225    }