1
2
3
4
5
6
7
8 package org.ogf.srm22;
9
10 public class SrmGetSpaceMetaDataRequest implements java.io.Serializable {
11 private java.lang.String authorizationID;
12
13 private org.ogf.srm22.ArrayOfString arrayOfSpaceTokens;
14
15 public SrmGetSpaceMetaDataRequest() {
16 }
17
18 public SrmGetSpaceMetaDataRequest(
19 java.lang.String authorizationID,
20 org.ogf.srm22.ArrayOfString arrayOfSpaceTokens) {
21 this.authorizationID = authorizationID;
22 this.arrayOfSpaceTokens = arrayOfSpaceTokens;
23 }
24
25
26
27
28
29
30
31 public java.lang.String getAuthorizationID() {
32 return authorizationID;
33 }
34
35
36
37
38
39
40
41 public void setAuthorizationID(java.lang.String authorizationID) {
42 this.authorizationID = authorizationID;
43 }
44
45
46
47
48
49
50
51 public org.ogf.srm22.ArrayOfString getArrayOfSpaceTokens() {
52 return arrayOfSpaceTokens;
53 }
54
55
56
57
58
59
60
61 public void setArrayOfSpaceTokens(org.ogf.srm22.ArrayOfString arrayOfSpaceTokens) {
62 this.arrayOfSpaceTokens = arrayOfSpaceTokens;
63 }
64
65 private java.lang.Object __equalsCalc = null;
66 public synchronized boolean equals(java.lang.Object obj) {
67 if (!(obj instanceof SrmGetSpaceMetaDataRequest)) return false;
68 SrmGetSpaceMetaDataRequest other = (SrmGetSpaceMetaDataRequest) obj;
69 if (obj == null) return false;
70 if (this == obj) return true;
71 if (__equalsCalc != null) {
72 return (__equalsCalc == obj);
73 }
74 __equalsCalc = obj;
75 boolean _equals;
76 _equals = true &&
77 ((this.authorizationID==null && other.getAuthorizationID()==null) ||
78 (this.authorizationID!=null &&
79 this.authorizationID.equals(other.getAuthorizationID()))) &&
80 ((this.arrayOfSpaceTokens==null && other.getArrayOfSpaceTokens()==null) ||
81 (this.arrayOfSpaceTokens!=null &&
82 this.arrayOfSpaceTokens.equals(other.getArrayOfSpaceTokens())));
83 __equalsCalc = null;
84 return _equals;
85 }
86
87 private boolean __hashCodeCalc = false;
88 public synchronized int hashCode() {
89 if (__hashCodeCalc) {
90 return 0;
91 }
92 __hashCodeCalc = true;
93 int _hashCode = 1;
94 if (getAuthorizationID() != null) {
95 _hashCode += getAuthorizationID().hashCode();
96 }
97 if (getArrayOfSpaceTokens() != null) {
98 _hashCode += getArrayOfSpaceTokens().hashCode();
99 }
100 __hashCodeCalc = false;
101 return _hashCode;
102 }
103
104
105 private static org.apache.axis.description.TypeDesc typeDesc =
106 new org.apache.axis.description.TypeDesc(SrmGetSpaceMetaDataRequest.class, true);
107
108 static {
109 typeDesc.setXmlType(new javax.xml.namespace.QName("http://srm.lbl.gov/StorageResourceManager", "srmGetSpaceMetaDataRequest"));
110 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
111 elemField.setFieldName("authorizationID");
112 elemField.setXmlName(new javax.xml.namespace.QName("", "authorizationID"));
113 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
114 elemField.setMinOccurs(0);
115 elemField.setNillable(true);
116 typeDesc.addFieldDesc(elemField);
117 elemField = new org.apache.axis.description.ElementDesc();
118 elemField.setFieldName("arrayOfSpaceTokens");
119 elemField.setXmlName(new javax.xml.namespace.QName("", "arrayOfSpaceTokens"));
120 elemField.setXmlType(new javax.xml.namespace.QName("http://srm.lbl.gov/StorageResourceManager", "ArrayOfString"));
121 elemField.setNillable(false);
122 typeDesc.addFieldDesc(elemField);
123 }
124
125
126
127
128 public static org.apache.axis.description.TypeDesc getTypeDesc() {
129 return typeDesc;
130 }
131
132
133
134
135 public static org.apache.axis.encoding.Serializer getSerializer(
136 java.lang.String mechType,
137 java.lang.Class _javaType,
138 javax.xml.namespace.QName _xmlType) {
139 return
140 new org.apache.axis.encoding.ser.BeanSerializer(
141 _javaType, _xmlType, typeDesc);
142 }
143
144
145
146
147 public static org.apache.axis.encoding.Deserializer getDeserializer(
148 java.lang.String mechType,
149 java.lang.Class _javaType,
150 javax.xml.namespace.QName _xmlType) {
151 return
152 new org.apache.axis.encoding.ser.BeanDeserializer(
153 _javaType, _xmlType, typeDesc);
154 }
155
156 }