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