1
2
3
4
5
6
7
8 package com.buckosoft.PicMan.domain;
9
10
11
12
13
14
15 public class SyncServer {
16 private int id;
17 private String name;
18 private int rid;
19 private int sid;
20 private boolean active;
21 private boolean allowPush;
22 private boolean allowPull;
23
24 public SyncServer() {
25 }
26
27 public SyncServer(int id, String name, int rid, int sid, boolean active, boolean allowPush, boolean allowPull) {
28 this.id = id;
29 this.name = name;
30 this.rid = rid;
31 this.sid = sid;
32 this.active = active;
33 this.allowPush = allowPush;
34 this.allowPull = allowPull;
35 }
36
37
38
39
40 public int getId() {
41 return id;
42 }
43
44
45
46 public void setId(int id) {
47 this.id = id;
48 }
49
50
51
52
53 public String getName() {
54 return name;
55 }
56
57
58
59 public void setName(String name) {
60 this.name = name;
61 }
62
63
64
65
66 public int getRid() {
67 return rid;
68 }
69
70
71
72 public void setRid(int rid) {
73 this.rid = rid;
74 }
75
76
77
78
79 public int getSid() {
80 return sid;
81 }
82
83
84
85 public void setSid(int sid) {
86 this.sid = sid;
87 }
88
89
90
91
92 public boolean isActive() {
93 return active;
94 }
95
96
97
98 public void setActive(boolean active) {
99 this.active = active;
100 }
101
102
103
104
105 public boolean isAllowPush() {
106 return allowPush;
107 }
108
109
110
111 public void setAllowPush(boolean allowPush) {
112 this.allowPush = allowPush;
113 }
114
115
116
117
118 public boolean isAllowPull() {
119 return allowPull;
120 }
121
122
123
124 public void setAllowPull(boolean allowPull) {
125 this.allowPull = allowPull;
126 }
127 }