-
Notifications
You must be signed in to change notification settings - Fork 2
/
MockConfigBO.java
executable file
·65 lines (45 loc) · 1.08 KB
/
MockConfigBO.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
package in.eko.service.model;
import in.eko.service.hibernate.HibernateDataAccess;
public class MockConfigBO {
private int configId;
private String configKey;
private String configValue;
private String description;
private Integer source;
public int getConfigId() {
return configId;
}
public void setConfigId(int configId) {
this.configId = configId;
}
public String getConfigKey() {
return configKey;
}
public void setConfigKey(String configKey) {
this.configKey = configKey;
}
public String getConfigValue() {
return configValue;
}
public void setConfigValue(String configValue) {
this.configValue = configValue;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public Integer getSource() {
return source;
}
public void setSource(Integer source) {
this.source = source;
}
public String getUniqueKey(){
return this.configKey+"_"+this.source;
}
public void save() throws Exception {
new HibernateDataAccess().save(this);
}
}