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