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