01: /**********************************************************************************
02: * $URL: https://source.sakaiproject.org/svn/search/tags/sakai_2-4-1/search-model/src/java/org/sakaiproject/search/model/impl/SearchWriterLockImpl.java $
03: * $Id: SearchWriterLockImpl.java 9109 2006-05-08 14:44:04Z ian@caret.cam.ac.uk $
04: ***********************************************************************************
05: *
06: * Copyright (c) 2003, 2004, 2005, 2006 The Sakai Foundation.
07: *
08: * Licensed under the Educational Community License, Version 1.0 (the "License");
09: * you may not use this file except in compliance with the License.
10: * You may obtain a copy of the License at
11: *
12: * http://www.opensource.org/licenses/ecl1.php
13: *
14: * Unless required by applicable law or agreed to in writing, software
15: * distributed under the License is distributed on an "AS IS" BASIS,
16: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17: * See the License for the specific language governing permissions and
18: * limitations under the License.
19: *
20: **********************************************************************************/package org.sakaiproject.search.model.impl;
21:
22: import java.util.Date;
23:
24: import org.sakaiproject.search.model.SearchWriterLock;
25:
26: /**
27: * @author ieb
28: */
29: public class SearchWriterLockImpl implements SearchWriterLock {
30: private String nodename = null;
31:
32: private Date expires = null;
33:
34: private String id = null;
35:
36: private String lockkey = null;
37:
38: /**
39: * @return Returns the id.
40: */
41: public String getId() {
42: return id;
43: }
44:
45: /**
46: * @param id
47: * The id to set.
48: */
49: public void setId(String id) {
50: this .id = id;
51: }
52:
53: /**
54: * @return Returns the nodeName.
55: */
56: public String getNodename() {
57: return nodename;
58: }
59:
60: /**
61: * @param nodeName
62: * The nodeName to set.
63: */
64: public void setNodename(String nodename) {
65: this .nodename = nodename;
66: }
67:
68: public void setLockkey(String lockkey) {
69: this .lockkey = lockkey;
70:
71: }
72:
73: public String getLockkey() {
74: return lockkey;
75: }
76:
77: /**
78: * @return Returns the expires.
79: */
80: public Date getExpires() {
81: return expires;
82: }
83:
84: /**
85: * @param expires The expires to set.
86: */
87: public void setExpires(Date expires) {
88: this.expires = expires;
89: }
90:
91: }
|