1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portlet.messageboards.model;
24  
25  
26  /**
27   * <a href="MBDiscussionSoap.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This class is a wrapper for {@link MBDiscussion}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       MBDiscussion
40   * @generated
41   */
42  public class MBDiscussionWrapper implements MBDiscussion {
43      public MBDiscussionWrapper(MBDiscussion mbDiscussion) {
44          _mbDiscussion = mbDiscussion;
45      }
46  
47      public long getPrimaryKey() {
48          return _mbDiscussion.getPrimaryKey();
49      }
50  
51      public void setPrimaryKey(long pk) {
52          _mbDiscussion.setPrimaryKey(pk);
53      }
54  
55      public long getDiscussionId() {
56          return _mbDiscussion.getDiscussionId();
57      }
58  
59      public void setDiscussionId(long discussionId) {
60          _mbDiscussion.setDiscussionId(discussionId);
61      }
62  
63      public java.lang.String getClassName() {
64          return _mbDiscussion.getClassName();
65      }
66  
67      public long getClassNameId() {
68          return _mbDiscussion.getClassNameId();
69      }
70  
71      public void setClassNameId(long classNameId) {
72          _mbDiscussion.setClassNameId(classNameId);
73      }
74  
75      public long getClassPK() {
76          return _mbDiscussion.getClassPK();
77      }
78  
79      public void setClassPK(long classPK) {
80          _mbDiscussion.setClassPK(classPK);
81      }
82  
83      public long getThreadId() {
84          return _mbDiscussion.getThreadId();
85      }
86  
87      public void setThreadId(long threadId) {
88          _mbDiscussion.setThreadId(threadId);
89      }
90  
91      public com.liferay.portlet.messageboards.model.MBDiscussion toEscapedModel() {
92          return _mbDiscussion.toEscapedModel();
93      }
94  
95      public boolean isNew() {
96          return _mbDiscussion.isNew();
97      }
98  
99      public boolean setNew(boolean n) {
100         return _mbDiscussion.setNew(n);
101     }
102 
103     public boolean isCachedModel() {
104         return _mbDiscussion.isCachedModel();
105     }
106 
107     public void setCachedModel(boolean cachedModel) {
108         _mbDiscussion.setCachedModel(cachedModel);
109     }
110 
111     public boolean isEscapedModel() {
112         return _mbDiscussion.isEscapedModel();
113     }
114 
115     public void setEscapedModel(boolean escapedModel) {
116         _mbDiscussion.setEscapedModel(escapedModel);
117     }
118 
119     public java.io.Serializable getPrimaryKeyObj() {
120         return _mbDiscussion.getPrimaryKeyObj();
121     }
122 
123     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
124         return _mbDiscussion.getExpandoBridge();
125     }
126 
127     public void setExpandoBridgeAttributes(
128         com.liferay.portal.service.ServiceContext serviceContext) {
129         _mbDiscussion.setExpandoBridgeAttributes(serviceContext);
130     }
131 
132     public java.lang.Object clone() {
133         return _mbDiscussion.clone();
134     }
135 
136     public int compareTo(
137         com.liferay.portlet.messageboards.model.MBDiscussion mbDiscussion) {
138         return _mbDiscussion.compareTo(mbDiscussion);
139     }
140 
141     public int hashCode() {
142         return _mbDiscussion.hashCode();
143     }
144 
145     public java.lang.String toString() {
146         return _mbDiscussion.toString();
147     }
148 
149     public java.lang.String toXmlString() {
150         return _mbDiscussion.toXmlString();
151     }
152 
153     public MBDiscussion getWrappedMBDiscussion() {
154         return _mbDiscussion;
155     }
156 
157     private MBDiscussion _mbDiscussion;
158 }