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