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     * <p>
019     * This class is a wrapper for {@link Phone}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       Phone
024     * @generated
025     */
026    public class PhoneWrapper implements Phone {
027            public PhoneWrapper(Phone phone) {
028                    _phone = phone;
029            }
030    
031            public long getPrimaryKey() {
032                    return _phone.getPrimaryKey();
033            }
034    
035            public void setPrimaryKey(long pk) {
036                    _phone.setPrimaryKey(pk);
037            }
038    
039            public long getPhoneId() {
040                    return _phone.getPhoneId();
041            }
042    
043            public void setPhoneId(long phoneId) {
044                    _phone.setPhoneId(phoneId);
045            }
046    
047            public long getCompanyId() {
048                    return _phone.getCompanyId();
049            }
050    
051            public void setCompanyId(long companyId) {
052                    _phone.setCompanyId(companyId);
053            }
054    
055            public long getUserId() {
056                    return _phone.getUserId();
057            }
058    
059            public void setUserId(long userId) {
060                    _phone.setUserId(userId);
061            }
062    
063            public java.lang.String getUserUuid()
064                    throws com.liferay.portal.kernel.exception.SystemException {
065                    return _phone.getUserUuid();
066            }
067    
068            public void setUserUuid(java.lang.String userUuid) {
069                    _phone.setUserUuid(userUuid);
070            }
071    
072            public java.lang.String getUserName() {
073                    return _phone.getUserName();
074            }
075    
076            public void setUserName(java.lang.String userName) {
077                    _phone.setUserName(userName);
078            }
079    
080            public java.util.Date getCreateDate() {
081                    return _phone.getCreateDate();
082            }
083    
084            public void setCreateDate(java.util.Date createDate) {
085                    _phone.setCreateDate(createDate);
086            }
087    
088            public java.util.Date getModifiedDate() {
089                    return _phone.getModifiedDate();
090            }
091    
092            public void setModifiedDate(java.util.Date modifiedDate) {
093                    _phone.setModifiedDate(modifiedDate);
094            }
095    
096            public java.lang.String getClassName() {
097                    return _phone.getClassName();
098            }
099    
100            public long getClassNameId() {
101                    return _phone.getClassNameId();
102            }
103    
104            public void setClassNameId(long classNameId) {
105                    _phone.setClassNameId(classNameId);
106            }
107    
108            public long getClassPK() {
109                    return _phone.getClassPK();
110            }
111    
112            public void setClassPK(long classPK) {
113                    _phone.setClassPK(classPK);
114            }
115    
116            public java.lang.String getNumber() {
117                    return _phone.getNumber();
118            }
119    
120            public void setNumber(java.lang.String number) {
121                    _phone.setNumber(number);
122            }
123    
124            public java.lang.String getExtension() {
125                    return _phone.getExtension();
126            }
127    
128            public void setExtension(java.lang.String extension) {
129                    _phone.setExtension(extension);
130            }
131    
132            public int getTypeId() {
133                    return _phone.getTypeId();
134            }
135    
136            public void setTypeId(int typeId) {
137                    _phone.setTypeId(typeId);
138            }
139    
140            public boolean getPrimary() {
141                    return _phone.getPrimary();
142            }
143    
144            public boolean isPrimary() {
145                    return _phone.isPrimary();
146            }
147    
148            public void setPrimary(boolean primary) {
149                    _phone.setPrimary(primary);
150            }
151    
152            public com.liferay.portal.model.Phone toEscapedModel() {
153                    return _phone.toEscapedModel();
154            }
155    
156            public boolean isNew() {
157                    return _phone.isNew();
158            }
159    
160            public void setNew(boolean n) {
161                    _phone.setNew(n);
162            }
163    
164            public boolean isCachedModel() {
165                    return _phone.isCachedModel();
166            }
167    
168            public void setCachedModel(boolean cachedModel) {
169                    _phone.setCachedModel(cachedModel);
170            }
171    
172            public boolean isEscapedModel() {
173                    return _phone.isEscapedModel();
174            }
175    
176            public void setEscapedModel(boolean escapedModel) {
177                    _phone.setEscapedModel(escapedModel);
178            }
179    
180            public java.io.Serializable getPrimaryKeyObj() {
181                    return _phone.getPrimaryKeyObj();
182            }
183    
184            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
185                    return _phone.getExpandoBridge();
186            }
187    
188            public void setExpandoBridgeAttributes(
189                    com.liferay.portal.service.ServiceContext serviceContext) {
190                    _phone.setExpandoBridgeAttributes(serviceContext);
191            }
192    
193            public java.lang.Object clone() {
194                    return _phone.clone();
195            }
196    
197            public int compareTo(com.liferay.portal.model.Phone phone) {
198                    return _phone.compareTo(phone);
199            }
200    
201            public int hashCode() {
202                    return _phone.hashCode();
203            }
204    
205            public java.lang.String toString() {
206                    return _phone.toString();
207            }
208    
209            public java.lang.String toXmlString() {
210                    return _phone.toXmlString();
211            }
212    
213            public com.liferay.portal.model.ListType getType()
214                    throws com.liferay.portal.kernel.exception.PortalException,
215                            com.liferay.portal.kernel.exception.SystemException {
216                    return _phone.getType();
217            }
218    
219            public Phone getWrappedPhone() {
220                    return _phone;
221            }
222    
223            private Phone _phone;
224    }