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