001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portlet.announcements.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link AnnouncementsDelivery}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       AnnouncementsDelivery
024     * @generated
025     */
026    public class AnnouncementsDeliveryWrapper implements AnnouncementsDelivery {
027            public AnnouncementsDeliveryWrapper(
028                    AnnouncementsDelivery announcementsDelivery) {
029                    _announcementsDelivery = announcementsDelivery;
030            }
031    
032            /**
033            * Gets the primary key of this announcements delivery.
034            *
035            * @return the primary key of this announcements delivery
036            */
037            public long getPrimaryKey() {
038                    return _announcementsDelivery.getPrimaryKey();
039            }
040    
041            /**
042            * Sets the primary key of this announcements delivery
043            *
044            * @param pk the primary key of this announcements delivery
045            */
046            public void setPrimaryKey(long pk) {
047                    _announcementsDelivery.setPrimaryKey(pk);
048            }
049    
050            /**
051            * Gets the delivery id of this announcements delivery.
052            *
053            * @return the delivery id of this announcements delivery
054            */
055            public long getDeliveryId() {
056                    return _announcementsDelivery.getDeliveryId();
057            }
058    
059            /**
060            * Sets the delivery id of this announcements delivery.
061            *
062            * @param deliveryId the delivery id of this announcements delivery
063            */
064            public void setDeliveryId(long deliveryId) {
065                    _announcementsDelivery.setDeliveryId(deliveryId);
066            }
067    
068            /**
069            * Gets the company id of this announcements delivery.
070            *
071            * @return the company id of this announcements delivery
072            */
073            public long getCompanyId() {
074                    return _announcementsDelivery.getCompanyId();
075            }
076    
077            /**
078            * Sets the company id of this announcements delivery.
079            *
080            * @param companyId the company id of this announcements delivery
081            */
082            public void setCompanyId(long companyId) {
083                    _announcementsDelivery.setCompanyId(companyId);
084            }
085    
086            /**
087            * Gets the user id of this announcements delivery.
088            *
089            * @return the user id of this announcements delivery
090            */
091            public long getUserId() {
092                    return _announcementsDelivery.getUserId();
093            }
094    
095            /**
096            * Sets the user id of this announcements delivery.
097            *
098            * @param userId the user id of this announcements delivery
099            */
100            public void setUserId(long userId) {
101                    _announcementsDelivery.setUserId(userId);
102            }
103    
104            /**
105            * Gets the user uuid of this announcements delivery.
106            *
107            * @return the user uuid of this announcements delivery
108            * @throws SystemException if a system exception occurred
109            */
110            public java.lang.String getUserUuid()
111                    throws com.liferay.portal.kernel.exception.SystemException {
112                    return _announcementsDelivery.getUserUuid();
113            }
114    
115            /**
116            * Sets the user uuid of this announcements delivery.
117            *
118            * @param userUuid the user uuid of this announcements delivery
119            */
120            public void setUserUuid(java.lang.String userUuid) {
121                    _announcementsDelivery.setUserUuid(userUuid);
122            }
123    
124            /**
125            * Gets the type of this announcements delivery.
126            *
127            * @return the type of this announcements delivery
128            */
129            public java.lang.String getType() {
130                    return _announcementsDelivery.getType();
131            }
132    
133            /**
134            * Sets the type of this announcements delivery.
135            *
136            * @param type the type of this announcements delivery
137            */
138            public void setType(java.lang.String type) {
139                    _announcementsDelivery.setType(type);
140            }
141    
142            /**
143            * Gets the email of this announcements delivery.
144            *
145            * @return the email of this announcements delivery
146            */
147            public boolean getEmail() {
148                    return _announcementsDelivery.getEmail();
149            }
150    
151            /**
152            * Determines whether this announcements delivery is email.
153            *
154            * @return whether this announcements delivery is email
155            */
156            public boolean isEmail() {
157                    return _announcementsDelivery.isEmail();
158            }
159    
160            /**
161            * Sets whether this {$entity.humanName} is email.
162            *
163            * @param email the email of this announcements delivery
164            */
165            public void setEmail(boolean email) {
166                    _announcementsDelivery.setEmail(email);
167            }
168    
169            /**
170            * Gets the sms of this announcements delivery.
171            *
172            * @return the sms of this announcements delivery
173            */
174            public boolean getSms() {
175                    return _announcementsDelivery.getSms();
176            }
177    
178            /**
179            * Determines whether this announcements delivery is sms.
180            *
181            * @return whether this announcements delivery is sms
182            */
183            public boolean isSms() {
184                    return _announcementsDelivery.isSms();
185            }
186    
187            /**
188            * Sets whether this {$entity.humanName} is sms.
189            *
190            * @param sms the sms of this announcements delivery
191            */
192            public void setSms(boolean sms) {
193                    _announcementsDelivery.setSms(sms);
194            }
195    
196            /**
197            * Gets the website of this announcements delivery.
198            *
199            * @return the website of this announcements delivery
200            */
201            public boolean getWebsite() {
202                    return _announcementsDelivery.getWebsite();
203            }
204    
205            /**
206            * Determines whether this announcements delivery is website.
207            *
208            * @return whether this announcements delivery is website
209            */
210            public boolean isWebsite() {
211                    return _announcementsDelivery.isWebsite();
212            }
213    
214            /**
215            * Sets whether this {$entity.humanName} is website.
216            *
217            * @param website the website of this announcements delivery
218            */
219            public void setWebsite(boolean website) {
220                    _announcementsDelivery.setWebsite(website);
221            }
222    
223            public boolean isNew() {
224                    return _announcementsDelivery.isNew();
225            }
226    
227            public void setNew(boolean n) {
228                    _announcementsDelivery.setNew(n);
229            }
230    
231            public boolean isCachedModel() {
232                    return _announcementsDelivery.isCachedModel();
233            }
234    
235            public void setCachedModel(boolean cachedModel) {
236                    _announcementsDelivery.setCachedModel(cachedModel);
237            }
238    
239            public boolean isEscapedModel() {
240                    return _announcementsDelivery.isEscapedModel();
241            }
242    
243            public void setEscapedModel(boolean escapedModel) {
244                    _announcementsDelivery.setEscapedModel(escapedModel);
245            }
246    
247            public java.io.Serializable getPrimaryKeyObj() {
248                    return _announcementsDelivery.getPrimaryKeyObj();
249            }
250    
251            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
252                    return _announcementsDelivery.getExpandoBridge();
253            }
254    
255            public void setExpandoBridgeAttributes(
256                    com.liferay.portal.service.ServiceContext serviceContext) {
257                    _announcementsDelivery.setExpandoBridgeAttributes(serviceContext);
258            }
259    
260            public java.lang.Object clone() {
261                    return _announcementsDelivery.clone();
262            }
263    
264            public int compareTo(
265                    com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery) {
266                    return _announcementsDelivery.compareTo(announcementsDelivery);
267            }
268    
269            public int hashCode() {
270                    return _announcementsDelivery.hashCode();
271            }
272    
273            public com.liferay.portlet.announcements.model.AnnouncementsDelivery toEscapedModel() {
274                    return _announcementsDelivery.toEscapedModel();
275            }
276    
277            public java.lang.String toString() {
278                    return _announcementsDelivery.toString();
279            }
280    
281            public java.lang.String toXmlString() {
282                    return _announcementsDelivery.toXmlString();
283            }
284    
285            public AnnouncementsDelivery getWrappedAnnouncementsDelivery() {
286                    return _announcementsDelivery;
287            }
288    
289            private AnnouncementsDelivery _announcementsDelivery;
290    }