|
1 |
| |
|
2 |
| |
|
3 |
| |
|
4 |
| |
|
5 |
| |
|
6 |
| |
|
7 |
| |
|
8 |
| package org.globus.cas.types; |
|
9 |
| |
|
10 |
| public class PolicyData extends org.globus.cas.types.CasObjectData implements java.io.Serializable { |
|
11 |
| private java.lang.String policyId; |
|
12 |
| private java.lang.String userGroupName; |
|
13 |
| private java.lang.String objectSpec; |
|
14 |
| private java.lang.String objectSpecDesc; |
|
15 |
| private java.lang.String actionSpec; |
|
16 |
| private java.lang.String actionSpecDesc; |
|
17 |
| |
|
18 |
0
| public PolicyData() {
|
|
19 |
| } |
|
20 |
| |
|
21 |
0
| public PolicyData(
|
|
22 |
| java.lang.String actionSpec, |
|
23 |
| java.lang.String actionSpecDesc, |
|
24 |
| java.lang.String objectSpec, |
|
25 |
| java.lang.String objectSpecDesc, |
|
26 |
| java.lang.String policyId, |
|
27 |
| java.lang.String userGroupName) { |
|
28 |
0
| this.policyId = policyId;
|
|
29 |
0
| this.userGroupName = userGroupName;
|
|
30 |
0
| this.objectSpec = objectSpec;
|
|
31 |
0
| this.objectSpecDesc = objectSpecDesc;
|
|
32 |
0
| this.actionSpec = actionSpec;
|
|
33 |
0
| this.actionSpecDesc = actionSpecDesc;
|
|
34 |
| } |
|
35 |
| |
|
36 |
| |
|
37 |
| |
|
38 |
| |
|
39 |
| |
|
40 |
| |
|
41 |
| |
|
42 |
0
| public java.lang.String getPolicyId() {
|
|
43 |
0
| return policyId;
|
|
44 |
| } |
|
45 |
| |
|
46 |
| |
|
47 |
| |
|
48 |
| |
|
49 |
| |
|
50 |
| |
|
51 |
| |
|
52 |
0
| public void setPolicyId(java.lang.String policyId) {
|
|
53 |
0
| this.policyId = policyId;
|
|
54 |
| } |
|
55 |
| |
|
56 |
| |
|
57 |
| |
|
58 |
| |
|
59 |
| |
|
60 |
| |
|
61 |
| |
|
62 |
0
| public java.lang.String getUserGroupName() {
|
|
63 |
0
| return userGroupName;
|
|
64 |
| } |
|
65 |
| |
|
66 |
| |
|
67 |
| |
|
68 |
| |
|
69 |
| |
|
70 |
| |
|
71 |
| |
|
72 |
0
| public void setUserGroupName(java.lang.String userGroupName) {
|
|
73 |
0
| this.userGroupName = userGroupName;
|
|
74 |
| } |
|
75 |
| |
|
76 |
| |
|
77 |
| |
|
78 |
| |
|
79 |
| |
|
80 |
| |
|
81 |
| |
|
82 |
0
| public java.lang.String getObjectSpec() {
|
|
83 |
0
| return objectSpec;
|
|
84 |
| } |
|
85 |
| |
|
86 |
| |
|
87 |
| |
|
88 |
| |
|
89 |
| |
|
90 |
| |
|
91 |
| |
|
92 |
0
| public void setObjectSpec(java.lang.String objectSpec) {
|
|
93 |
0
| this.objectSpec = objectSpec;
|
|
94 |
| } |
|
95 |
| |
|
96 |
| |
|
97 |
| |
|
98 |
| |
|
99 |
| |
|
100 |
| |
|
101 |
| |
|
102 |
0
| public java.lang.String getObjectSpecDesc() {
|
|
103 |
0
| return objectSpecDesc;
|
|
104 |
| } |
|
105 |
| |
|
106 |
| |
|
107 |
| |
|
108 |
| |
|
109 |
| |
|
110 |
| |
|
111 |
| |
|
112 |
0
| public void setObjectSpecDesc(java.lang.String objectSpecDesc) {
|
|
113 |
0
| this.objectSpecDesc = objectSpecDesc;
|
|
114 |
| } |
|
115 |
| |
|
116 |
| |
|
117 |
| |
|
118 |
| |
|
119 |
| |
|
120 |
| |
|
121 |
| |
|
122 |
0
| public java.lang.String getActionSpec() {
|
|
123 |
0
| return actionSpec;
|
|
124 |
| } |
|
125 |
| |
|
126 |
| |
|
127 |
| |
|
128 |
| |
|
129 |
| |
|
130 |
| |
|
131 |
| |
|
132 |
0
| public void setActionSpec(java.lang.String actionSpec) {
|
|
133 |
0
| this.actionSpec = actionSpec;
|
|
134 |
| } |
|
135 |
| |
|
136 |
| |
|
137 |
| |
|
138 |
| |
|
139 |
| |
|
140 |
| |
|
141 |
| |
|
142 |
0
| public java.lang.String getActionSpecDesc() {
|
|
143 |
0
| return actionSpecDesc;
|
|
144 |
| } |
|
145 |
| |
|
146 |
| |
|
147 |
| |
|
148 |
| |
|
149 |
| |
|
150 |
| |
|
151 |
| |
|
152 |
0
| public void setActionSpecDesc(java.lang.String actionSpecDesc) {
|
|
153 |
0
| this.actionSpecDesc = actionSpecDesc;
|
|
154 |
| } |
|
155 |
| |
|
156 |
| private java.lang.Object __equalsCalc = null; |
|
157 |
0
| public synchronized boolean equals(java.lang.Object obj) {
|
|
158 |
0
| if (!(obj instanceof PolicyData)) return false;
|
|
159 |
0
| PolicyData other = (PolicyData) obj;
|
|
160 |
0
| if (obj == null) return false;
|
|
161 |
0
| if (this == obj) return true;
|
|
162 |
0
| if (__equalsCalc != null) {
|
|
163 |
0
| return (__equalsCalc == obj);
|
|
164 |
| } |
|
165 |
0
| __equalsCalc = obj;
|
|
166 |
0
| boolean _equals;
|
|
167 |
0
| _equals = super.equals(obj) &&
|
|
168 |
| ((this.policyId==null && other.getPolicyId()==null) || |
|
169 |
| (this.policyId!=null && |
|
170 |
| this.policyId.equals(other.getPolicyId()))) && |
|
171 |
| ((this.userGroupName==null && other.getUserGroupName()==null) || |
|
172 |
| (this.userGroupName!=null && |
|
173 |
| this.userGroupName.equals(other.getUserGroupName()))) && |
|
174 |
| ((this.objectSpec==null && other.getObjectSpec()==null) || |
|
175 |
| (this.objectSpec!=null && |
|
176 |
| this.objectSpec.equals(other.getObjectSpec()))) && |
|
177 |
| ((this.objectSpecDesc==null && other.getObjectSpecDesc()==null) || |
|
178 |
| (this.objectSpecDesc!=null && |
|
179 |
| this.objectSpecDesc.equals(other.getObjectSpecDesc()))) && |
|
180 |
| ((this.actionSpec==null && other.getActionSpec()==null) || |
|
181 |
| (this.actionSpec!=null && |
|
182 |
| this.actionSpec.equals(other.getActionSpec()))) && |
|
183 |
| ((this.actionSpecDesc==null && other.getActionSpecDesc()==null) || |
|
184 |
| (this.actionSpecDesc!=null && |
|
185 |
| this.actionSpecDesc.equals(other.getActionSpecDesc()))); |
|
186 |
0
| __equalsCalc = null;
|
|
187 |
0
| return _equals;
|
|
188 |
| } |
|
189 |
| |
|
190 |
| private boolean __hashCodeCalc = false; |
|
191 |
0
| public synchronized int hashCode() {
|
|
192 |
0
| if (__hashCodeCalc) {
|
|
193 |
0
| return 0;
|
|
194 |
| } |
|
195 |
0
| __hashCodeCalc = true;
|
|
196 |
0
| int _hashCode = super.hashCode();
|
|
197 |
0
| if (getPolicyId() != null) {
|
|
198 |
0
| _hashCode += getPolicyId().hashCode();
|
|
199 |
| } |
|
200 |
0
| if (getUserGroupName() != null) {
|
|
201 |
0
| _hashCode += getUserGroupName().hashCode();
|
|
202 |
| } |
|
203 |
0
| if (getObjectSpec() != null) {
|
|
204 |
0
| _hashCode += getObjectSpec().hashCode();
|
|
205 |
| } |
|
206 |
0
| if (getObjectSpecDesc() != null) {
|
|
207 |
0
| _hashCode += getObjectSpecDesc().hashCode();
|
|
208 |
| } |
|
209 |
0
| if (getActionSpec() != null) {
|
|
210 |
0
| _hashCode += getActionSpec().hashCode();
|
|
211 |
| } |
|
212 |
0
| if (getActionSpecDesc() != null) {
|
|
213 |
0
| _hashCode += getActionSpecDesc().hashCode();
|
|
214 |
| } |
|
215 |
0
| __hashCodeCalc = false;
|
|
216 |
0
| return _hashCode;
|
|
217 |
| } |
|
218 |
| |
|
219 |
| |
|
220 |
| private static org.apache.axis.description.TypeDesc typeDesc = |
|
221 |
| new org.apache.axis.description.TypeDesc(PolicyData.class, true); |
|
222 |
| |
|
223 |
| static { |
|
224 |
1
| typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.globus.org/07/2004/cas/casTypes", "PolicyData"));
|
|
225 |
1
| org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
|
226 |
1
| elemField.setFieldName("policyId");
|
|
227 |
1
| elemField.setXmlName(new javax.xml.namespace.QName("http://www.globus.org/07/2004/cas/casTypes", "policyId"));
|
|
228 |
1
| elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
229 |
1
| elemField.setNillable(true);
|
|
230 |
1
| typeDesc.addFieldDesc(elemField);
|
|
231 |
1
| elemField = new org.apache.axis.description.ElementDesc();
|
|
232 |
1
| elemField.setFieldName("userGroupName");
|
|
233 |
1
| elemField.setXmlName(new javax.xml.namespace.QName("http://www.globus.org/07/2004/cas/casTypes", "userGroupName"));
|
|
234 |
1
| elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
235 |
1
| typeDesc.addFieldDesc(elemField);
|
|
236 |
1
| elemField = new org.apache.axis.description.ElementDesc();
|
|
237 |
1
| elemField.setFieldName("objectSpec");
|
|
238 |
1
| elemField.setXmlName(new javax.xml.namespace.QName("http://www.globus.org/07/2004/cas/casTypes", "objectSpec"));
|
|
239 |
1
| elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
240 |
1
| typeDesc.addFieldDesc(elemField);
|
|
241 |
1
| elemField = new org.apache.axis.description.ElementDesc();
|
|
242 |
1
| elemField.setFieldName("objectSpecDesc");
|
|
243 |
1
| elemField.setXmlName(new javax.xml.namespace.QName("http://www.globus.org/07/2004/cas/casTypes", "objectSpecDesc"));
|
|
244 |
1
| elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
245 |
1
| typeDesc.addFieldDesc(elemField);
|
|
246 |
1
| elemField = new org.apache.axis.description.ElementDesc();
|
|
247 |
1
| elemField.setFieldName("actionSpec");
|
|
248 |
1
| elemField.setXmlName(new javax.xml.namespace.QName("http://www.globus.org/07/2004/cas/casTypes", "actionSpec"));
|
|
249 |
1
| elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
250 |
1
| typeDesc.addFieldDesc(elemField);
|
|
251 |
1
| elemField = new org.apache.axis.description.ElementDesc();
|
|
252 |
1
| elemField.setFieldName("actionSpecDesc");
|
|
253 |
1
| elemField.setXmlName(new javax.xml.namespace.QName("http://www.globus.org/07/2004/cas/casTypes", "actionSpecDesc"));
|
|
254 |
1
| elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
255 |
1
| typeDesc.addFieldDesc(elemField);
|
|
256 |
| } |
|
257 |
| |
|
258 |
| |
|
259 |
| |
|
260 |
| |
|
261 |
1
| public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
|
262 |
1
| return typeDesc;
|
|
263 |
| } |
|
264 |
| |
|
265 |
| |
|
266 |
| |
|
267 |
| |
|
268 |
0
| public static org.apache.axis.encoding.Serializer getSerializer(
|
|
269 |
| java.lang.String mechType, |
|
270 |
| java.lang.Class _javaType, |
|
271 |
| javax.xml.namespace.QName _xmlType) { |
|
272 |
0
| return
|
|
273 |
| new org.apache.axis.encoding.ser.BeanSerializer( |
|
274 |
| _javaType, _xmlType, typeDesc); |
|
275 |
| } |
|
276 |
| |
|
277 |
| |
|
278 |
| |
|
279 |
| |
|
280 |
0
| public static org.apache.axis.encoding.Deserializer getDeserializer(
|
|
281 |
| java.lang.String mechType, |
|
282 |
| java.lang.Class _javaType, |
|
283 |
| javax.xml.namespace.QName _xmlType) { |
|
284 |
0
| return
|
|
285 |
| new org.apache.axis.encoding.ser.BeanDeserializer( |
|
286 |
| _javaType, _xmlType, typeDesc); |
|
287 |
| } |
|
288 |
| |
|
289 |
| } |