1
2 package org.miloss.fgsms.services.interfaces.policyconfiguration;
3
4 import java.io.Serializable;
5 import java.util.ArrayList;
6 import java.util.List;
7 import javax.xml.bind.annotation.XmlAccessType;
8 import javax.xml.bind.annotation.XmlAccessorType;
9 import javax.xml.bind.annotation.XmlElement;
10 import javax.xml.bind.annotation.XmlType;
11 import org.miloss.fgsms.services.interfaces.common.NameValuePair;
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36 @XmlAccessorType(XmlAccessType.FIELD)
37 @XmlType(name = "FederationPolicy", propOrder = {
38 "parameterNameValue",
39 "implementingClassName"
40 })
41 public class FederationPolicy
42 implements Serializable
43 {
44
45 private final static long serialVersionUID = 1L;
46 @XmlElement(name = "parameter_name_value", required = false)
47 protected List<NameValuePair> parameterNameValue;
48 @XmlElement(name = "implementing_class_name", required = true)
49 protected String implementingClassName;
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73 public List<NameValuePair> getParameterNameValue() {
74 if (parameterNameValue == null) {
75 parameterNameValue = new ArrayList<NameValuePair>();
76 }
77 return this.parameterNameValue;
78 }
79
80 public boolean isSetParameterNameValue() {
81 return ((this.parameterNameValue!= null)&&(!this.parameterNameValue.isEmpty()));
82 }
83
84 public void unsetParameterNameValue() {
85 this.parameterNameValue = null;
86 }
87
88
89
90
91
92
93
94
95
96 public String getImplementingClassName() {
97 return implementingClassName;
98 }
99
100
101
102
103
104
105
106
107
108 public void setImplementingClassName(String value) {
109 this.implementingClassName = value;
110 }
111
112 public boolean isSetImplementingClassName() {
113 return (this.implementingClassName!= null);
114 }
115
116 }