01: /*
02:
03: * LIUS - Lucene Index Update and Search
04: * http://sourceforge.net/projects/lius/
05: *
06: * Copyright (c) 2005, Laval University Library. All rights reserved.
07: *
08: * This library is free software; you can redistribute it and/or
09: * modify it under the terms of the GNU Lesser General Public
10: * License as published by the Free Software Foundation; either
11: * version 2.1 of the License, or (at your option) any later version.
12: *
13: * This library is distributed in the hope that it will be useful,
14: * but WITHOUT ANY WARRANTY; without even the implied warranty of
15: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16: * Lesser General Public License for more details.
17: *
18: * You should have received a copy of the GNU Lesser General Public
19: * License along with this library; if not, write to the Free Software
20: * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21: */
22:
23: package ca.ulaval.bibl.lius.main.beans;
24:
25: /**
26: *
27: * Example of bean indexing
28: *
29: * @author Rida Benjelloun (rida.benjelloun@bibl.ulaval.ca)
30: *
31: */
32:
33: public class Book {
34:
35: private String title;
36:
37: private String creator;
38:
39: public void setTitle(String title) {
40:
41: this .title = title;
42:
43: }
44:
45: public String getTitle() {
46:
47: return title;
48:
49: }
50:
51: public void setCreator(String creator) {
52:
53: this .creator = creator;
54:
55: }
56:
57: public String getCreator() {
58:
59: return creator;
60:
61: }
62:
63: }
|