View Javadoc

1   /**
2    * SrmStatusOfCopyRequestRequest.java
3    *
4    * This file was auto-generated from WSDL
5    * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
6    */
7   
8   package org.ogf.srm22;
9   
10  public class SrmStatusOfCopyRequestRequest  implements java.io.Serializable {
11      private java.lang.String requestToken;
12  
13      private java.lang.String authorizationID;
14  
15      private org.ogf.srm22.ArrayOfAnyURI arrayOfSourceSURLs;
16  
17      private org.ogf.srm22.ArrayOfAnyURI arrayOfTargetSURLs;
18  
19      public SrmStatusOfCopyRequestRequest() {
20      }
21  
22      public SrmStatusOfCopyRequestRequest(
23             java.lang.String requestToken,
24             java.lang.String authorizationID,
25             org.ogf.srm22.ArrayOfAnyURI arrayOfSourceSURLs,
26             org.ogf.srm22.ArrayOfAnyURI arrayOfTargetSURLs) {
27             this.requestToken = requestToken;
28             this.authorizationID = authorizationID;
29             this.arrayOfSourceSURLs = arrayOfSourceSURLs;
30             this.arrayOfTargetSURLs = arrayOfTargetSURLs;
31      }
32  
33  
34      /**
35       * Gets the requestToken value for this SrmStatusOfCopyRequestRequest.
36       * 
37       * @return requestToken
38       */
39      public java.lang.String getRequestToken() {
40          return requestToken;
41      }
42  
43  
44      /**
45       * Sets the requestToken value for this SrmStatusOfCopyRequestRequest.
46       * 
47       * @param requestToken
48       */
49      public void setRequestToken(java.lang.String requestToken) {
50          this.requestToken = requestToken;
51      }
52  
53  
54      /**
55       * Gets the authorizationID value for this SrmStatusOfCopyRequestRequest.
56       * 
57       * @return authorizationID
58       */
59      public java.lang.String getAuthorizationID() {
60          return authorizationID;
61      }
62  
63  
64      /**
65       * Sets the authorizationID value for this SrmStatusOfCopyRequestRequest.
66       * 
67       * @param authorizationID
68       */
69      public void setAuthorizationID(java.lang.String authorizationID) {
70          this.authorizationID = authorizationID;
71      }
72  
73  
74      /**
75       * Gets the arrayOfSourceSURLs value for this SrmStatusOfCopyRequestRequest.
76       * 
77       * @return arrayOfSourceSURLs
78       */
79      public org.ogf.srm22.ArrayOfAnyURI getArrayOfSourceSURLs() {
80          return arrayOfSourceSURLs;
81      }
82  
83  
84      /**
85       * Sets the arrayOfSourceSURLs value for this SrmStatusOfCopyRequestRequest.
86       * 
87       * @param arrayOfSourceSURLs
88       */
89      public void setArrayOfSourceSURLs(org.ogf.srm22.ArrayOfAnyURI arrayOfSourceSURLs) {
90          this.arrayOfSourceSURLs = arrayOfSourceSURLs;
91      }
92  
93  
94      /**
95       * Gets the arrayOfTargetSURLs value for this SrmStatusOfCopyRequestRequest.
96       * 
97       * @return arrayOfTargetSURLs
98       */
99      public org.ogf.srm22.ArrayOfAnyURI getArrayOfTargetSURLs() {
100         return arrayOfTargetSURLs;
101     }
102 
103 
104     /**
105      * Sets the arrayOfTargetSURLs value for this SrmStatusOfCopyRequestRequest.
106      * 
107      * @param arrayOfTargetSURLs
108      */
109     public void setArrayOfTargetSURLs(org.ogf.srm22.ArrayOfAnyURI arrayOfTargetSURLs) {
110         this.arrayOfTargetSURLs = arrayOfTargetSURLs;
111     }
112 
113     private java.lang.Object __equalsCalc = null;
114     public synchronized boolean equals(java.lang.Object obj) {
115         if (!(obj instanceof SrmStatusOfCopyRequestRequest)) return false;
116         SrmStatusOfCopyRequestRequest other = (SrmStatusOfCopyRequestRequest) 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.requestToken==null && other.getRequestToken()==null) || 
126              (this.requestToken!=null &&
127               this.requestToken.equals(other.getRequestToken()))) &&
128             ((this.authorizationID==null && other.getAuthorizationID()==null) || 
129              (this.authorizationID!=null &&
130               this.authorizationID.equals(other.getAuthorizationID()))) &&
131             ((this.arrayOfSourceSURLs==null && other.getArrayOfSourceSURLs()==null) || 
132              (this.arrayOfSourceSURLs!=null &&
133               this.arrayOfSourceSURLs.equals(other.getArrayOfSourceSURLs()))) &&
134             ((this.arrayOfTargetSURLs==null && other.getArrayOfTargetSURLs()==null) || 
135              (this.arrayOfTargetSURLs!=null &&
136               this.arrayOfTargetSURLs.equals(other.getArrayOfTargetSURLs())));
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 (getRequestToken() != null) {
149             _hashCode += getRequestToken().hashCode();
150         }
151         if (getAuthorizationID() != null) {
152             _hashCode += getAuthorizationID().hashCode();
153         }
154         if (getArrayOfSourceSURLs() != null) {
155             _hashCode += getArrayOfSourceSURLs().hashCode();
156         }
157         if (getArrayOfTargetSURLs() != null) {
158             _hashCode += getArrayOfTargetSURLs().hashCode();
159         }
160         __hashCodeCalc = false;
161         return _hashCode;
162     }
163 
164     // Type metadata
165     private static org.apache.axis.description.TypeDesc typeDesc =
166         new org.apache.axis.description.TypeDesc(SrmStatusOfCopyRequestRequest.class, true);
167 
168     static {
169         typeDesc.setXmlType(new javax.xml.namespace.QName("http://srm.lbl.gov/StorageResourceManager", "srmStatusOfCopyRequestRequest"));
170         org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
171         elemField.setFieldName("requestToken");
172         elemField.setXmlName(new javax.xml.namespace.QName("", "requestToken"));
173         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
174         elemField.setNillable(false);
175         typeDesc.addFieldDesc(elemField);
176         elemField = new org.apache.axis.description.ElementDesc();
177         elemField.setFieldName("authorizationID");
178         elemField.setXmlName(new javax.xml.namespace.QName("", "authorizationID"));
179         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
180         elemField.setMinOccurs(0);
181         elemField.setNillable(true);
182         typeDesc.addFieldDesc(elemField);
183         elemField = new org.apache.axis.description.ElementDesc();
184         elemField.setFieldName("arrayOfSourceSURLs");
185         elemField.setXmlName(new javax.xml.namespace.QName("", "arrayOfSourceSURLs"));
186         elemField.setXmlType(new javax.xml.namespace.QName("http://srm.lbl.gov/StorageResourceManager", "ArrayOfAnyURI"));
187         elemField.setMinOccurs(0);
188         elemField.setNillable(true);
189         typeDesc.addFieldDesc(elemField);
190         elemField = new org.apache.axis.description.ElementDesc();
191         elemField.setFieldName("arrayOfTargetSURLs");
192         elemField.setXmlName(new javax.xml.namespace.QName("", "arrayOfTargetSURLs"));
193         elemField.setXmlType(new javax.xml.namespace.QName("http://srm.lbl.gov/StorageResourceManager", "ArrayOfAnyURI"));
194         elemField.setMinOccurs(0);
195         elemField.setNillable(true);
196         typeDesc.addFieldDesc(elemField);
197     }
198 
199     /**
200      * Return type metadata object
201      */
202     public static org.apache.axis.description.TypeDesc getTypeDesc() {
203         return typeDesc;
204     }
205 
206     /**
207      * Get Custom Serializer
208      */
209     public static org.apache.axis.encoding.Serializer getSerializer(
210            java.lang.String mechType, 
211            java.lang.Class _javaType,  
212            javax.xml.namespace.QName _xmlType) {
213         return 
214           new  org.apache.axis.encoding.ser.BeanSerializer(
215             _javaType, _xmlType, typeDesc);
216     }
217 
218     /**
219      * Get Custom Deserializer
220      */
221     public static org.apache.axis.encoding.Deserializer getDeserializer(
222            java.lang.String mechType, 
223            java.lang.Class _javaType,  
224            javax.xml.namespace.QName _xmlType) {
225         return 
226           new  org.apache.axis.encoding.ser.BeanDeserializer(
227             _javaType, _xmlType, typeDesc);
228     }
229 
230 }