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 @XmlAccessorType(XmlAccessType.FIELD)
42 @XmlType(name = "")
43 @XmlRootElement(name = "active-pattern")
44 public class ActivePattern {
45
46 @XmlAttribute(name = "id")
47 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
48 @XmlID
49 @XmlSchemaType(name = "ID")
50 protected String id;
51 @XmlAttribute(name = "name")
52 @XmlSchemaType(name = "anySimpleType")
53 protected String name;
54 @XmlAttribute(name = "role")
55 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
56 @XmlSchemaType(name = "NMTOKEN")
57 protected String role;
58
59
60
61
62
63
64
65
66
67 public String getId() {
68 return id;
69 }
70
71
72
73
74
75
76
77
78
79 public void setId(String value) {
80 this.id = value;
81 }
82
83
84
85
86
87
88
89
90
91 public String getName() {
92 return name;
93 }
94
95
96
97
98
99
100
101
102
103 public void setName(String value) {
104 this.name = value;
105 }
106
107
108
109
110
111
112
113
114
115 public String getRole() {
116 return role;
117 }
118
119
120
121
122
123
124
125
126
127 public void setRole(String value) {
128 this.role = value;
129 }
130
131 }