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