1
2
3
4
5
6
7
8
9 package org.openehealth.ipf.commons.xml.svrl;
10
11 import javax.xml.bind.annotation.XmlAccessType;
12 import javax.xml.bind.annotation.XmlAccessorType;
13 import javax.xml.bind.annotation.XmlAttribute;
14 import javax.xml.bind.annotation.XmlID;
15 import javax.xml.bind.annotation.XmlRootElement;
16 import javax.xml.bind.annotation.XmlSchemaType;
17 import javax.xml.bind.annotation.XmlType;
18 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
19 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42 @XmlAccessorType(XmlAccessType.FIELD)
43 @XmlType(name = "")
44 @XmlRootElement(name = "fired-rule")
45 public class FiredRule {
46
47 @XmlAttribute(name = "id")
48 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
49 @XmlID
50 @XmlSchemaType(name = "ID")
51 protected String id;
52 @XmlAttribute(name = "context", required = true)
53 @XmlSchemaType(name = "anySimpleType")
54 protected String context;
55 @XmlAttribute(name = "role")
56 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
57 @XmlSchemaType(name = "NMTOKEN")
58 protected String role;
59 @XmlAttribute(name = "flag")
60 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
61 @XmlSchemaType(name = "NMTOKEN")
62 protected String flag;
63
64
65
66
67
68
69
70
71
72 public String getId() {
73 return id;
74 }
75
76
77
78
79
80
81
82
83
84 public void setId(String value) {
85 this.id = value;
86 }
87
88
89
90
91
92
93
94
95
96 public String getContext() {
97 return context;
98 }
99
100
101
102
103
104
105
106
107
108 public void setContext(String value) {
109 this.context = value;
110 }
111
112
113
114
115
116
117
118
119
120 public String getRole() {
121 return role;
122 }
123
124
125
126
127
128
129
130
131
132 public void setRole(String value) {
133 this.role = value;
134 }
135
136
137
138
139
140
141
142
143
144 public String getFlag() {
145 return flag;
146 }
147
148
149
150
151
152
153
154
155
156 public void setFlag(String value) {
157 this.flag = value;
158 }
159
160 }