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