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