1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.announcements.model;
16  
17  
18  /**
19   * <a href="AnnouncementsDeliverySoap.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link AnnouncementsDelivery}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       AnnouncementsDelivery
32   * @generated
33   */
34  public class AnnouncementsDeliveryWrapper implements AnnouncementsDelivery {
35      public AnnouncementsDeliveryWrapper(
36          AnnouncementsDelivery announcementsDelivery) {
37          _announcementsDelivery = announcementsDelivery;
38      }
39  
40      public long getPrimaryKey() {
41          return _announcementsDelivery.getPrimaryKey();
42      }
43  
44      public void setPrimaryKey(long pk) {
45          _announcementsDelivery.setPrimaryKey(pk);
46      }
47  
48      public long getDeliveryId() {
49          return _announcementsDelivery.getDeliveryId();
50      }
51  
52      public void setDeliveryId(long deliveryId) {
53          _announcementsDelivery.setDeliveryId(deliveryId);
54      }
55  
56      public long getCompanyId() {
57          return _announcementsDelivery.getCompanyId();
58      }
59  
60      public void setCompanyId(long companyId) {
61          _announcementsDelivery.setCompanyId(companyId);
62      }
63  
64      public long getUserId() {
65          return _announcementsDelivery.getUserId();
66      }
67  
68      public void setUserId(long userId) {
69          _announcementsDelivery.setUserId(userId);
70      }
71  
72      public java.lang.String getUserUuid()
73          throws com.liferay.portal.kernel.exception.SystemException {
74          return _announcementsDelivery.getUserUuid();
75      }
76  
77      public void setUserUuid(java.lang.String userUuid) {
78          _announcementsDelivery.setUserUuid(userUuid);
79      }
80  
81      public java.lang.String getType() {
82          return _announcementsDelivery.getType();
83      }
84  
85      public void setType(java.lang.String type) {
86          _announcementsDelivery.setType(type);
87      }
88  
89      public boolean getEmail() {
90          return _announcementsDelivery.getEmail();
91      }
92  
93      public boolean isEmail() {
94          return _announcementsDelivery.isEmail();
95      }
96  
97      public void setEmail(boolean email) {
98          _announcementsDelivery.setEmail(email);
99      }
100 
101     public boolean getSms() {
102         return _announcementsDelivery.getSms();
103     }
104 
105     public boolean isSms() {
106         return _announcementsDelivery.isSms();
107     }
108 
109     public void setSms(boolean sms) {
110         _announcementsDelivery.setSms(sms);
111     }
112 
113     public boolean getWebsite() {
114         return _announcementsDelivery.getWebsite();
115     }
116 
117     public boolean isWebsite() {
118         return _announcementsDelivery.isWebsite();
119     }
120 
121     public void setWebsite(boolean website) {
122         _announcementsDelivery.setWebsite(website);
123     }
124 
125     public com.liferay.portlet.announcements.model.AnnouncementsDelivery toEscapedModel() {
126         return _announcementsDelivery.toEscapedModel();
127     }
128 
129     public boolean isNew() {
130         return _announcementsDelivery.isNew();
131     }
132 
133     public boolean setNew(boolean n) {
134         return _announcementsDelivery.setNew(n);
135     }
136 
137     public boolean isCachedModel() {
138         return _announcementsDelivery.isCachedModel();
139     }
140 
141     public void setCachedModel(boolean cachedModel) {
142         _announcementsDelivery.setCachedModel(cachedModel);
143     }
144 
145     public boolean isEscapedModel() {
146         return _announcementsDelivery.isEscapedModel();
147     }
148 
149     public void setEscapedModel(boolean escapedModel) {
150         _announcementsDelivery.setEscapedModel(escapedModel);
151     }
152 
153     public java.io.Serializable getPrimaryKeyObj() {
154         return _announcementsDelivery.getPrimaryKeyObj();
155     }
156 
157     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
158         return _announcementsDelivery.getExpandoBridge();
159     }
160 
161     public void setExpandoBridgeAttributes(
162         com.liferay.portal.service.ServiceContext serviceContext) {
163         _announcementsDelivery.setExpandoBridgeAttributes(serviceContext);
164     }
165 
166     public java.lang.Object clone() {
167         return _announcementsDelivery.clone();
168     }
169 
170     public int compareTo(
171         com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery) {
172         return _announcementsDelivery.compareTo(announcementsDelivery);
173     }
174 
175     public int hashCode() {
176         return _announcementsDelivery.hashCode();
177     }
178 
179     public java.lang.String toString() {
180         return _announcementsDelivery.toString();
181     }
182 
183     public java.lang.String toXmlString() {
184         return _announcementsDelivery.toXmlString();
185     }
186 
187     public AnnouncementsDelivery getWrappedAnnouncementsDelivery() {
188         return _announcementsDelivery;
189     }
190 
191     private AnnouncementsDelivery _announcementsDelivery;
192 }