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