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