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