|
1 |
| |
|
2 |
| |
|
3 |
| |
|
4 |
| |
|
5 |
| |
|
6 |
| |
|
7 |
| |
|
8 |
| package org.globus.cas.types; |
|
9 |
| |
|
10 |
| public class SAMLAssertion implements java.io.Serializable, org.apache.axis.encoding.AnyContentType { |
|
11 |
| private org.apache.axis.message.MessageElement [] _any; |
|
12 |
| |
|
13 |
0
| public SAMLAssertion() {
|
|
14 |
| } |
|
15 |
| |
|
16 |
0
| public SAMLAssertion(
|
|
17 |
| org.apache.axis.message.MessageElement [] _any) { |
|
18 |
0
| this._any = _any;
|
|
19 |
| } |
|
20 |
| |
|
21 |
| |
|
22 |
| |
|
23 |
| |
|
24 |
| |
|
25 |
| |
|
26 |
| |
|
27 |
0
| public org.apache.axis.message.MessageElement [] get_any() {
|
|
28 |
0
| return _any;
|
|
29 |
| } |
|
30 |
| |
|
31 |
| |
|
32 |
| |
|
33 |
| |
|
34 |
| |
|
35 |
| |
|
36 |
| |
|
37 |
0
| public void set_any(org.apache.axis.message.MessageElement [] _any) {
|
|
38 |
0
| this._any = _any;
|
|
39 |
| } |
|
40 |
| |
|
41 |
| private java.lang.Object __equalsCalc = null; |
|
42 |
0
| public synchronized boolean equals(java.lang.Object obj) {
|
|
43 |
0
| if (!(obj instanceof SAMLAssertion)) return false;
|
|
44 |
0
| SAMLAssertion other = (SAMLAssertion) obj;
|
|
45 |
0
| if (obj == null) return false;
|
|
46 |
0
| if (this == obj) return true;
|
|
47 |
0
| if (__equalsCalc != null) {
|
|
48 |
0
| return (__equalsCalc == obj);
|
|
49 |
| } |
|
50 |
0
| __equalsCalc = obj;
|
|
51 |
0
| boolean _equals;
|
|
52 |
0
| _equals = true &&
|
|
53 |
| ((this._any==null && other.get_any()==null) || |
|
54 |
| (this._any!=null && |
|
55 |
| java.util.Arrays.equals(this._any, other.get_any()))); |
|
56 |
0
| __equalsCalc = null;
|
|
57 |
0
| return _equals;
|
|
58 |
| } |
|
59 |
| |
|
60 |
| private boolean __hashCodeCalc = false; |
|
61 |
0
| public synchronized int hashCode() {
|
|
62 |
0
| if (__hashCodeCalc) {
|
|
63 |
0
| return 0;
|
|
64 |
| } |
|
65 |
0
| __hashCodeCalc = true;
|
|
66 |
0
| int _hashCode = 1;
|
|
67 |
0
| if (get_any() != null) {
|
|
68 |
0
| for (int i=0;
|
|
69 |
0
| i<java.lang.reflect.Array.getLength(get_any());
|
|
70 |
| i++) { |
|
71 |
0
| java.lang.Object obj = java.lang.reflect.Array.get(get_any(), i);
|
|
72 |
0
| if (obj != null &&
|
|
73 |
| !obj.getClass().isArray()) { |
|
74 |
0
| _hashCode += obj.hashCode();
|
|
75 |
| } |
|
76 |
| } |
|
77 |
| } |
|
78 |
0
| __hashCodeCalc = false;
|
|
79 |
0
| return _hashCode;
|
|
80 |
| } |
|
81 |
| |
|
82 |
| |
|
83 |
| private static org.apache.axis.description.TypeDesc typeDesc = |
|
84 |
| new org.apache.axis.description.TypeDesc(SAMLAssertion.class, true); |
|
85 |
| |
|
86 |
| static { |
|
87 |
0
| typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.globus.org/07/2004/cas/casTypes", "SAMLAssertion"));
|
|
88 |
| } |
|
89 |
| |
|
90 |
| |
|
91 |
| |
|
92 |
| |
|
93 |
0
| public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
|
94 |
0
| return typeDesc;
|
|
95 |
| } |
|
96 |
| |
|
97 |
| |
|
98 |
| |
|
99 |
| |
|
100 |
0
| public static org.apache.axis.encoding.Serializer getSerializer(
|
|
101 |
| java.lang.String mechType, |
|
102 |
| java.lang.Class _javaType, |
|
103 |
| javax.xml.namespace.QName _xmlType) { |
|
104 |
0
| return
|
|
105 |
| new org.apache.axis.encoding.ser.BeanSerializer( |
|
106 |
| _javaType, _xmlType, typeDesc); |
|
107 |
| } |
|
108 |
| |
|
109 |
| |
|
110 |
| |
|
111 |
| |
|
112 |
0
| public static org.apache.axis.encoding.Deserializer getDeserializer(
|
|
113 |
| java.lang.String mechType, |
|
114 |
| java.lang.Class _javaType, |
|
115 |
| javax.xml.namespace.QName _xmlType) { |
|
116 |
0
| return
|
|
117 |
| new org.apache.axis.encoding.ser.BeanDeserializer( |
|
118 |
| _javaType, _xmlType, typeDesc); |
|
119 |
| } |
|
120 |
| |
|
121 |
| } |