1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portal.model;
16  
17  
18  /**
19   * <a href="LockSoap.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link Lock}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       Lock
32   * @generated
33   */
34  public class LockWrapper implements Lock {
35      public LockWrapper(Lock lock) {
36          _lock = lock;
37      }
38  
39      public long getPrimaryKey() {
40          return _lock.getPrimaryKey();
41      }
42  
43      public void setPrimaryKey(long pk) {
44          _lock.setPrimaryKey(pk);
45      }
46  
47      public java.lang.String getUuid() {
48          return _lock.getUuid();
49      }
50  
51      public void setUuid(java.lang.String uuid) {
52          _lock.setUuid(uuid);
53      }
54  
55      public long getLockId() {
56          return _lock.getLockId();
57      }
58  
59      public void setLockId(long lockId) {
60          _lock.setLockId(lockId);
61      }
62  
63      public long getCompanyId() {
64          return _lock.getCompanyId();
65      }
66  
67      public void setCompanyId(long companyId) {
68          _lock.setCompanyId(companyId);
69      }
70  
71      public long getUserId() {
72          return _lock.getUserId();
73      }
74  
75      public void setUserId(long userId) {
76          _lock.setUserId(userId);
77      }
78  
79      public java.lang.String getUserUuid()
80          throws com.liferay.portal.kernel.exception.SystemException {
81          return _lock.getUserUuid();
82      }
83  
84      public void setUserUuid(java.lang.String userUuid) {
85          _lock.setUserUuid(userUuid);
86      }
87  
88      public java.lang.String getUserName() {
89          return _lock.getUserName();
90      }
91  
92      public void setUserName(java.lang.String userName) {
93          _lock.setUserName(userName);
94      }
95  
96      public java.util.Date getCreateDate() {
97          return _lock.getCreateDate();
98      }
99  
100     public void setCreateDate(java.util.Date createDate) {
101         _lock.setCreateDate(createDate);
102     }
103 
104     public java.lang.String getClassName() {
105         return _lock.getClassName();
106     }
107 
108     public void setClassName(java.lang.String className) {
109         _lock.setClassName(className);
110     }
111 
112     public java.lang.String getKey() {
113         return _lock.getKey();
114     }
115 
116     public void setKey(java.lang.String key) {
117         _lock.setKey(key);
118     }
119 
120     public java.lang.String getOwner() {
121         return _lock.getOwner();
122     }
123 
124     public void setOwner(java.lang.String owner) {
125         _lock.setOwner(owner);
126     }
127 
128     public boolean getInheritable() {
129         return _lock.getInheritable();
130     }
131 
132     public boolean isInheritable() {
133         return _lock.isInheritable();
134     }
135 
136     public void setInheritable(boolean inheritable) {
137         _lock.setInheritable(inheritable);
138     }
139 
140     public java.util.Date getExpirationDate() {
141         return _lock.getExpirationDate();
142     }
143 
144     public void setExpirationDate(java.util.Date expirationDate) {
145         _lock.setExpirationDate(expirationDate);
146     }
147 
148     public Lock toEscapedModel() {
149         return _lock.toEscapedModel();
150     }
151 
152     public boolean isNew() {
153         return _lock.isNew();
154     }
155 
156     public boolean setNew(boolean n) {
157         return _lock.setNew(n);
158     }
159 
160     public boolean isCachedModel() {
161         return _lock.isCachedModel();
162     }
163 
164     public void setCachedModel(boolean cachedModel) {
165         _lock.setCachedModel(cachedModel);
166     }
167 
168     public boolean isEscapedModel() {
169         return _lock.isEscapedModel();
170     }
171 
172     public void setEscapedModel(boolean escapedModel) {
173         _lock.setEscapedModel(escapedModel);
174     }
175 
176     public java.io.Serializable getPrimaryKeyObj() {
177         return _lock.getPrimaryKeyObj();
178     }
179 
180     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
181         return _lock.getExpandoBridge();
182     }
183 
184     public void setExpandoBridgeAttributes(
185         com.liferay.portal.service.ServiceContext serviceContext) {
186         _lock.setExpandoBridgeAttributes(serviceContext);
187     }
188 
189     public java.lang.Object clone() {
190         return _lock.clone();
191     }
192 
193     public int compareTo(Lock lock) {
194         return _lock.compareTo(lock);
195     }
196 
197     public int hashCode() {
198         return _lock.hashCode();
199     }
200 
201     public java.lang.String toString() {
202         return _lock.toString();
203     }
204 
205     public java.lang.String toXmlString() {
206         return _lock.toXmlString();
207     }
208 
209     public long getExpirationTime() {
210         return _lock.getExpirationTime();
211     }
212 
213     public boolean isExpired() {
214         return _lock.isExpired();
215     }
216 
217     public Lock getWrappedLock() {
218         return _lock;
219     }
220 
221     private Lock _lock;
222 }