001    /**
002     * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.asset.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link AssetCategoryProperty}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       AssetCategoryProperty
024     * @generated
025     */
026    public class AssetCategoryPropertyWrapper implements AssetCategoryProperty {
027            public AssetCategoryPropertyWrapper(
028                    AssetCategoryProperty assetCategoryProperty) {
029                    _assetCategoryProperty = assetCategoryProperty;
030            }
031    
032            public Class<?> getModelClass() {
033                    return AssetCategoryProperty.class;
034            }
035    
036            public String getModelClassName() {
037                    return AssetCategoryProperty.class.getName();
038            }
039    
040            /**
041            * Returns the primary key of this asset category property.
042            *
043            * @return the primary key of this asset category property
044            */
045            public long getPrimaryKey() {
046                    return _assetCategoryProperty.getPrimaryKey();
047            }
048    
049            /**
050            * Sets the primary key of this asset category property.
051            *
052            * @param primaryKey the primary key of this asset category property
053            */
054            public void setPrimaryKey(long primaryKey) {
055                    _assetCategoryProperty.setPrimaryKey(primaryKey);
056            }
057    
058            /**
059            * Returns the category property ID of this asset category property.
060            *
061            * @return the category property ID of this asset category property
062            */
063            public long getCategoryPropertyId() {
064                    return _assetCategoryProperty.getCategoryPropertyId();
065            }
066    
067            /**
068            * Sets the category property ID of this asset category property.
069            *
070            * @param categoryPropertyId the category property ID of this asset category property
071            */
072            public void setCategoryPropertyId(long categoryPropertyId) {
073                    _assetCategoryProperty.setCategoryPropertyId(categoryPropertyId);
074            }
075    
076            /**
077            * Returns the company ID of this asset category property.
078            *
079            * @return the company ID of this asset category property
080            */
081            public long getCompanyId() {
082                    return _assetCategoryProperty.getCompanyId();
083            }
084    
085            /**
086            * Sets the company ID of this asset category property.
087            *
088            * @param companyId the company ID of this asset category property
089            */
090            public void setCompanyId(long companyId) {
091                    _assetCategoryProperty.setCompanyId(companyId);
092            }
093    
094            /**
095            * Returns the user ID of this asset category property.
096            *
097            * @return the user ID of this asset category property
098            */
099            public long getUserId() {
100                    return _assetCategoryProperty.getUserId();
101            }
102    
103            /**
104            * Sets the user ID of this asset category property.
105            *
106            * @param userId the user ID of this asset category property
107            */
108            public void setUserId(long userId) {
109                    _assetCategoryProperty.setUserId(userId);
110            }
111    
112            /**
113            * Returns the user uuid of this asset category property.
114            *
115            * @return the user uuid of this asset category property
116            * @throws SystemException if a system exception occurred
117            */
118            public java.lang.String getUserUuid()
119                    throws com.liferay.portal.kernel.exception.SystemException {
120                    return _assetCategoryProperty.getUserUuid();
121            }
122    
123            /**
124            * Sets the user uuid of this asset category property.
125            *
126            * @param userUuid the user uuid of this asset category property
127            */
128            public void setUserUuid(java.lang.String userUuid) {
129                    _assetCategoryProperty.setUserUuid(userUuid);
130            }
131    
132            /**
133            * Returns the user name of this asset category property.
134            *
135            * @return the user name of this asset category property
136            */
137            public java.lang.String getUserName() {
138                    return _assetCategoryProperty.getUserName();
139            }
140    
141            /**
142            * Sets the user name of this asset category property.
143            *
144            * @param userName the user name of this asset category property
145            */
146            public void setUserName(java.lang.String userName) {
147                    _assetCategoryProperty.setUserName(userName);
148            }
149    
150            /**
151            * Returns the create date of this asset category property.
152            *
153            * @return the create date of this asset category property
154            */
155            public java.util.Date getCreateDate() {
156                    return _assetCategoryProperty.getCreateDate();
157            }
158    
159            /**
160            * Sets the create date of this asset category property.
161            *
162            * @param createDate the create date of this asset category property
163            */
164            public void setCreateDate(java.util.Date createDate) {
165                    _assetCategoryProperty.setCreateDate(createDate);
166            }
167    
168            /**
169            * Returns the modified date of this asset category property.
170            *
171            * @return the modified date of this asset category property
172            */
173            public java.util.Date getModifiedDate() {
174                    return _assetCategoryProperty.getModifiedDate();
175            }
176    
177            /**
178            * Sets the modified date of this asset category property.
179            *
180            * @param modifiedDate the modified date of this asset category property
181            */
182            public void setModifiedDate(java.util.Date modifiedDate) {
183                    _assetCategoryProperty.setModifiedDate(modifiedDate);
184            }
185    
186            /**
187            * Returns the category ID of this asset category property.
188            *
189            * @return the category ID of this asset category property
190            */
191            public long getCategoryId() {
192                    return _assetCategoryProperty.getCategoryId();
193            }
194    
195            /**
196            * Sets the category ID of this asset category property.
197            *
198            * @param categoryId the category ID of this asset category property
199            */
200            public void setCategoryId(long categoryId) {
201                    _assetCategoryProperty.setCategoryId(categoryId);
202            }
203    
204            /**
205            * Returns the key of this asset category property.
206            *
207            * @return the key of this asset category property
208            */
209            public java.lang.String getKey() {
210                    return _assetCategoryProperty.getKey();
211            }
212    
213            /**
214            * Sets the key of this asset category property.
215            *
216            * @param key the key of this asset category property
217            */
218            public void setKey(java.lang.String key) {
219                    _assetCategoryProperty.setKey(key);
220            }
221    
222            /**
223            * Returns the value of this asset category property.
224            *
225            * @return the value of this asset category property
226            */
227            public java.lang.String getValue() {
228                    return _assetCategoryProperty.getValue();
229            }
230    
231            /**
232            * Sets the value of this asset category property.
233            *
234            * @param value the value of this asset category property
235            */
236            public void setValue(java.lang.String value) {
237                    _assetCategoryProperty.setValue(value);
238            }
239    
240            public boolean isNew() {
241                    return _assetCategoryProperty.isNew();
242            }
243    
244            public void setNew(boolean n) {
245                    _assetCategoryProperty.setNew(n);
246            }
247    
248            public boolean isCachedModel() {
249                    return _assetCategoryProperty.isCachedModel();
250            }
251    
252            public void setCachedModel(boolean cachedModel) {
253                    _assetCategoryProperty.setCachedModel(cachedModel);
254            }
255    
256            public boolean isEscapedModel() {
257                    return _assetCategoryProperty.isEscapedModel();
258            }
259    
260            public java.io.Serializable getPrimaryKeyObj() {
261                    return _assetCategoryProperty.getPrimaryKeyObj();
262            }
263    
264            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
265                    _assetCategoryProperty.setPrimaryKeyObj(primaryKeyObj);
266            }
267    
268            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
269                    return _assetCategoryProperty.getExpandoBridge();
270            }
271    
272            public void setExpandoBridgeAttributes(
273                    com.liferay.portal.service.ServiceContext serviceContext) {
274                    _assetCategoryProperty.setExpandoBridgeAttributes(serviceContext);
275            }
276    
277            @Override
278            public java.lang.Object clone() {
279                    return new AssetCategoryPropertyWrapper((AssetCategoryProperty)_assetCategoryProperty.clone());
280            }
281    
282            public int compareTo(
283                    com.liferay.portlet.asset.model.AssetCategoryProperty assetCategoryProperty) {
284                    return _assetCategoryProperty.compareTo(assetCategoryProperty);
285            }
286    
287            @Override
288            public int hashCode() {
289                    return _assetCategoryProperty.hashCode();
290            }
291    
292            public com.liferay.portal.model.CacheModel<com.liferay.portlet.asset.model.AssetCategoryProperty> toCacheModel() {
293                    return _assetCategoryProperty.toCacheModel();
294            }
295    
296            public com.liferay.portlet.asset.model.AssetCategoryProperty toEscapedModel() {
297                    return new AssetCategoryPropertyWrapper(_assetCategoryProperty.toEscapedModel());
298            }
299    
300            @Override
301            public java.lang.String toString() {
302                    return _assetCategoryProperty.toString();
303            }
304    
305            public java.lang.String toXmlString() {
306                    return _assetCategoryProperty.toXmlString();
307            }
308    
309            public void persist()
310                    throws com.liferay.portal.kernel.exception.SystemException {
311                    _assetCategoryProperty.persist();
312            }
313    
314            public AssetCategoryProperty getWrappedAssetCategoryProperty() {
315                    return _assetCategoryProperty;
316            }
317    
318            public void resetOriginalValues() {
319                    _assetCategoryProperty.resetOriginalValues();
320            }
321    
322            private AssetCategoryProperty _assetCategoryProperty;
323    }