01: /*
02: * Project: LIUS Package: ca.ulaval.bibl.lius.config
03: *
04: * Copyright (c) 2004 by Jens Fendler <jf@teamskill.de>
05: *
06: * This program is a free software; you can redistribute it and/or modify it
07: * under the terms of the GNU General Public License as published by the Free
08: * Software Foundation; either version 2 of the License, or (at your option) any
09: * later version. This program is distributed in the hope that it will be
10: * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
11: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
12: * Public License for more details. You should have received a copy of the GNU
13: * General Public License along with this program; if not, write to the Free
14: * Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
15: * USA
16: */
17:
18: package ca.ulaval.bibl.lius.config;
19:
20: /**
21: * Class: LiusValueProxyField <br>
22: *
23: * This class provides the possibility to add multiple (equal) LiusFields with
24: * different values to the same document.
25: *
26: * Changelog:
27: * <ul>
28: * <li>02.06.2005: Initial implementation (jf)</li>
29: * </ul>
30: *
31: * @author <a href="mailto:jf@teamskill.de">Jens Fendler </a>
32: *
33: * @see de.teamskill.lius.index.VCardIndexer
34: */
35: public class LiusValueProxyField extends LiusProxyField {
36:
37: /**
38: * <code>value</code> is the only field provided by this proxy. Everything
39: * else is inherited from LiusProxyField and is simply passed through to the
40: * 'real' LiusField.
41: */
42: private String proxyValue;
43:
44: public LiusValueProxyField(LiusField lf) {
45: super (lf);
46: }
47:
48: public String getValue() {
49: return proxyValue;
50: }
51:
52: public void setValue(String proxyValue) {
53: this.proxyValue = proxyValue;
54: }
55: }
|