1
2 package org.kuali.student.security.policy.dto;
3
4 import java.util.HashMap;
5 import java.util.Map;
6 import javax.xml.bind.annotation.XmlAccessType;
7 import javax.xml.bind.annotation.XmlAccessorType;
8 import javax.xml.bind.annotation.XmlAnyAttribute;
9 import javax.xml.bind.annotation.XmlAttribute;
10 import javax.xml.bind.annotation.XmlID;
11 import javax.xml.bind.annotation.XmlRootElement;
12 import javax.xml.bind.annotation.XmlSchemaType;
13 import javax.xml.bind.annotation.XmlType;
14 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
15 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
16 import javax.xml.namespace.QName;
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38 @XmlAccessorType(XmlAccessType.FIELD)
39 @XmlType(name = "")
40 @XmlRootElement(name = "Policy")
41 public class Policy
42 extends OperatorContentType
43 {
44
45 @XmlAttribute(name = "Name")
46 @XmlSchemaType(name = "anyURI")
47 protected String name;
48 @XmlAttribute(name = "Id", namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd")
49 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
50 @XmlID
51 @XmlSchemaType(name = "ID")
52 protected String id;
53 @XmlAnyAttribute
54 private Map<QName, String> otherAttributes = new HashMap<QName, String>();
55
56
57
58
59
60
61
62
63
64 public String getName() {
65 return name;
66 }
67
68
69
70
71
72
73
74
75
76 public void setName(String value) {
77 this.name = value;
78 }
79
80
81
82
83
84
85
86
87
88 public String getId() {
89 return id;
90 }
91
92
93
94
95
96
97
98
99
100 public void setId(String value) {
101 this.id = value;
102 }
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118 public Map<QName, String> getOtherAttributes() {
119 return otherAttributes;
120 }
121
122 }