001    /**
002     * Copyright (c) 2000-2011 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.portlet.messageboards.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link MBDiscussion}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       MBDiscussion
024     * @generated
025     */
026    public class MBDiscussionWrapper implements MBDiscussion {
027            public MBDiscussionWrapper(MBDiscussion mbDiscussion) {
028                    _mbDiscussion = mbDiscussion;
029            }
030    
031            public long getPrimaryKey() {
032                    return _mbDiscussion.getPrimaryKey();
033            }
034    
035            public void setPrimaryKey(long pk) {
036                    _mbDiscussion.setPrimaryKey(pk);
037            }
038    
039            public long getDiscussionId() {
040                    return _mbDiscussion.getDiscussionId();
041            }
042    
043            public void setDiscussionId(long discussionId) {
044                    _mbDiscussion.setDiscussionId(discussionId);
045            }
046    
047            public java.lang.String getClassName() {
048                    return _mbDiscussion.getClassName();
049            }
050    
051            public long getClassNameId() {
052                    return _mbDiscussion.getClassNameId();
053            }
054    
055            public void setClassNameId(long classNameId) {
056                    _mbDiscussion.setClassNameId(classNameId);
057            }
058    
059            public long getClassPK() {
060                    return _mbDiscussion.getClassPK();
061            }
062    
063            public void setClassPK(long classPK) {
064                    _mbDiscussion.setClassPK(classPK);
065            }
066    
067            public long getThreadId() {
068                    return _mbDiscussion.getThreadId();
069            }
070    
071            public void setThreadId(long threadId) {
072                    _mbDiscussion.setThreadId(threadId);
073            }
074    
075            public com.liferay.portlet.messageboards.model.MBDiscussion toEscapedModel() {
076                    return _mbDiscussion.toEscapedModel();
077            }
078    
079            public boolean isNew() {
080                    return _mbDiscussion.isNew();
081            }
082    
083            public void setNew(boolean n) {
084                    _mbDiscussion.setNew(n);
085            }
086    
087            public boolean isCachedModel() {
088                    return _mbDiscussion.isCachedModel();
089            }
090    
091            public void setCachedModel(boolean cachedModel) {
092                    _mbDiscussion.setCachedModel(cachedModel);
093            }
094    
095            public boolean isEscapedModel() {
096                    return _mbDiscussion.isEscapedModel();
097            }
098    
099            public void setEscapedModel(boolean escapedModel) {
100                    _mbDiscussion.setEscapedModel(escapedModel);
101            }
102    
103            public java.io.Serializable getPrimaryKeyObj() {
104                    return _mbDiscussion.getPrimaryKeyObj();
105            }
106    
107            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
108                    return _mbDiscussion.getExpandoBridge();
109            }
110    
111            public void setExpandoBridgeAttributes(
112                    com.liferay.portal.service.ServiceContext serviceContext) {
113                    _mbDiscussion.setExpandoBridgeAttributes(serviceContext);
114            }
115    
116            public java.lang.Object clone() {
117                    return _mbDiscussion.clone();
118            }
119    
120            public int compareTo(
121                    com.liferay.portlet.messageboards.model.MBDiscussion mbDiscussion) {
122                    return _mbDiscussion.compareTo(mbDiscussion);
123            }
124    
125            public int hashCode() {
126                    return _mbDiscussion.hashCode();
127            }
128    
129            public java.lang.String toString() {
130                    return _mbDiscussion.toString();
131            }
132    
133            public java.lang.String toXmlString() {
134                    return _mbDiscussion.toXmlString();
135            }
136    
137            public MBDiscussion getWrappedMBDiscussion() {
138                    return _mbDiscussion;
139            }
140    
141            private MBDiscussion _mbDiscussion;
142    }