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