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.announcements.model;
24  
25  
26  /**
27   * <a href="AnnouncementsEntrySoap.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 AnnouncementsEntry}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       AnnouncementsEntry
40   * @generated
41   */
42  public class AnnouncementsEntryWrapper implements AnnouncementsEntry {
43      public AnnouncementsEntryWrapper(AnnouncementsEntry announcementsEntry) {
44          _announcementsEntry = announcementsEntry;
45      }
46  
47      public long getPrimaryKey() {
48          return _announcementsEntry.getPrimaryKey();
49      }
50  
51      public void setPrimaryKey(long pk) {
52          _announcementsEntry.setPrimaryKey(pk);
53      }
54  
55      public java.lang.String getUuid() {
56          return _announcementsEntry.getUuid();
57      }
58  
59      public void setUuid(java.lang.String uuid) {
60          _announcementsEntry.setUuid(uuid);
61      }
62  
63      public long getEntryId() {
64          return _announcementsEntry.getEntryId();
65      }
66  
67      public void setEntryId(long entryId) {
68          _announcementsEntry.setEntryId(entryId);
69      }
70  
71      public long getCompanyId() {
72          return _announcementsEntry.getCompanyId();
73      }
74  
75      public void setCompanyId(long companyId) {
76          _announcementsEntry.setCompanyId(companyId);
77      }
78  
79      public long getUserId() {
80          return _announcementsEntry.getUserId();
81      }
82  
83      public void setUserId(long userId) {
84          _announcementsEntry.setUserId(userId);
85      }
86  
87      public java.lang.String getUserUuid()
88          throws com.liferay.portal.SystemException {
89          return _announcementsEntry.getUserUuid();
90      }
91  
92      public void setUserUuid(java.lang.String userUuid) {
93          _announcementsEntry.setUserUuid(userUuid);
94      }
95  
96      public java.lang.String getUserName() {
97          return _announcementsEntry.getUserName();
98      }
99  
100     public void setUserName(java.lang.String userName) {
101         _announcementsEntry.setUserName(userName);
102     }
103 
104     public java.util.Date getCreateDate() {
105         return _announcementsEntry.getCreateDate();
106     }
107 
108     public void setCreateDate(java.util.Date createDate) {
109         _announcementsEntry.setCreateDate(createDate);
110     }
111 
112     public java.util.Date getModifiedDate() {
113         return _announcementsEntry.getModifiedDate();
114     }
115 
116     public void setModifiedDate(java.util.Date modifiedDate) {
117         _announcementsEntry.setModifiedDate(modifiedDate);
118     }
119 
120     public java.lang.String getClassName() {
121         return _announcementsEntry.getClassName();
122     }
123 
124     public long getClassNameId() {
125         return _announcementsEntry.getClassNameId();
126     }
127 
128     public void setClassNameId(long classNameId) {
129         _announcementsEntry.setClassNameId(classNameId);
130     }
131 
132     public long getClassPK() {
133         return _announcementsEntry.getClassPK();
134     }
135 
136     public void setClassPK(long classPK) {
137         _announcementsEntry.setClassPK(classPK);
138     }
139 
140     public java.lang.String getTitle() {
141         return _announcementsEntry.getTitle();
142     }
143 
144     public void setTitle(java.lang.String title) {
145         _announcementsEntry.setTitle(title);
146     }
147 
148     public java.lang.String getContent() {
149         return _announcementsEntry.getContent();
150     }
151 
152     public void setContent(java.lang.String content) {
153         _announcementsEntry.setContent(content);
154     }
155 
156     public java.lang.String getUrl() {
157         return _announcementsEntry.getUrl();
158     }
159 
160     public void setUrl(java.lang.String url) {
161         _announcementsEntry.setUrl(url);
162     }
163 
164     public java.lang.String getType() {
165         return _announcementsEntry.getType();
166     }
167 
168     public void setType(java.lang.String type) {
169         _announcementsEntry.setType(type);
170     }
171 
172     public java.util.Date getDisplayDate() {
173         return _announcementsEntry.getDisplayDate();
174     }
175 
176     public void setDisplayDate(java.util.Date displayDate) {
177         _announcementsEntry.setDisplayDate(displayDate);
178     }
179 
180     public java.util.Date getExpirationDate() {
181         return _announcementsEntry.getExpirationDate();
182     }
183 
184     public void setExpirationDate(java.util.Date expirationDate) {
185         _announcementsEntry.setExpirationDate(expirationDate);
186     }
187 
188     public int getPriority() {
189         return _announcementsEntry.getPriority();
190     }
191 
192     public void setPriority(int priority) {
193         _announcementsEntry.setPriority(priority);
194     }
195 
196     public boolean getAlert() {
197         return _announcementsEntry.getAlert();
198     }
199 
200     public boolean isAlert() {
201         return _announcementsEntry.isAlert();
202     }
203 
204     public void setAlert(boolean alert) {
205         _announcementsEntry.setAlert(alert);
206     }
207 
208     public com.liferay.portlet.announcements.model.AnnouncementsEntry toEscapedModel() {
209         return _announcementsEntry.toEscapedModel();
210     }
211 
212     public boolean isNew() {
213         return _announcementsEntry.isNew();
214     }
215 
216     public boolean setNew(boolean n) {
217         return _announcementsEntry.setNew(n);
218     }
219 
220     public boolean isCachedModel() {
221         return _announcementsEntry.isCachedModel();
222     }
223 
224     public void setCachedModel(boolean cachedModel) {
225         _announcementsEntry.setCachedModel(cachedModel);
226     }
227 
228     public boolean isEscapedModel() {
229         return _announcementsEntry.isEscapedModel();
230     }
231 
232     public void setEscapedModel(boolean escapedModel) {
233         _announcementsEntry.setEscapedModel(escapedModel);
234     }
235 
236     public java.io.Serializable getPrimaryKeyObj() {
237         return _announcementsEntry.getPrimaryKeyObj();
238     }
239 
240     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
241         return _announcementsEntry.getExpandoBridge();
242     }
243 
244     public void setExpandoBridgeAttributes(
245         com.liferay.portal.service.ServiceContext serviceContext) {
246         _announcementsEntry.setExpandoBridgeAttributes(serviceContext);
247     }
248 
249     public java.lang.Object clone() {
250         return _announcementsEntry.clone();
251     }
252 
253     public int compareTo(
254         com.liferay.portlet.announcements.model.AnnouncementsEntry announcementsEntry) {
255         return _announcementsEntry.compareTo(announcementsEntry);
256     }
257 
258     public int hashCode() {
259         return _announcementsEntry.hashCode();
260     }
261 
262     public java.lang.String toString() {
263         return _announcementsEntry.toString();
264     }
265 
266     public java.lang.String toXmlString() {
267         return _announcementsEntry.toXmlString();
268     }
269 
270     public long getGroupId()
271         throws com.liferay.portal.PortalException,
272             com.liferay.portal.SystemException {
273         return _announcementsEntry.getGroupId();
274     }
275 
276     public AnnouncementsEntry getWrappedAnnouncementsEntry() {
277         return _announcementsEntry;
278     }
279 
280     private AnnouncementsEntry _announcementsEntry;
281 }