1
2
3
4
5 package gboat2.cxf.model;
6
7 import javax.persistence.Column;
8 import javax.persistence.Entity;
9 import javax.persistence.GeneratedValue;
10 import javax.persistence.Id;
11 import javax.persistence.Table;
12
13 import org.hibernate.annotations.GenericGenerator;
14
15
16
17
18
19
20
21 @Entity
22 @Table(name = "G2_T_WEB_SERVICE_CONFIG")
23 public class WebServiceConfig {
24
25
26
27
28 private String configId;
29
30
31
32
33 private String bundleName;
34
35
36
37
38 private String interfaceName;
39
40
41
42
43 private String bundleVersion;
44
45
46
47
48
49 private String status;
50
51
52
53
54 private String relativeAddress;
55
56 @Id
57 @GenericGenerator(name = "generator", strategy = "uuid.hex")
58 @GeneratedValue(generator = "generator")
59 @Column(name = "CONFIG_ID", length = 40)
60 public String getConfigId() {
61 return configId;
62 }
63
64 public void setConfigId(String configId) {
65 this.configId = configId;
66 }
67
68 @Column(name = "BUNDLE_NAME", length = 100)
69 public String getBundleName() {
70 return bundleName;
71 }
72
73 public void setBundleName(String bundleName) {
74 this.bundleName = bundleName;
75 }
76
77 @Column(name = "BUNDLE_VERSION", length = 100)
78 public String getBundleVersion() {
79 return bundleVersion;
80 }
81
82 public void setBundleVersion(String bundleVersion) {
83 this.bundleVersion = bundleVersion;
84 }
85
86 @Column(name = "STATUS", length = 100)
87 public String getStatus() {
88 return status;
89 }
90
91 public void setStatus(String status) {
92 this.status = status;
93 }
94
95 @Column(name = "RELATIVE_ADDRESS", length = 200)
96 public String getRelativeAddress() {
97 return relativeAddress;
98 }
99
100 public void setRelativeAddress(String relativeAddress) {
101 this.relativeAddress = relativeAddress;
102 }
103
104 @Column(name = "INTERFACE_NAME", length = 300)
105 public String getInterfaceName() {
106 return interfaceName;
107 }
108
109 public void setInterfaceName(String interfaceName) {
110 this.interfaceName = interfaceName;
111 }
112 }