1
2
3
4
5
6
7
8 package com.buckosoft.PicMan.domain;
9
10 import java.util.Date;
11
12
13
14
15
16
17 public class SyncClient {
18 private int id;
19 private String name;
20 private int rid;
21 private int sid;
22 private String serverHost;
23 private String serverSet;
24 private boolean active;
25 private boolean allowPush;
26 private boolean allowPull;
27 private int period;
28 private Date lastSync;
29
30
31
32 public int getId() {
33 return id;
34 }
35
36
37
38 public void setId(int id) {
39 this.id = id;
40 }
41
42
43
44 public String getName() {
45 return name;
46 }
47
48
49
50 public void setName(String name) {
51 this.name = name;
52 }
53
54
55
56 public int getRid() {
57 return rid;
58 }
59
60
61
62 public void setRid(int rid) {
63 this.rid = rid;
64 }
65
66
67
68 public int getSid() {
69 return sid;
70 }
71
72
73
74 public void setSid(int sid) {
75 this.sid = sid;
76 }
77
78
79
80 public String getServerHost() {
81 return serverHost;
82 }
83
84
85
86 public void setServerHost(String serverHost) {
87 this.serverHost = serverHost;
88 }
89
90
91
92 public String getServerSet() {
93 return serverSet;
94 }
95
96
97
98 public void setServerSet(String serverSet) {
99 this.serverSet = serverSet;
100 }
101
102
103
104 public boolean isActive() {
105 return active;
106 }
107
108
109
110 public void setActive(boolean active) {
111 this.active = active;
112 }
113
114
115
116 public boolean isAllowPush() {
117 return allowPush;
118 }
119
120
121
122 public void setAllowPush(boolean allowPush) {
123 this.allowPush = allowPush;
124 }
125
126
127
128 public boolean isAllowPull() {
129 return allowPull;
130 }
131
132
133
134 public void setAllowPull(boolean allowPull) {
135 this.allowPull = allowPull;
136 }
137
138
139
140
141 public int getPeriod() {
142 return period;
143 }
144
145
146
147 public void setPeriod(int period) {
148 this.period = period;
149 }
150
151
152
153 public Date getLastSync() {
154 return lastSync;
155 }
156
157
158
159 public void setLastSync(Date lastSync) {
160 this.lastSync = lastSync;
161 }
162
163
164 }