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.shopping.model;
24  
25  
26  /**
27   * <a href="ShoppingCategorySoap.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 ShoppingCategory}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       ShoppingCategory
40   * @generated
41   */
42  public class ShoppingCategoryWrapper implements ShoppingCategory {
43      public ShoppingCategoryWrapper(ShoppingCategory shoppingCategory) {
44          _shoppingCategory = shoppingCategory;
45      }
46  
47      public long getPrimaryKey() {
48          return _shoppingCategory.getPrimaryKey();
49      }
50  
51      public void setPrimaryKey(long pk) {
52          _shoppingCategory.setPrimaryKey(pk);
53      }
54  
55      public long getCategoryId() {
56          return _shoppingCategory.getCategoryId();
57      }
58  
59      public void setCategoryId(long categoryId) {
60          _shoppingCategory.setCategoryId(categoryId);
61      }
62  
63      public long getGroupId() {
64          return _shoppingCategory.getGroupId();
65      }
66  
67      public void setGroupId(long groupId) {
68          _shoppingCategory.setGroupId(groupId);
69      }
70  
71      public long getCompanyId() {
72          return _shoppingCategory.getCompanyId();
73      }
74  
75      public void setCompanyId(long companyId) {
76          _shoppingCategory.setCompanyId(companyId);
77      }
78  
79      public long getUserId() {
80          return _shoppingCategory.getUserId();
81      }
82  
83      public void setUserId(long userId) {
84          _shoppingCategory.setUserId(userId);
85      }
86  
87      public java.lang.String getUserUuid()
88          throws com.liferay.portal.SystemException {
89          return _shoppingCategory.getUserUuid();
90      }
91  
92      public void setUserUuid(java.lang.String userUuid) {
93          _shoppingCategory.setUserUuid(userUuid);
94      }
95  
96      public java.lang.String getUserName() {
97          return _shoppingCategory.getUserName();
98      }
99  
100     public void setUserName(java.lang.String userName) {
101         _shoppingCategory.setUserName(userName);
102     }
103 
104     public java.util.Date getCreateDate() {
105         return _shoppingCategory.getCreateDate();
106     }
107 
108     public void setCreateDate(java.util.Date createDate) {
109         _shoppingCategory.setCreateDate(createDate);
110     }
111 
112     public java.util.Date getModifiedDate() {
113         return _shoppingCategory.getModifiedDate();
114     }
115 
116     public void setModifiedDate(java.util.Date modifiedDate) {
117         _shoppingCategory.setModifiedDate(modifiedDate);
118     }
119 
120     public long getParentCategoryId() {
121         return _shoppingCategory.getParentCategoryId();
122     }
123 
124     public void setParentCategoryId(long parentCategoryId) {
125         _shoppingCategory.setParentCategoryId(parentCategoryId);
126     }
127 
128     public java.lang.String getName() {
129         return _shoppingCategory.getName();
130     }
131 
132     public void setName(java.lang.String name) {
133         _shoppingCategory.setName(name);
134     }
135 
136     public java.lang.String getDescription() {
137         return _shoppingCategory.getDescription();
138     }
139 
140     public void setDescription(java.lang.String description) {
141         _shoppingCategory.setDescription(description);
142     }
143 
144     public com.liferay.portlet.shopping.model.ShoppingCategory toEscapedModel() {
145         return _shoppingCategory.toEscapedModel();
146     }
147 
148     public boolean isNew() {
149         return _shoppingCategory.isNew();
150     }
151 
152     public boolean setNew(boolean n) {
153         return _shoppingCategory.setNew(n);
154     }
155 
156     public boolean isCachedModel() {
157         return _shoppingCategory.isCachedModel();
158     }
159 
160     public void setCachedModel(boolean cachedModel) {
161         _shoppingCategory.setCachedModel(cachedModel);
162     }
163 
164     public boolean isEscapedModel() {
165         return _shoppingCategory.isEscapedModel();
166     }
167 
168     public void setEscapedModel(boolean escapedModel) {
169         _shoppingCategory.setEscapedModel(escapedModel);
170     }
171 
172     public java.io.Serializable getPrimaryKeyObj() {
173         return _shoppingCategory.getPrimaryKeyObj();
174     }
175 
176     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
177         return _shoppingCategory.getExpandoBridge();
178     }
179 
180     public void setExpandoBridgeAttributes(
181         com.liferay.portal.service.ServiceContext serviceContext) {
182         _shoppingCategory.setExpandoBridgeAttributes(serviceContext);
183     }
184 
185     public java.lang.Object clone() {
186         return _shoppingCategory.clone();
187     }
188 
189     public int compareTo(
190         com.liferay.portlet.shopping.model.ShoppingCategory shoppingCategory) {
191         return _shoppingCategory.compareTo(shoppingCategory);
192     }
193 
194     public int hashCode() {
195         return _shoppingCategory.hashCode();
196     }
197 
198     public java.lang.String toString() {
199         return _shoppingCategory.toString();
200     }
201 
202     public java.lang.String toXmlString() {
203         return _shoppingCategory.toXmlString();
204     }
205 
206     public boolean isRoot() {
207         return _shoppingCategory.isRoot();
208     }
209 
210     public ShoppingCategory getWrappedShoppingCategory() {
211         return _shoppingCategory;
212     }
213 
214     private ShoppingCategory _shoppingCategory;
215 }