001    /**
002     * Copyright (c) 2000-2012 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 OrgLabor}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       OrgLabor
024     * @generated
025     */
026    public class OrgLaborWrapper implements OrgLabor, ModelWrapper<OrgLabor> {
027            public OrgLaborWrapper(OrgLabor orgLabor) {
028                    _orgLabor = orgLabor;
029            }
030    
031            public Class<?> getModelClass() {
032                    return OrgLabor.class;
033            }
034    
035            public String getModelClassName() {
036                    return OrgLabor.class.getName();
037            }
038    
039            /**
040            * Returns the primary key of this org labor.
041            *
042            * @return the primary key of this org labor
043            */
044            public long getPrimaryKey() {
045                    return _orgLabor.getPrimaryKey();
046            }
047    
048            /**
049            * Sets the primary key of this org labor.
050            *
051            * @param primaryKey the primary key of this org labor
052            */
053            public void setPrimaryKey(long primaryKey) {
054                    _orgLabor.setPrimaryKey(primaryKey);
055            }
056    
057            /**
058            * Returns the org labor ID of this org labor.
059            *
060            * @return the org labor ID of this org labor
061            */
062            public long getOrgLaborId() {
063                    return _orgLabor.getOrgLaborId();
064            }
065    
066            /**
067            * Sets the org labor ID of this org labor.
068            *
069            * @param orgLaborId the org labor ID of this org labor
070            */
071            public void setOrgLaborId(long orgLaborId) {
072                    _orgLabor.setOrgLaborId(orgLaborId);
073            }
074    
075            /**
076            * Returns the organization ID of this org labor.
077            *
078            * @return the organization ID of this org labor
079            */
080            public long getOrganizationId() {
081                    return _orgLabor.getOrganizationId();
082            }
083    
084            /**
085            * Sets the organization ID of this org labor.
086            *
087            * @param organizationId the organization ID of this org labor
088            */
089            public void setOrganizationId(long organizationId) {
090                    _orgLabor.setOrganizationId(organizationId);
091            }
092    
093            /**
094            * Returns the type ID of this org labor.
095            *
096            * @return the type ID of this org labor
097            */
098            public int getTypeId() {
099                    return _orgLabor.getTypeId();
100            }
101    
102            /**
103            * Sets the type ID of this org labor.
104            *
105            * @param typeId the type ID of this org labor
106            */
107            public void setTypeId(int typeId) {
108                    _orgLabor.setTypeId(typeId);
109            }
110    
111            /**
112            * Returns the sun open of this org labor.
113            *
114            * @return the sun open of this org labor
115            */
116            public int getSunOpen() {
117                    return _orgLabor.getSunOpen();
118            }
119    
120            /**
121            * Sets the sun open of this org labor.
122            *
123            * @param sunOpen the sun open of this org labor
124            */
125            public void setSunOpen(int sunOpen) {
126                    _orgLabor.setSunOpen(sunOpen);
127            }
128    
129            /**
130            * Returns the sun close of this org labor.
131            *
132            * @return the sun close of this org labor
133            */
134            public int getSunClose() {
135                    return _orgLabor.getSunClose();
136            }
137    
138            /**
139            * Sets the sun close of this org labor.
140            *
141            * @param sunClose the sun close of this org labor
142            */
143            public void setSunClose(int sunClose) {
144                    _orgLabor.setSunClose(sunClose);
145            }
146    
147            /**
148            * Returns the mon open of this org labor.
149            *
150            * @return the mon open of this org labor
151            */
152            public int getMonOpen() {
153                    return _orgLabor.getMonOpen();
154            }
155    
156            /**
157            * Sets the mon open of this org labor.
158            *
159            * @param monOpen the mon open of this org labor
160            */
161            public void setMonOpen(int monOpen) {
162                    _orgLabor.setMonOpen(monOpen);
163            }
164    
165            /**
166            * Returns the mon close of this org labor.
167            *
168            * @return the mon close of this org labor
169            */
170            public int getMonClose() {
171                    return _orgLabor.getMonClose();
172            }
173    
174            /**
175            * Sets the mon close of this org labor.
176            *
177            * @param monClose the mon close of this org labor
178            */
179            public void setMonClose(int monClose) {
180                    _orgLabor.setMonClose(monClose);
181            }
182    
183            /**
184            * Returns the tue open of this org labor.
185            *
186            * @return the tue open of this org labor
187            */
188            public int getTueOpen() {
189                    return _orgLabor.getTueOpen();
190            }
191    
192            /**
193            * Sets the tue open of this org labor.
194            *
195            * @param tueOpen the tue open of this org labor
196            */
197            public void setTueOpen(int tueOpen) {
198                    _orgLabor.setTueOpen(tueOpen);
199            }
200    
201            /**
202            * Returns the tue close of this org labor.
203            *
204            * @return the tue close of this org labor
205            */
206            public int getTueClose() {
207                    return _orgLabor.getTueClose();
208            }
209    
210            /**
211            * Sets the tue close of this org labor.
212            *
213            * @param tueClose the tue close of this org labor
214            */
215            public void setTueClose(int tueClose) {
216                    _orgLabor.setTueClose(tueClose);
217            }
218    
219            /**
220            * Returns the wed open of this org labor.
221            *
222            * @return the wed open of this org labor
223            */
224            public int getWedOpen() {
225                    return _orgLabor.getWedOpen();
226            }
227    
228            /**
229            * Sets the wed open of this org labor.
230            *
231            * @param wedOpen the wed open of this org labor
232            */
233            public void setWedOpen(int wedOpen) {
234                    _orgLabor.setWedOpen(wedOpen);
235            }
236    
237            /**
238            * Returns the wed close of this org labor.
239            *
240            * @return the wed close of this org labor
241            */
242            public int getWedClose() {
243                    return _orgLabor.getWedClose();
244            }
245    
246            /**
247            * Sets the wed close of this org labor.
248            *
249            * @param wedClose the wed close of this org labor
250            */
251            public void setWedClose(int wedClose) {
252                    _orgLabor.setWedClose(wedClose);
253            }
254    
255            /**
256            * Returns the thu open of this org labor.
257            *
258            * @return the thu open of this org labor
259            */
260            public int getThuOpen() {
261                    return _orgLabor.getThuOpen();
262            }
263    
264            /**
265            * Sets the thu open of this org labor.
266            *
267            * @param thuOpen the thu open of this org labor
268            */
269            public void setThuOpen(int thuOpen) {
270                    _orgLabor.setThuOpen(thuOpen);
271            }
272    
273            /**
274            * Returns the thu close of this org labor.
275            *
276            * @return the thu close of this org labor
277            */
278            public int getThuClose() {
279                    return _orgLabor.getThuClose();
280            }
281    
282            /**
283            * Sets the thu close of this org labor.
284            *
285            * @param thuClose the thu close of this org labor
286            */
287            public void setThuClose(int thuClose) {
288                    _orgLabor.setThuClose(thuClose);
289            }
290    
291            /**
292            * Returns the fri open of this org labor.
293            *
294            * @return the fri open of this org labor
295            */
296            public int getFriOpen() {
297                    return _orgLabor.getFriOpen();
298            }
299    
300            /**
301            * Sets the fri open of this org labor.
302            *
303            * @param friOpen the fri open of this org labor
304            */
305            public void setFriOpen(int friOpen) {
306                    _orgLabor.setFriOpen(friOpen);
307            }
308    
309            /**
310            * Returns the fri close of this org labor.
311            *
312            * @return the fri close of this org labor
313            */
314            public int getFriClose() {
315                    return _orgLabor.getFriClose();
316            }
317    
318            /**
319            * Sets the fri close of this org labor.
320            *
321            * @param friClose the fri close of this org labor
322            */
323            public void setFriClose(int friClose) {
324                    _orgLabor.setFriClose(friClose);
325            }
326    
327            /**
328            * Returns the sat open of this org labor.
329            *
330            * @return the sat open of this org labor
331            */
332            public int getSatOpen() {
333                    return _orgLabor.getSatOpen();
334            }
335    
336            /**
337            * Sets the sat open of this org labor.
338            *
339            * @param satOpen the sat open of this org labor
340            */
341            public void setSatOpen(int satOpen) {
342                    _orgLabor.setSatOpen(satOpen);
343            }
344    
345            /**
346            * Returns the sat close of this org labor.
347            *
348            * @return the sat close of this org labor
349            */
350            public int getSatClose() {
351                    return _orgLabor.getSatClose();
352            }
353    
354            /**
355            * Sets the sat close of this org labor.
356            *
357            * @param satClose the sat close of this org labor
358            */
359            public void setSatClose(int satClose) {
360                    _orgLabor.setSatClose(satClose);
361            }
362    
363            public boolean isNew() {
364                    return _orgLabor.isNew();
365            }
366    
367            public void setNew(boolean n) {
368                    _orgLabor.setNew(n);
369            }
370    
371            public boolean isCachedModel() {
372                    return _orgLabor.isCachedModel();
373            }
374    
375            public void setCachedModel(boolean cachedModel) {
376                    _orgLabor.setCachedModel(cachedModel);
377            }
378    
379            public boolean isEscapedModel() {
380                    return _orgLabor.isEscapedModel();
381            }
382    
383            public java.io.Serializable getPrimaryKeyObj() {
384                    return _orgLabor.getPrimaryKeyObj();
385            }
386    
387            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
388                    _orgLabor.setPrimaryKeyObj(primaryKeyObj);
389            }
390    
391            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
392                    return _orgLabor.getExpandoBridge();
393            }
394    
395            public void setExpandoBridgeAttributes(
396                    com.liferay.portal.service.ServiceContext serviceContext) {
397                    _orgLabor.setExpandoBridgeAttributes(serviceContext);
398            }
399    
400            @Override
401            public java.lang.Object clone() {
402                    return new OrgLaborWrapper((OrgLabor)_orgLabor.clone());
403            }
404    
405            public int compareTo(com.liferay.portal.model.OrgLabor orgLabor) {
406                    return _orgLabor.compareTo(orgLabor);
407            }
408    
409            @Override
410            public int hashCode() {
411                    return _orgLabor.hashCode();
412            }
413    
414            public com.liferay.portal.model.CacheModel<com.liferay.portal.model.OrgLabor> toCacheModel() {
415                    return _orgLabor.toCacheModel();
416            }
417    
418            public com.liferay.portal.model.OrgLabor toEscapedModel() {
419                    return new OrgLaborWrapper(_orgLabor.toEscapedModel());
420            }
421    
422            @Override
423            public java.lang.String toString() {
424                    return _orgLabor.toString();
425            }
426    
427            public java.lang.String toXmlString() {
428                    return _orgLabor.toXmlString();
429            }
430    
431            public void persist()
432                    throws com.liferay.portal.kernel.exception.SystemException {
433                    _orgLabor.persist();
434            }
435    
436            public com.liferay.portal.model.ListType getType()
437                    throws com.liferay.portal.kernel.exception.PortalException,
438                            com.liferay.portal.kernel.exception.SystemException {
439                    return _orgLabor.getType();
440            }
441    
442            /**
443             * @deprecated Renamed to {@link #getWrappedModel}
444             */
445            public OrgLabor getWrappedOrgLabor() {
446                    return _orgLabor;
447            }
448    
449            public OrgLabor getWrappedModel() {
450                    return _orgLabor;
451            }
452    
453            public void resetOriginalValues() {
454                    _orgLabor.resetOriginalValues();
455            }
456    
457            private OrgLabor _orgLabor;
458    }