1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.opensaml.xacml.policy.impl;
20
21 import java.util.ArrayList;
22 import java.util.Collections;
23 import java.util.List;
24
25 import org.opensaml.xacml.policy.AttributeAssignmentType;
26 import org.opensaml.xml.XMLObject;
27
28
29 public class AttributeAssignmentTypeImpl extends AttributeValueTypeImpl implements AttributeAssignmentType {
30
31
32 private String attributeId;
33
34
35
36
37
38
39
40
41 protected AttributeAssignmentTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix) {
42 super(namespaceURI, elementLocalName, namespacePrefix);
43 }
44
45
46 public String getAttributeId() {
47 return attributeId;
48 }
49
50
51 public void setAttributeId(String newAttributeID) {
52 attributeId = prepareForAssignment(this.attributeId, newAttributeID);
53 }
54
55
56 public List<XMLObject> getOrderedChildren() {
57 ArrayList<XMLObject> children = new ArrayList<XMLObject>();
58
59 if (!super.getOrderedChildren().isEmpty()) {
60 children.addAll(super.getOrderedChildren());
61 }
62 return Collections.unmodifiableList(children);
63 }
64 }