01: /**********************************************************************************
02: * $URL: https://source.sakaiproject.org/svn/search/tags/sakai_2-4-1/search-model/src/java/org/sakaiproject/search/model/impl/SearchClusterImpl.java $
03: * $Id: SearchClusterImpl.java 14695 2006-09-15 12:46:52Z ian@caret.cam.ac.uk $
04: ***********************************************************************************
05: *
06: * Copyright (c) 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: /**
23: * This Class is only here to allow Hibernate to build the schema
24: * @author ieb
25: */
26: public class SearchClusterImpl {
27: private String name;
28:
29: private long version;
30:
31: private long size;
32:
33: private byte[] packet;
34:
35: /**
36: * @return Returns the name.
37: */
38: public String getName() {
39: return name;
40: }
41:
42: /**
43: * @param name
44: * The name to set.
45: */
46: public void setName(String name) {
47: this .name = name;
48: }
49:
50: /**
51: * @return Returns the packet.
52: */
53: public byte[] getPacket() {
54: return packet;
55: }
56:
57: /**
58: * @param packet
59: * The packet to set.
60: */
61: public void setPacket(byte[] packet) {
62: this .packet = packet;
63: }
64:
65: /**
66: * @return Returns the size.
67: */
68: public long getSize() {
69: return size;
70: }
71:
72: /**
73: * @param size
74: * The size to set.
75: */
76: public void setSize(long size) {
77: this .size = size;
78: }
79:
80: /**
81: * @return Returns the version.
82: */
83: public long getVersion() {
84: return version;
85: }
86:
87: /**
88: * @param version
89: * The version to set.
90: */
91: public void setVersion(long version) {
92: this.version = version;
93: }
94:
95: }
|