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