001    /**
002     * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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 void setEscapedModel(boolean escapedModel) {
261                    _assetCategoryProperty.setEscapedModel(escapedModel);
262            }
263    
264            public java.io.Serializable getPrimaryKeyObj() {
265                    return _assetCategoryProperty.getPrimaryKeyObj();
266            }
267    
268            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
269                    _assetCategoryProperty.setPrimaryKeyObj(primaryKeyObj);
270            }
271    
272            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
273                    return _assetCategoryProperty.getExpandoBridge();
274            }
275    
276            public void setExpandoBridgeAttributes(
277                    com.liferay.portal.service.ServiceContext serviceContext) {
278                    _assetCategoryProperty.setExpandoBridgeAttributes(serviceContext);
279            }
280    
281            @Override
282            public java.lang.Object clone() {
283                    return new AssetCategoryPropertyWrapper((AssetCategoryProperty)_assetCategoryProperty.clone());
284            }
285    
286            public int compareTo(
287                    com.liferay.portlet.asset.model.AssetCategoryProperty assetCategoryProperty) {
288                    return _assetCategoryProperty.compareTo(assetCategoryProperty);
289            }
290    
291            @Override
292            public int hashCode() {
293                    return _assetCategoryProperty.hashCode();
294            }
295    
296            public com.liferay.portal.model.CacheModel<com.liferay.portlet.asset.model.AssetCategoryProperty> toCacheModel() {
297                    return _assetCategoryProperty.toCacheModel();
298            }
299    
300            public com.liferay.portlet.asset.model.AssetCategoryProperty toEscapedModel() {
301                    return new AssetCategoryPropertyWrapper(_assetCategoryProperty.toEscapedModel());
302            }
303    
304            @Override
305            public java.lang.String toString() {
306                    return _assetCategoryProperty.toString();
307            }
308    
309            public java.lang.String toXmlString() {
310                    return _assetCategoryProperty.toXmlString();
311            }
312    
313            public void persist()
314                    throws com.liferay.portal.kernel.exception.SystemException {
315                    _assetCategoryProperty.persist();
316            }
317    
318            public AssetCategoryProperty getWrappedAssetCategoryProperty() {
319                    return _assetCategoryProperty;
320            }
321    
322            public void resetOriginalValues() {
323                    _assetCategoryProperty.resetOriginalValues();
324            }
325    
326            private AssetCategoryProperty _assetCategoryProperty;
327    }