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="MBBanSoap.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 MBBan}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       MBBan
40   * @generated
41   */
42  public class MBBanWrapper implements MBBan {
43      public MBBanWrapper(MBBan mbBan) {
44          _mbBan = mbBan;
45      }
46  
47      public long getPrimaryKey() {
48          return _mbBan.getPrimaryKey();
49      }
50  
51      public void setPrimaryKey(long pk) {
52          _mbBan.setPrimaryKey(pk);
53      }
54  
55      public long getBanId() {
56          return _mbBan.getBanId();
57      }
58  
59      public void setBanId(long banId) {
60          _mbBan.setBanId(banId);
61      }
62  
63      public long getGroupId() {
64          return _mbBan.getGroupId();
65      }
66  
67      public void setGroupId(long groupId) {
68          _mbBan.setGroupId(groupId);
69      }
70  
71      public long getCompanyId() {
72          return _mbBan.getCompanyId();
73      }
74  
75      public void setCompanyId(long companyId) {
76          _mbBan.setCompanyId(companyId);
77      }
78  
79      public long getUserId() {
80          return _mbBan.getUserId();
81      }
82  
83      public void setUserId(long userId) {
84          _mbBan.setUserId(userId);
85      }
86  
87      public java.lang.String getUserUuid()
88          throws com.liferay.portal.SystemException {
89          return _mbBan.getUserUuid();
90      }
91  
92      public void setUserUuid(java.lang.String userUuid) {
93          _mbBan.setUserUuid(userUuid);
94      }
95  
96      public java.lang.String getUserName() {
97          return _mbBan.getUserName();
98      }
99  
100     public void setUserName(java.lang.String userName) {
101         _mbBan.setUserName(userName);
102     }
103 
104     public java.util.Date getCreateDate() {
105         return _mbBan.getCreateDate();
106     }
107 
108     public void setCreateDate(java.util.Date createDate) {
109         _mbBan.setCreateDate(createDate);
110     }
111 
112     public java.util.Date getModifiedDate() {
113         return _mbBan.getModifiedDate();
114     }
115 
116     public void setModifiedDate(java.util.Date modifiedDate) {
117         _mbBan.setModifiedDate(modifiedDate);
118     }
119 
120     public long getBanUserId() {
121         return _mbBan.getBanUserId();
122     }
123 
124     public void setBanUserId(long banUserId) {
125         _mbBan.setBanUserId(banUserId);
126     }
127 
128     public java.lang.String getBanUserUuid()
129         throws com.liferay.portal.SystemException {
130         return _mbBan.getBanUserUuid();
131     }
132 
133     public void setBanUserUuid(java.lang.String banUserUuid) {
134         _mbBan.setBanUserUuid(banUserUuid);
135     }
136 
137     public com.liferay.portlet.messageboards.model.MBBan toEscapedModel() {
138         return _mbBan.toEscapedModel();
139     }
140 
141     public boolean isNew() {
142         return _mbBan.isNew();
143     }
144 
145     public boolean setNew(boolean n) {
146         return _mbBan.setNew(n);
147     }
148 
149     public boolean isCachedModel() {
150         return _mbBan.isCachedModel();
151     }
152 
153     public void setCachedModel(boolean cachedModel) {
154         _mbBan.setCachedModel(cachedModel);
155     }
156 
157     public boolean isEscapedModel() {
158         return _mbBan.isEscapedModel();
159     }
160 
161     public void setEscapedModel(boolean escapedModel) {
162         _mbBan.setEscapedModel(escapedModel);
163     }
164 
165     public java.io.Serializable getPrimaryKeyObj() {
166         return _mbBan.getPrimaryKeyObj();
167     }
168 
169     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
170         return _mbBan.getExpandoBridge();
171     }
172 
173     public void setExpandoBridgeAttributes(
174         com.liferay.portal.service.ServiceContext serviceContext) {
175         _mbBan.setExpandoBridgeAttributes(serviceContext);
176     }
177 
178     public java.lang.Object clone() {
179         return _mbBan.clone();
180     }
181 
182     public int compareTo(com.liferay.portlet.messageboards.model.MBBan mbBan) {
183         return _mbBan.compareTo(mbBan);
184     }
185 
186     public int hashCode() {
187         return _mbBan.hashCode();
188     }
189 
190     public java.lang.String toString() {
191         return _mbBan.toString();
192     }
193 
194     public java.lang.String toXmlString() {
195         return _mbBan.toXmlString();
196     }
197 
198     public MBBan getWrappedMBBan() {
199         return _mbBan;
200     }
201 
202     private MBBan _mbBan;
203 }