1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.opensaml.xacml.policy.impl;
19
20 import java.util.ArrayList;
21 import java.util.Collections;
22 import java.util.List;
23
24 import org.opensaml.xacml.policy.AttributeValueType;
25 import org.opensaml.xacml.policy.CombinerParameterType;
26 import org.opensaml.xml.XMLObject;
27 import org.opensaml.xml.validation.AbstractValidatingXMLObject;
28
29
30
31
32 public class CombinerParameterTypeImpl extends AbstractValidatingXMLObject implements CombinerParameterType {
33
34
35 private String name;
36
37
38 private AttributeValueType value;
39
40
41
42
43
44
45
46 protected CombinerParameterTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix){
47 super(namespaceURI,elementLocalName,namespacePrefix);
48 }
49
50
51 public AttributeValueType getAttributeValue() {
52 return value;
53 }
54
55
56 public String getParameterName() {
57 return name;
58 }
59
60
61 public void setAttributeValue(AttributeValueType newValue) {
62 this.value = prepareForAssignment(this.value,newValue);
63 }
64
65
66 public void setParameterName(String newName){
67 this.name = prepareForAssignment(this.name,newName);
68 }
69
70
71 public List<XMLObject> getOrderedChildren() {
72 ArrayList<XMLObject> children = new ArrayList<XMLObject>();
73
74 if(value != null){
75 children.add(value);
76 }
77
78 return Collections.unmodifiableList(children);
79 }
80
81 }