Total Complexity | 8 |
Total Lines | 97 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | package com.base.Models; |
||
3 | public class Preference extends BaseModel { |
||
4 | |||
5 | /** |
||
6 | * Preference category |
||
7 | */ |
||
8 | private String category; |
||
9 | /** |
||
10 | * Preference name |
||
11 | */ |
||
12 | private String name; |
||
13 | /** |
||
14 | * Preference value |
||
15 | */ |
||
16 | private String value; |
||
17 | /** |
||
18 | * Preference user_id |
||
19 | */ |
||
20 | private String user_id; |
||
21 | |||
22 | /** |
||
23 | * Get Preference Category |
||
24 | * |
||
25 | * @return |
||
26 | */ |
||
27 | public String getCategory() { |
||
28 | return category; |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * Set Preference Category |
||
33 | * |
||
34 | * @param category |
||
35 | * @return |
||
36 | */ |
||
37 | public Preference setCategory(String category) { |
||
38 | this.category = category; |
||
39 | return this; |
||
40 | } |
||
41 | |||
42 | /** |
||
43 | * Get Preference Name |
||
44 | * |
||
45 | * @return |
||
46 | */ |
||
47 | public String getName() { |
||
48 | return name; |
||
49 | } |
||
50 | |||
51 | /** |
||
52 | * Set Preference Name |
||
53 | * |
||
54 | * @param name |
||
55 | * @return |
||
56 | */ |
||
57 | public Preference setName(String name) { |
||
58 | this.name = name; |
||
59 | return this; |
||
60 | } |
||
61 | |||
62 | /** |
||
63 | * Get Preference Value |
||
64 | * |
||
65 | * @return |
||
66 | */ |
||
67 | public String getValue() { |
||
68 | return value; |
||
69 | } |
||
70 | |||
71 | /** |
||
72 | * Set Preference Value |
||
73 | * |
||
74 | * @param value |
||
75 | * @return |
||
76 | */ |
||
77 | public Preference setValue(String value) { |
||
78 | this.value = value; |
||
79 | return this; |
||
80 | } |
||
81 | |||
82 | /** |
||
83 | * Get Preference User_id |
||
84 | * |
||
85 | * @return |
||
86 | */ |
||
87 | public String getUser_id() { |
||
|
|||
88 | return user_id; |
||
89 | } |
||
90 | |||
91 | /** |
||
92 | * Set Preference User_id |
||
93 | * |
||
94 | * @param user_id |
||
95 | * @return |
||
96 | */ |
||
97 | public Preference setUser_id(String user_id) { |
||
98 | this.user_id = user_id; |
||
99 | return this; |
||
100 | } |
||
102 |