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