1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.opensaml.xacml.ctx.impl;
18
19 import java.util.ArrayList;
20 import java.util.Collections;
21 import java.util.List;
22
23 import org.opensaml.xacml.ctx.AttributeValueType;
24 import org.opensaml.xacml.ctx.MissingAttributeDetailType;
25 import org.opensaml.xml.XMLObject;
26 import org.opensaml.xml.util.XMLObjectChildrenList;
27 import org.opensaml.xml.validation.AbstractValidatingXMLObject;
28
29
30 public class MissingAttributeDetailTypeImpl extends AbstractValidatingXMLObject implements MissingAttributeDetailType {
31
32
33 private XMLObjectChildrenList<AttributeValueType> attributeValues;
34
35
36 private String attributeId;
37
38
39 private String dataType;
40
41
42 private String issuer;
43
44
45
46
47
48
49
50
51 protected MissingAttributeDetailTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix) {
52 super(namespaceURI, elementLocalName, namespacePrefix);
53 attributeValues = new XMLObjectChildrenList<AttributeValueType>(this);
54 }
55
56
57 public String getAttributeId() {
58 return attributeId;
59 }
60
61
62 public List<AttributeValueType> getAttributeValues() {
63 return attributeValues;
64 }
65
66
67 public String getDataType() {
68 return dataType;
69 }
70
71
72 public String getIssuer() {
73 return issuer;
74 }
75
76
77 public List<XMLObject> getOrderedChildren() {
78 ArrayList<XMLObject> children = new ArrayList<XMLObject>();
79
80 children.addAll(attributeValues);
81
82 return Collections.unmodifiableList(children);
83 }
84
85
86 public void setAttributeId(String id) {
87 attributeId = prepareForAssignment(attributeId, id);
88 }
89
90
91 public void setDataType(String type) {
92 dataType = prepareForAssignment(dataType, type);
93 }
94
95
96 public void setIssuer(String issuer) {
97 this.issuer = prepareForAssignment(this.issuer, issuer);
98 }
99 }