01: package org.claros.chat.models;
02:
03: public class Preference {
04: private Long id;
05: private String username;
06: private String prefKey;
07: private String prefValue;
08:
09: public Preference() {
10: super ();
11: }
12:
13: public Preference(String user, String key, String val) {
14: this .username = user;
15: this .prefKey = key;
16: this .prefValue = val;
17: }
18:
19: public Long getId() {
20: return id;
21: }
22:
23: public void setId(Long id) {
24: this .id = id;
25: }
26:
27: public String getPrefKey() {
28: return prefKey;
29: }
30:
31: public void setPrefKey(String prefKey) {
32: this .prefKey = prefKey;
33: }
34:
35: public String getPrefValue() {
36: return prefValue;
37: }
38:
39: public void setPrefValue(String prefValue) {
40: this .prefValue = prefValue;
41: }
42:
43: public String getUsername() {
44: return username;
45: }
46:
47: public void setUsername(String username) {
48: this.username = username;
49: }
50:
51: }
|