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.portlet.tasks.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link TasksReview}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       TasksReview
024     * @generated
025     */
026    public class TasksReviewWrapper implements TasksReview {
027            public TasksReviewWrapper(TasksReview tasksReview) {
028                    _tasksReview = tasksReview;
029            }
030    
031            public Class<?> getModelClass() {
032                    return TasksReview.class;
033            }
034    
035            public String getModelClassName() {
036                    return TasksReview.class.getName();
037            }
038    
039            /**
040            * Gets the primary key of this tasks review.
041            *
042            * @return the primary key of this tasks review
043            */
044            public long getPrimaryKey() {
045                    return _tasksReview.getPrimaryKey();
046            }
047    
048            /**
049            * Sets the primary key of this tasks review
050            *
051            * @param primaryKey the primary key of this tasks review
052            */
053            public void setPrimaryKey(long primaryKey) {
054                    _tasksReview.setPrimaryKey(primaryKey);
055            }
056    
057            /**
058            * Gets the review ID of this tasks review.
059            *
060            * @return the review ID of this tasks review
061            */
062            public long getReviewId() {
063                    return _tasksReview.getReviewId();
064            }
065    
066            /**
067            * Sets the review ID of this tasks review.
068            *
069            * @param reviewId the review ID of this tasks review
070            */
071            public void setReviewId(long reviewId) {
072                    _tasksReview.setReviewId(reviewId);
073            }
074    
075            /**
076            * Gets the group ID of this tasks review.
077            *
078            * @return the group ID of this tasks review
079            */
080            public long getGroupId() {
081                    return _tasksReview.getGroupId();
082            }
083    
084            /**
085            * Sets the group ID of this tasks review.
086            *
087            * @param groupId the group ID of this tasks review
088            */
089            public void setGroupId(long groupId) {
090                    _tasksReview.setGroupId(groupId);
091            }
092    
093            /**
094            * Gets the company ID of this tasks review.
095            *
096            * @return the company ID of this tasks review
097            */
098            public long getCompanyId() {
099                    return _tasksReview.getCompanyId();
100            }
101    
102            /**
103            * Sets the company ID of this tasks review.
104            *
105            * @param companyId the company ID of this tasks review
106            */
107            public void setCompanyId(long companyId) {
108                    _tasksReview.setCompanyId(companyId);
109            }
110    
111            /**
112            * Gets the user ID of this tasks review.
113            *
114            * @return the user ID of this tasks review
115            */
116            public long getUserId() {
117                    return _tasksReview.getUserId();
118            }
119    
120            /**
121            * Sets the user ID of this tasks review.
122            *
123            * @param userId the user ID of this tasks review
124            */
125            public void setUserId(long userId) {
126                    _tasksReview.setUserId(userId);
127            }
128    
129            /**
130            * Gets the user uuid of this tasks review.
131            *
132            * @return the user uuid of this tasks review
133            * @throws SystemException if a system exception occurred
134            */
135            public java.lang.String getUserUuid()
136                    throws com.liferay.portal.kernel.exception.SystemException {
137                    return _tasksReview.getUserUuid();
138            }
139    
140            /**
141            * Sets the user uuid of this tasks review.
142            *
143            * @param userUuid the user uuid of this tasks review
144            */
145            public void setUserUuid(java.lang.String userUuid) {
146                    _tasksReview.setUserUuid(userUuid);
147            }
148    
149            /**
150            * Gets the user name of this tasks review.
151            *
152            * @return the user name of this tasks review
153            */
154            public java.lang.String getUserName() {
155                    return _tasksReview.getUserName();
156            }
157    
158            /**
159            * Sets the user name of this tasks review.
160            *
161            * @param userName the user name of this tasks review
162            */
163            public void setUserName(java.lang.String userName) {
164                    _tasksReview.setUserName(userName);
165            }
166    
167            /**
168            * Gets the create date of this tasks review.
169            *
170            * @return the create date of this tasks review
171            */
172            public java.util.Date getCreateDate() {
173                    return _tasksReview.getCreateDate();
174            }
175    
176            /**
177            * Sets the create date of this tasks review.
178            *
179            * @param createDate the create date of this tasks review
180            */
181            public void setCreateDate(java.util.Date createDate) {
182                    _tasksReview.setCreateDate(createDate);
183            }
184    
185            /**
186            * Gets the modified date of this tasks review.
187            *
188            * @return the modified date of this tasks review
189            */
190            public java.util.Date getModifiedDate() {
191                    return _tasksReview.getModifiedDate();
192            }
193    
194            /**
195            * Sets the modified date of this tasks review.
196            *
197            * @param modifiedDate the modified date of this tasks review
198            */
199            public void setModifiedDate(java.util.Date modifiedDate) {
200                    _tasksReview.setModifiedDate(modifiedDate);
201            }
202    
203            /**
204            * Gets the proposal ID of this tasks review.
205            *
206            * @return the proposal ID of this tasks review
207            */
208            public long getProposalId() {
209                    return _tasksReview.getProposalId();
210            }
211    
212            /**
213            * Sets the proposal ID of this tasks review.
214            *
215            * @param proposalId the proposal ID of this tasks review
216            */
217            public void setProposalId(long proposalId) {
218                    _tasksReview.setProposalId(proposalId);
219            }
220    
221            /**
222            * Gets the assigned by user ID of this tasks review.
223            *
224            * @return the assigned by user ID of this tasks review
225            */
226            public long getAssignedByUserId() {
227                    return _tasksReview.getAssignedByUserId();
228            }
229    
230            /**
231            * Sets the assigned by user ID of this tasks review.
232            *
233            * @param assignedByUserId the assigned by user ID of this tasks review
234            */
235            public void setAssignedByUserId(long assignedByUserId) {
236                    _tasksReview.setAssignedByUserId(assignedByUserId);
237            }
238    
239            /**
240            * Gets the assigned by user uuid of this tasks review.
241            *
242            * @return the assigned by user uuid of this tasks review
243            * @throws SystemException if a system exception occurred
244            */
245            public java.lang.String getAssignedByUserUuid()
246                    throws com.liferay.portal.kernel.exception.SystemException {
247                    return _tasksReview.getAssignedByUserUuid();
248            }
249    
250            /**
251            * Sets the assigned by user uuid of this tasks review.
252            *
253            * @param assignedByUserUuid the assigned by user uuid of this tasks review
254            */
255            public void setAssignedByUserUuid(java.lang.String assignedByUserUuid) {
256                    _tasksReview.setAssignedByUserUuid(assignedByUserUuid);
257            }
258    
259            /**
260            * Gets the assigned by user name of this tasks review.
261            *
262            * @return the assigned by user name of this tasks review
263            */
264            public java.lang.String getAssignedByUserName() {
265                    return _tasksReview.getAssignedByUserName();
266            }
267    
268            /**
269            * Sets the assigned by user name of this tasks review.
270            *
271            * @param assignedByUserName the assigned by user name of this tasks review
272            */
273            public void setAssignedByUserName(java.lang.String assignedByUserName) {
274                    _tasksReview.setAssignedByUserName(assignedByUserName);
275            }
276    
277            /**
278            * Gets the stage of this tasks review.
279            *
280            * @return the stage of this tasks review
281            */
282            public int getStage() {
283                    return _tasksReview.getStage();
284            }
285    
286            /**
287            * Sets the stage of this tasks review.
288            *
289            * @param stage the stage of this tasks review
290            */
291            public void setStage(int stage) {
292                    _tasksReview.setStage(stage);
293            }
294    
295            /**
296            * Gets the completed of this tasks review.
297            *
298            * @return the completed of this tasks review
299            */
300            public boolean getCompleted() {
301                    return _tasksReview.getCompleted();
302            }
303    
304            /**
305            * Determines if this tasks review is completed.
306            *
307            * @return <code>true</code> if this tasks review is completed; <code>false</code> otherwise
308            */
309            public boolean isCompleted() {
310                    return _tasksReview.isCompleted();
311            }
312    
313            /**
314            * Sets whether this tasks review is completed.
315            *
316            * @param completed the completed of this tasks review
317            */
318            public void setCompleted(boolean completed) {
319                    _tasksReview.setCompleted(completed);
320            }
321    
322            /**
323            * Gets the rejected of this tasks review.
324            *
325            * @return the rejected of this tasks review
326            */
327            public boolean getRejected() {
328                    return _tasksReview.getRejected();
329            }
330    
331            /**
332            * Determines if this tasks review is rejected.
333            *
334            * @return <code>true</code> if this tasks review is rejected; <code>false</code> otherwise
335            */
336            public boolean isRejected() {
337                    return _tasksReview.isRejected();
338            }
339    
340            /**
341            * Sets whether this tasks review is rejected.
342            *
343            * @param rejected the rejected of this tasks review
344            */
345            public void setRejected(boolean rejected) {
346                    _tasksReview.setRejected(rejected);
347            }
348    
349            public boolean isNew() {
350                    return _tasksReview.isNew();
351            }
352    
353            public void setNew(boolean n) {
354                    _tasksReview.setNew(n);
355            }
356    
357            public boolean isCachedModel() {
358                    return _tasksReview.isCachedModel();
359            }
360    
361            public void setCachedModel(boolean cachedModel) {
362                    _tasksReview.setCachedModel(cachedModel);
363            }
364    
365            public boolean isEscapedModel() {
366                    return _tasksReview.isEscapedModel();
367            }
368    
369            public void setEscapedModel(boolean escapedModel) {
370                    _tasksReview.setEscapedModel(escapedModel);
371            }
372    
373            public java.io.Serializable getPrimaryKeyObj() {
374                    return _tasksReview.getPrimaryKeyObj();
375            }
376    
377            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
378                    _tasksReview.setPrimaryKeyObj(primaryKeyObj);
379            }
380    
381            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
382                    return _tasksReview.getExpandoBridge();
383            }
384    
385            public void setExpandoBridgeAttributes(
386                    com.liferay.portal.service.ServiceContext serviceContext) {
387                    _tasksReview.setExpandoBridgeAttributes(serviceContext);
388            }
389    
390            @Override
391            public java.lang.Object clone() {
392                    return new TasksReviewWrapper((TasksReview)_tasksReview.clone());
393            }
394    
395            public int compareTo(
396                    com.liferay.portlet.tasks.model.TasksReview tasksReview) {
397                    return _tasksReview.compareTo(tasksReview);
398            }
399    
400            @Override
401            public int hashCode() {
402                    return _tasksReview.hashCode();
403            }
404    
405            public com.liferay.portal.model.CacheModel<com.liferay.portlet.tasks.model.TasksReview> toCacheModel() {
406                    return _tasksReview.toCacheModel();
407            }
408    
409            public com.liferay.portlet.tasks.model.TasksReview toEscapedModel() {
410                    return new TasksReviewWrapper(_tasksReview.toEscapedModel());
411            }
412    
413            @Override
414            public java.lang.String toString() {
415                    return _tasksReview.toString();
416            }
417    
418            public java.lang.String toXmlString() {
419                    return _tasksReview.toXmlString();
420            }
421    
422            public void persist()
423                    throws com.liferay.portal.kernel.exception.SystemException {
424                    _tasksReview.persist();
425            }
426    
427            public TasksReview getWrappedTasksReview() {
428                    return _tasksReview;
429            }
430    
431            public void resetOriginalValues() {
432                    _tasksReview.resetOriginalValues();
433            }
434    
435            private TasksReview _tasksReview;
436    }