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.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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets the class name of the model instance this workflow definition link is polymorphically associated with.
206            *
207            * @return the class name of the model instance this workflow definition link is polymorphically associated with
208            */
209            public java.lang.String getClassName() {
210                    return _workflowDefinitionLink.getClassName();
211            }
212    
213            /**
214            * Gets 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            * Gets the workflow definition name of this workflow definition link.
233            *
234            * @return the workflow definition name of this workflow definition link
235            */
236            public java.lang.String getWorkflowDefinitionName() {
237                    return _workflowDefinitionLink.getWorkflowDefinitionName();
238            }
239    
240            /**
241            * Sets the workflow definition name of this workflow definition link.
242            *
243            * @param workflowDefinitionName the workflow definition name of this workflow definition link
244            */
245            public void setWorkflowDefinitionName(
246                    java.lang.String workflowDefinitionName) {
247                    _workflowDefinitionLink.setWorkflowDefinitionName(workflowDefinitionName);
248            }
249    
250            /**
251            * Gets the workflow definition version of this workflow definition link.
252            *
253            * @return the workflow definition version of this workflow definition link
254            */
255            public int getWorkflowDefinitionVersion() {
256                    return _workflowDefinitionLink.getWorkflowDefinitionVersion();
257            }
258    
259            /**
260            * Sets the workflow definition version of this workflow definition link.
261            *
262            * @param workflowDefinitionVersion the workflow definition version of this workflow definition link
263            */
264            public void setWorkflowDefinitionVersion(int workflowDefinitionVersion) {
265                    _workflowDefinitionLink.setWorkflowDefinitionVersion(workflowDefinitionVersion);
266            }
267    
268            public boolean isNew() {
269                    return _workflowDefinitionLink.isNew();
270            }
271    
272            public void setNew(boolean n) {
273                    _workflowDefinitionLink.setNew(n);
274            }
275    
276            public boolean isCachedModel() {
277                    return _workflowDefinitionLink.isCachedModel();
278            }
279    
280            public void setCachedModel(boolean cachedModel) {
281                    _workflowDefinitionLink.setCachedModel(cachedModel);
282            }
283    
284            public boolean isEscapedModel() {
285                    return _workflowDefinitionLink.isEscapedModel();
286            }
287    
288            public void setEscapedModel(boolean escapedModel) {
289                    _workflowDefinitionLink.setEscapedModel(escapedModel);
290            }
291    
292            public java.io.Serializable getPrimaryKeyObj() {
293                    return _workflowDefinitionLink.getPrimaryKeyObj();
294            }
295    
296            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
297                    _workflowDefinitionLink.setPrimaryKeyObj(primaryKeyObj);
298            }
299    
300            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
301                    return _workflowDefinitionLink.getExpandoBridge();
302            }
303    
304            public void setExpandoBridgeAttributes(
305                    com.liferay.portal.service.ServiceContext serviceContext) {
306                    _workflowDefinitionLink.setExpandoBridgeAttributes(serviceContext);
307            }
308    
309            @Override
310            public java.lang.Object clone() {
311                    return new WorkflowDefinitionLinkWrapper((WorkflowDefinitionLink)_workflowDefinitionLink.clone());
312            }
313    
314            public int compareTo(
315                    com.liferay.portal.model.WorkflowDefinitionLink workflowDefinitionLink) {
316                    return _workflowDefinitionLink.compareTo(workflowDefinitionLink);
317            }
318    
319            @Override
320            public int hashCode() {
321                    return _workflowDefinitionLink.hashCode();
322            }
323    
324            public com.liferay.portal.model.CacheModel<com.liferay.portal.model.WorkflowDefinitionLink> toCacheModel() {
325                    return _workflowDefinitionLink.toCacheModel();
326            }
327    
328            public com.liferay.portal.model.WorkflowDefinitionLink toEscapedModel() {
329                    return new WorkflowDefinitionLinkWrapper(_workflowDefinitionLink.toEscapedModel());
330            }
331    
332            @Override
333            public java.lang.String toString() {
334                    return _workflowDefinitionLink.toString();
335            }
336    
337            public java.lang.String toXmlString() {
338                    return _workflowDefinitionLink.toXmlString();
339            }
340    
341            public void persist()
342                    throws com.liferay.portal.kernel.exception.SystemException {
343                    _workflowDefinitionLink.persist();
344            }
345    
346            public WorkflowDefinitionLink getWrappedWorkflowDefinitionLink() {
347                    return _workflowDefinitionLink;
348            }
349    
350            public void resetOriginalValues() {
351                    _workflowDefinitionLink.resetOriginalValues();
352            }
353    
354            private WorkflowDefinitionLink _workflowDefinitionLink;
355    }