001    /**
002     * Copyright (c) 2000-2010 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 AssetLink}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       AssetLink
024     * @generated
025     */
026    public class AssetLinkWrapper implements AssetLink {
027            public AssetLinkWrapper(AssetLink assetLink) {
028                    _assetLink = assetLink;
029            }
030    
031            /**
032            * Gets the primary key of this asset link.
033            *
034            * @return the primary key of this asset link
035            */
036            public long getPrimaryKey() {
037                    return _assetLink.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this asset link
042            *
043            * @param pk the primary key of this asset link
044            */
045            public void setPrimaryKey(long pk) {
046                    _assetLink.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the link id of this asset link.
051            *
052            * @return the link id of this asset link
053            */
054            public long getLinkId() {
055                    return _assetLink.getLinkId();
056            }
057    
058            /**
059            * Sets the link id of this asset link.
060            *
061            * @param linkId the link id of this asset link
062            */
063            public void setLinkId(long linkId) {
064                    _assetLink.setLinkId(linkId);
065            }
066    
067            /**
068            * Gets the company id of this asset link.
069            *
070            * @return the company id of this asset link
071            */
072            public long getCompanyId() {
073                    return _assetLink.getCompanyId();
074            }
075    
076            /**
077            * Sets the company id of this asset link.
078            *
079            * @param companyId the company id of this asset link
080            */
081            public void setCompanyId(long companyId) {
082                    _assetLink.setCompanyId(companyId);
083            }
084    
085            /**
086            * Gets the user id of this asset link.
087            *
088            * @return the user id of this asset link
089            */
090            public long getUserId() {
091                    return _assetLink.getUserId();
092            }
093    
094            /**
095            * Sets the user id of this asset link.
096            *
097            * @param userId the user id of this asset link
098            */
099            public void setUserId(long userId) {
100                    _assetLink.setUserId(userId);
101            }
102    
103            /**
104            * Gets the user uuid of this asset link.
105            *
106            * @return the user uuid of this asset link
107            * @throws SystemException if a system exception occurred
108            */
109            public java.lang.String getUserUuid()
110                    throws com.liferay.portal.kernel.exception.SystemException {
111                    return _assetLink.getUserUuid();
112            }
113    
114            /**
115            * Sets the user uuid of this asset link.
116            *
117            * @param userUuid the user uuid of this asset link
118            */
119            public void setUserUuid(java.lang.String userUuid) {
120                    _assetLink.setUserUuid(userUuid);
121            }
122    
123            /**
124            * Gets the user name of this asset link.
125            *
126            * @return the user name of this asset link
127            */
128            public java.lang.String getUserName() {
129                    return _assetLink.getUserName();
130            }
131    
132            /**
133            * Sets the user name of this asset link.
134            *
135            * @param userName the user name of this asset link
136            */
137            public void setUserName(java.lang.String userName) {
138                    _assetLink.setUserName(userName);
139            }
140    
141            /**
142            * Gets the create date of this asset link.
143            *
144            * @return the create date of this asset link
145            */
146            public java.util.Date getCreateDate() {
147                    return _assetLink.getCreateDate();
148            }
149    
150            /**
151            * Sets the create date of this asset link.
152            *
153            * @param createDate the create date of this asset link
154            */
155            public void setCreateDate(java.util.Date createDate) {
156                    _assetLink.setCreateDate(createDate);
157            }
158    
159            /**
160            * Gets the entry id1 of this asset link.
161            *
162            * @return the entry id1 of this asset link
163            */
164            public long getEntryId1() {
165                    return _assetLink.getEntryId1();
166            }
167    
168            /**
169            * Sets the entry id1 of this asset link.
170            *
171            * @param entryId1 the entry id1 of this asset link
172            */
173            public void setEntryId1(long entryId1) {
174                    _assetLink.setEntryId1(entryId1);
175            }
176    
177            /**
178            * Gets the entry id2 of this asset link.
179            *
180            * @return the entry id2 of this asset link
181            */
182            public long getEntryId2() {
183                    return _assetLink.getEntryId2();
184            }
185    
186            /**
187            * Sets the entry id2 of this asset link.
188            *
189            * @param entryId2 the entry id2 of this asset link
190            */
191            public void setEntryId2(long entryId2) {
192                    _assetLink.setEntryId2(entryId2);
193            }
194    
195            /**
196            * Gets the type of this asset link.
197            *
198            * @return the type of this asset link
199            */
200            public int getType() {
201                    return _assetLink.getType();
202            }
203    
204            /**
205            * Sets the type of this asset link.
206            *
207            * @param type the type of this asset link
208            */
209            public void setType(int type) {
210                    _assetLink.setType(type);
211            }
212    
213            /**
214            * Gets the weight of this asset link.
215            *
216            * @return the weight of this asset link
217            */
218            public int getWeight() {
219                    return _assetLink.getWeight();
220            }
221    
222            /**
223            * Sets the weight of this asset link.
224            *
225            * @param weight the weight of this asset link
226            */
227            public void setWeight(int weight) {
228                    _assetLink.setWeight(weight);
229            }
230    
231            public boolean isNew() {
232                    return _assetLink.isNew();
233            }
234    
235            public void setNew(boolean n) {
236                    _assetLink.setNew(n);
237            }
238    
239            public boolean isCachedModel() {
240                    return _assetLink.isCachedModel();
241            }
242    
243            public void setCachedModel(boolean cachedModel) {
244                    _assetLink.setCachedModel(cachedModel);
245            }
246    
247            public boolean isEscapedModel() {
248                    return _assetLink.isEscapedModel();
249            }
250    
251            public void setEscapedModel(boolean escapedModel) {
252                    _assetLink.setEscapedModel(escapedModel);
253            }
254    
255            public java.io.Serializable getPrimaryKeyObj() {
256                    return _assetLink.getPrimaryKeyObj();
257            }
258    
259            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
260                    return _assetLink.getExpandoBridge();
261            }
262    
263            public void setExpandoBridgeAttributes(
264                    com.liferay.portal.service.ServiceContext serviceContext) {
265                    _assetLink.setExpandoBridgeAttributes(serviceContext);
266            }
267    
268            public java.lang.Object clone() {
269                    return _assetLink.clone();
270            }
271    
272            public int compareTo(com.liferay.portlet.asset.model.AssetLink assetLink) {
273                    return _assetLink.compareTo(assetLink);
274            }
275    
276            public int hashCode() {
277                    return _assetLink.hashCode();
278            }
279    
280            public com.liferay.portlet.asset.model.AssetLink toEscapedModel() {
281                    return _assetLink.toEscapedModel();
282            }
283    
284            public java.lang.String toString() {
285                    return _assetLink.toString();
286            }
287    
288            public java.lang.String toXmlString() {
289                    return _assetLink.toXmlString();
290            }
291    
292            public AssetLink getWrappedAssetLink() {
293                    return _assetLink;
294            }
295    
296            private AssetLink _assetLink;
297    }