1 /*
2 * Copyright (2005-2009) Schibsted Søk AS
3 * This file is part of SESAT.
4 *
5 * SESAT is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU Affero General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * SESAT is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU Affero General Public License for more details.
14 *
15 * You should have received a copy of the GNU Affero General Public License
16 * along with SESAT. If not, see <http://www.gnu.org/licenses/>.
17 */
18 package no.sesat.search.user;
19
20 import java.io.Serializable;
21
22
23 /**
24 * A user property belonging to a user.
25 *
26 * @author <a href="mailto:endre@sesam.no">Endre Midtgård Meckelborg</a>
27 * @version <tt>$Id: UserProperty.java 21 2009-03-06 10:36:40Z ssmiweve $</tt>
28 */
29 public interface UserProperty extends Serializable {
30
31 // See Javadoc in implementing class.
32
33 Long getUserPropertyId();
34
35 void setUserPropertyId(final Long userPropertyId);
36
37 String getPropertyKey();
38
39 void setPropertyKey(final String propertyKey);
40
41 String getPropertyValue();
42
43 void setPropertyValue(final String propertyValue);
44
45 User getUser();
46
47 void setUser(final User user);
48
49 }