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 Personne {
34:
35: private String nom;
36:
37: private String prenom;
38:
39: private String adresse;
40:
41: public void setNom(String nom) {
42:
43: this .nom = nom;
44:
45: }
46:
47: public String getNom() {
48:
49: return nom;
50:
51: }
52:
53: public void setPrenom(String prenom) {
54:
55: this .prenom = prenom;
56:
57: }
58:
59: public String getPrenom() {
60:
61: return prenom;
62:
63: }
64:
65: public void setAdresse(String adresse) {
66:
67: this .adresse = adresse;
68:
69: }
70:
71: public String getAdresse() {
72:
73: return adresse;
74:
75: }
76:
77: }
|