001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portlet.messageboards.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link MBBan}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       MBBan
024     * @generated
025     */
026    public class MBBanWrapper implements MBBan {
027            public MBBanWrapper(MBBan mbBan) {
028                    _mbBan = mbBan;
029            }
030    
031            /**
032            * Gets the primary key of this message boards ban.
033            *
034            * @return the primary key of this message boards ban
035            */
036            public long getPrimaryKey() {
037                    return _mbBan.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this message boards ban
042            *
043            * @param pk the primary key of this message boards ban
044            */
045            public void setPrimaryKey(long pk) {
046                    _mbBan.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the ban id of this message boards ban.
051            *
052            * @return the ban id of this message boards ban
053            */
054            public long getBanId() {
055                    return _mbBan.getBanId();
056            }
057    
058            /**
059            * Sets the ban id of this message boards ban.
060            *
061            * @param banId the ban id of this message boards ban
062            */
063            public void setBanId(long banId) {
064                    _mbBan.setBanId(banId);
065            }
066    
067            /**
068            * Gets the group id of this message boards ban.
069            *
070            * @return the group id of this message boards ban
071            */
072            public long getGroupId() {
073                    return _mbBan.getGroupId();
074            }
075    
076            /**
077            * Sets the group id of this message boards ban.
078            *
079            * @param groupId the group id of this message boards ban
080            */
081            public void setGroupId(long groupId) {
082                    _mbBan.setGroupId(groupId);
083            }
084    
085            /**
086            * Gets the company id of this message boards ban.
087            *
088            * @return the company id of this message boards ban
089            */
090            public long getCompanyId() {
091                    return _mbBan.getCompanyId();
092            }
093    
094            /**
095            * Sets the company id of this message boards ban.
096            *
097            * @param companyId the company id of this message boards ban
098            */
099            public void setCompanyId(long companyId) {
100                    _mbBan.setCompanyId(companyId);
101            }
102    
103            /**
104            * Gets the user id of this message boards ban.
105            *
106            * @return the user id of this message boards ban
107            */
108            public long getUserId() {
109                    return _mbBan.getUserId();
110            }
111    
112            /**
113            * Sets the user id of this message boards ban.
114            *
115            * @param userId the user id of this message boards ban
116            */
117            public void setUserId(long userId) {
118                    _mbBan.setUserId(userId);
119            }
120    
121            /**
122            * Gets the user uuid of this message boards ban.
123            *
124            * @return the user uuid of this message boards ban
125            * @throws SystemException if a system exception occurred
126            */
127            public java.lang.String getUserUuid()
128                    throws com.liferay.portal.kernel.exception.SystemException {
129                    return _mbBan.getUserUuid();
130            }
131    
132            /**
133            * Sets the user uuid of this message boards ban.
134            *
135            * @param userUuid the user uuid of this message boards ban
136            */
137            public void setUserUuid(java.lang.String userUuid) {
138                    _mbBan.setUserUuid(userUuid);
139            }
140    
141            /**
142            * Gets the user name of this message boards ban.
143            *
144            * @return the user name of this message boards ban
145            */
146            public java.lang.String getUserName() {
147                    return _mbBan.getUserName();
148            }
149    
150            /**
151            * Sets the user name of this message boards ban.
152            *
153            * @param userName the user name of this message boards ban
154            */
155            public void setUserName(java.lang.String userName) {
156                    _mbBan.setUserName(userName);
157            }
158    
159            /**
160            * Gets the create date of this message boards ban.
161            *
162            * @return the create date of this message boards ban
163            */
164            public java.util.Date getCreateDate() {
165                    return _mbBan.getCreateDate();
166            }
167    
168            /**
169            * Sets the create date of this message boards ban.
170            *
171            * @param createDate the create date of this message boards ban
172            */
173            public void setCreateDate(java.util.Date createDate) {
174                    _mbBan.setCreateDate(createDate);
175            }
176    
177            /**
178            * Gets the modified date of this message boards ban.
179            *
180            * @return the modified date of this message boards ban
181            */
182            public java.util.Date getModifiedDate() {
183                    return _mbBan.getModifiedDate();
184            }
185    
186            /**
187            * Sets the modified date of this message boards ban.
188            *
189            * @param modifiedDate the modified date of this message boards ban
190            */
191            public void setModifiedDate(java.util.Date modifiedDate) {
192                    _mbBan.setModifiedDate(modifiedDate);
193            }
194    
195            /**
196            * Gets the ban user id of this message boards ban.
197            *
198            * @return the ban user id of this message boards ban
199            */
200            public long getBanUserId() {
201                    return _mbBan.getBanUserId();
202            }
203    
204            /**
205            * Sets the ban user id of this message boards ban.
206            *
207            * @param banUserId the ban user id of this message boards ban
208            */
209            public void setBanUserId(long banUserId) {
210                    _mbBan.setBanUserId(banUserId);
211            }
212    
213            /**
214            * Gets the ban user uuid of this message boards ban.
215            *
216            * @return the ban user uuid of this message boards ban
217            * @throws SystemException if a system exception occurred
218            */
219            public java.lang.String getBanUserUuid()
220                    throws com.liferay.portal.kernel.exception.SystemException {
221                    return _mbBan.getBanUserUuid();
222            }
223    
224            /**
225            * Sets the ban user uuid of this message boards ban.
226            *
227            * @param banUserUuid the ban user uuid of this message boards ban
228            */
229            public void setBanUserUuid(java.lang.String banUserUuid) {
230                    _mbBan.setBanUserUuid(banUserUuid);
231            }
232    
233            public boolean isNew() {
234                    return _mbBan.isNew();
235            }
236    
237            public void setNew(boolean n) {
238                    _mbBan.setNew(n);
239            }
240    
241            public boolean isCachedModel() {
242                    return _mbBan.isCachedModel();
243            }
244    
245            public void setCachedModel(boolean cachedModel) {
246                    _mbBan.setCachedModel(cachedModel);
247            }
248    
249            public boolean isEscapedModel() {
250                    return _mbBan.isEscapedModel();
251            }
252    
253            public void setEscapedModel(boolean escapedModel) {
254                    _mbBan.setEscapedModel(escapedModel);
255            }
256    
257            public java.io.Serializable getPrimaryKeyObj() {
258                    return _mbBan.getPrimaryKeyObj();
259            }
260    
261            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
262                    return _mbBan.getExpandoBridge();
263            }
264    
265            public void setExpandoBridgeAttributes(
266                    com.liferay.portal.service.ServiceContext serviceContext) {
267                    _mbBan.setExpandoBridgeAttributes(serviceContext);
268            }
269    
270            public java.lang.Object clone() {
271                    return _mbBan.clone();
272            }
273    
274            public int compareTo(com.liferay.portlet.messageboards.model.MBBan mbBan) {
275                    return _mbBan.compareTo(mbBan);
276            }
277    
278            public int hashCode() {
279                    return _mbBan.hashCode();
280            }
281    
282            public com.liferay.portlet.messageboards.model.MBBan toEscapedModel() {
283                    return _mbBan.toEscapedModel();
284            }
285    
286            public java.lang.String toString() {
287                    return _mbBan.toString();
288            }
289    
290            public java.lang.String toXmlString() {
291                    return _mbBan.toXmlString();
292            }
293    
294            public MBBan getWrappedMBBan() {
295                    return _mbBan;
296            }
297    
298            private MBBan _mbBan;
299    }