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