001    /**
002     * Copyright (c) 2000-2011 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 Lock}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       Lock
024     * @generated
025     */
026    public class LockWrapper implements Lock {
027            public LockWrapper(Lock lock) {
028                    _lock = lock;
029            }
030    
031            public long getPrimaryKey() {
032                    return _lock.getPrimaryKey();
033            }
034    
035            public void setPrimaryKey(long pk) {
036                    _lock.setPrimaryKey(pk);
037            }
038    
039            public java.lang.String getUuid() {
040                    return _lock.getUuid();
041            }
042    
043            public void setUuid(java.lang.String uuid) {
044                    _lock.setUuid(uuid);
045            }
046    
047            public long getLockId() {
048                    return _lock.getLockId();
049            }
050    
051            public void setLockId(long lockId) {
052                    _lock.setLockId(lockId);
053            }
054    
055            public long getCompanyId() {
056                    return _lock.getCompanyId();
057            }
058    
059            public void setCompanyId(long companyId) {
060                    _lock.setCompanyId(companyId);
061            }
062    
063            public long getUserId() {
064                    return _lock.getUserId();
065            }
066    
067            public void setUserId(long userId) {
068                    _lock.setUserId(userId);
069            }
070    
071            public java.lang.String getUserUuid()
072                    throws com.liferay.portal.kernel.exception.SystemException {
073                    return _lock.getUserUuid();
074            }
075    
076            public void setUserUuid(java.lang.String userUuid) {
077                    _lock.setUserUuid(userUuid);
078            }
079    
080            public java.lang.String getUserName() {
081                    return _lock.getUserName();
082            }
083    
084            public void setUserName(java.lang.String userName) {
085                    _lock.setUserName(userName);
086            }
087    
088            public java.util.Date getCreateDate() {
089                    return _lock.getCreateDate();
090            }
091    
092            public void setCreateDate(java.util.Date createDate) {
093                    _lock.setCreateDate(createDate);
094            }
095    
096            public java.lang.String getClassName() {
097                    return _lock.getClassName();
098            }
099    
100            public void setClassName(java.lang.String className) {
101                    _lock.setClassName(className);
102            }
103    
104            public java.lang.String getKey() {
105                    return _lock.getKey();
106            }
107    
108            public void setKey(java.lang.String key) {
109                    _lock.setKey(key);
110            }
111    
112            public java.lang.String getOwner() {
113                    return _lock.getOwner();
114            }
115    
116            public void setOwner(java.lang.String owner) {
117                    _lock.setOwner(owner);
118            }
119    
120            public boolean getInheritable() {
121                    return _lock.getInheritable();
122            }
123    
124            public boolean isInheritable() {
125                    return _lock.isInheritable();
126            }
127    
128            public void setInheritable(boolean inheritable) {
129                    _lock.setInheritable(inheritable);
130            }
131    
132            public java.util.Date getExpirationDate() {
133                    return _lock.getExpirationDate();
134            }
135    
136            public void setExpirationDate(java.util.Date expirationDate) {
137                    _lock.setExpirationDate(expirationDate);
138            }
139    
140            public com.liferay.portal.model.Lock toEscapedModel() {
141                    return _lock.toEscapedModel();
142            }
143    
144            public boolean isNew() {
145                    return _lock.isNew();
146            }
147    
148            public void setNew(boolean n) {
149                    _lock.setNew(n);
150            }
151    
152            public boolean isCachedModel() {
153                    return _lock.isCachedModel();
154            }
155    
156            public void setCachedModel(boolean cachedModel) {
157                    _lock.setCachedModel(cachedModel);
158            }
159    
160            public boolean isEscapedModel() {
161                    return _lock.isEscapedModel();
162            }
163    
164            public void setEscapedModel(boolean escapedModel) {
165                    _lock.setEscapedModel(escapedModel);
166            }
167    
168            public java.io.Serializable getPrimaryKeyObj() {
169                    return _lock.getPrimaryKeyObj();
170            }
171    
172            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
173                    return _lock.getExpandoBridge();
174            }
175    
176            public void setExpandoBridgeAttributes(
177                    com.liferay.portal.service.ServiceContext serviceContext) {
178                    _lock.setExpandoBridgeAttributes(serviceContext);
179            }
180    
181            public java.lang.Object clone() {
182                    return _lock.clone();
183            }
184    
185            public int compareTo(com.liferay.portal.model.Lock lock) {
186                    return _lock.compareTo(lock);
187            }
188    
189            public int hashCode() {
190                    return _lock.hashCode();
191            }
192    
193            public java.lang.String toString() {
194                    return _lock.toString();
195            }
196    
197            public java.lang.String toXmlString() {
198                    return _lock.toXmlString();
199            }
200    
201            public long getExpirationTime() {
202                    return _lock.getExpirationTime();
203            }
204    
205            public boolean isExpired() {
206                    return _lock.isExpired();
207            }
208    
209            public boolean isNeverExpires() {
210                    return _lock.isNeverExpires();
211            }
212    
213            public Lock getWrappedLock() {
214                    return _lock;
215            }
216    
217            private Lock _lock;
218    }