1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.messageboards.model;
16  
17  
18  /**
19   * <a href="MBDiscussionSoap.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link MBDiscussion}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       MBDiscussion
32   * @generated
33   */
34  public class MBDiscussionWrapper implements MBDiscussion {
35      public MBDiscussionWrapper(MBDiscussion mbDiscussion) {
36          _mbDiscussion = mbDiscussion;
37      }
38  
39      public long getPrimaryKey() {
40          return _mbDiscussion.getPrimaryKey();
41      }
42  
43      public void setPrimaryKey(long pk) {
44          _mbDiscussion.setPrimaryKey(pk);
45      }
46  
47      public long getDiscussionId() {
48          return _mbDiscussion.getDiscussionId();
49      }
50  
51      public void setDiscussionId(long discussionId) {
52          _mbDiscussion.setDiscussionId(discussionId);
53      }
54  
55      public java.lang.String getClassName() {
56          return _mbDiscussion.getClassName();
57      }
58  
59      public long getClassNameId() {
60          return _mbDiscussion.getClassNameId();
61      }
62  
63      public void setClassNameId(long classNameId) {
64          _mbDiscussion.setClassNameId(classNameId);
65      }
66  
67      public long getClassPK() {
68          return _mbDiscussion.getClassPK();
69      }
70  
71      public void setClassPK(long classPK) {
72          _mbDiscussion.setClassPK(classPK);
73      }
74  
75      public long getThreadId() {
76          return _mbDiscussion.getThreadId();
77      }
78  
79      public void setThreadId(long threadId) {
80          _mbDiscussion.setThreadId(threadId);
81      }
82  
83      public com.liferay.portlet.messageboards.model.MBDiscussion toEscapedModel() {
84          return _mbDiscussion.toEscapedModel();
85      }
86  
87      public boolean isNew() {
88          return _mbDiscussion.isNew();
89      }
90  
91      public boolean setNew(boolean n) {
92          return _mbDiscussion.setNew(n);
93      }
94  
95      public boolean isCachedModel() {
96          return _mbDiscussion.isCachedModel();
97      }
98  
99      public void setCachedModel(boolean cachedModel) {
100         _mbDiscussion.setCachedModel(cachedModel);
101     }
102 
103     public boolean isEscapedModel() {
104         return _mbDiscussion.isEscapedModel();
105     }
106 
107     public void setEscapedModel(boolean escapedModel) {
108         _mbDiscussion.setEscapedModel(escapedModel);
109     }
110 
111     public java.io.Serializable getPrimaryKeyObj() {
112         return _mbDiscussion.getPrimaryKeyObj();
113     }
114 
115     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
116         return _mbDiscussion.getExpandoBridge();
117     }
118 
119     public void setExpandoBridgeAttributes(
120         com.liferay.portal.service.ServiceContext serviceContext) {
121         _mbDiscussion.setExpandoBridgeAttributes(serviceContext);
122     }
123 
124     public java.lang.Object clone() {
125         return _mbDiscussion.clone();
126     }
127 
128     public int compareTo(
129         com.liferay.portlet.messageboards.model.MBDiscussion mbDiscussion) {
130         return _mbDiscussion.compareTo(mbDiscussion);
131     }
132 
133     public int hashCode() {
134         return _mbDiscussion.hashCode();
135     }
136 
137     public java.lang.String toString() {
138         return _mbDiscussion.toString();
139     }
140 
141     public java.lang.String toXmlString() {
142         return _mbDiscussion.toXmlString();
143     }
144 
145     public MBDiscussion getWrappedMBDiscussion() {
146         return _mbDiscussion;
147     }
148 
149     private MBDiscussion _mbDiscussion;
150 }