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