View Javadoc

1   /**
2    * SrmAbortFilesRequest.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 SrmAbortFilesRequest  implements java.io.Serializable {
11      private java.lang.String requestToken;
12  
13      private org.ogf.srm22.ArrayOfAnyURI arrayOfSURLs;
14  
15      private java.lang.String authorizationID;
16  
17      public SrmAbortFilesRequest() {
18      }
19  
20      public SrmAbortFilesRequest(
21             java.lang.String requestToken,
22             org.ogf.srm22.ArrayOfAnyURI arrayOfSURLs,
23             java.lang.String authorizationID) {
24             this.requestToken = requestToken;
25             this.arrayOfSURLs = arrayOfSURLs;
26             this.authorizationID = authorizationID;
27      }
28  
29  
30      /**
31       * Gets the requestToken value for this SrmAbortFilesRequest.
32       * 
33       * @return requestToken
34       */
35      public java.lang.String getRequestToken() {
36          return requestToken;
37      }
38  
39  
40      /**
41       * Sets the requestToken value for this SrmAbortFilesRequest.
42       * 
43       * @param requestToken
44       */
45      public void setRequestToken(java.lang.String requestToken) {
46          this.requestToken = requestToken;
47      }
48  
49  
50      /**
51       * Gets the arrayOfSURLs value for this SrmAbortFilesRequest.
52       * 
53       * @return arrayOfSURLs
54       */
55      public org.ogf.srm22.ArrayOfAnyURI getArrayOfSURLs() {
56          return arrayOfSURLs;
57      }
58  
59  
60      /**
61       * Sets the arrayOfSURLs value for this SrmAbortFilesRequest.
62       * 
63       * @param arrayOfSURLs
64       */
65      public void setArrayOfSURLs(org.ogf.srm22.ArrayOfAnyURI arrayOfSURLs) {
66          this.arrayOfSURLs = arrayOfSURLs;
67      }
68  
69  
70      /**
71       * Gets the authorizationID value for this SrmAbortFilesRequest.
72       * 
73       * @return authorizationID
74       */
75      public java.lang.String getAuthorizationID() {
76          return authorizationID;
77      }
78  
79  
80      /**
81       * Sets the authorizationID value for this SrmAbortFilesRequest.
82       * 
83       * @param authorizationID
84       */
85      public void setAuthorizationID(java.lang.String authorizationID) {
86          this.authorizationID = authorizationID;
87      }
88  
89      private java.lang.Object __equalsCalc = null;
90      public synchronized boolean equals(java.lang.Object obj) {
91          if (!(obj instanceof SrmAbortFilesRequest)) return false;
92          SrmAbortFilesRequest other = (SrmAbortFilesRequest) obj;
93          if (obj == null) return false;
94          if (this == obj) return true;
95          if (__equalsCalc != null) {
96              return (__equalsCalc == obj);
97          }
98          __equalsCalc = obj;
99          boolean _equals;
100         _equals = true && 
101             ((this.requestToken==null && other.getRequestToken()==null) || 
102              (this.requestToken!=null &&
103               this.requestToken.equals(other.getRequestToken()))) &&
104             ((this.arrayOfSURLs==null && other.getArrayOfSURLs()==null) || 
105              (this.arrayOfSURLs!=null &&
106               this.arrayOfSURLs.equals(other.getArrayOfSURLs()))) &&
107             ((this.authorizationID==null && other.getAuthorizationID()==null) || 
108              (this.authorizationID!=null &&
109               this.authorizationID.equals(other.getAuthorizationID())));
110         __equalsCalc = null;
111         return _equals;
112     }
113 
114     private boolean __hashCodeCalc = false;
115     public synchronized int hashCode() {
116         if (__hashCodeCalc) {
117             return 0;
118         }
119         __hashCodeCalc = true;
120         int _hashCode = 1;
121         if (getRequestToken() != null) {
122             _hashCode += getRequestToken().hashCode();
123         }
124         if (getArrayOfSURLs() != null) {
125             _hashCode += getArrayOfSURLs().hashCode();
126         }
127         if (getAuthorizationID() != null) {
128             _hashCode += getAuthorizationID().hashCode();
129         }
130         __hashCodeCalc = false;
131         return _hashCode;
132     }
133 
134     // Type metadata
135     private static org.apache.axis.description.TypeDesc typeDesc =
136         new org.apache.axis.description.TypeDesc(SrmAbortFilesRequest.class, true);
137 
138     static {
139         typeDesc.setXmlType(new javax.xml.namespace.QName("http://srm.lbl.gov/StorageResourceManager", "srmAbortFilesRequest"));
140         org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
141         elemField.setFieldName("requestToken");
142         elemField.setXmlName(new javax.xml.namespace.QName("", "requestToken"));
143         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
144         elemField.setNillable(false);
145         typeDesc.addFieldDesc(elemField);
146         elemField = new org.apache.axis.description.ElementDesc();
147         elemField.setFieldName("arrayOfSURLs");
148         elemField.setXmlName(new javax.xml.namespace.QName("", "arrayOfSURLs"));
149         elemField.setXmlType(new javax.xml.namespace.QName("http://srm.lbl.gov/StorageResourceManager", "ArrayOfAnyURI"));
150         elemField.setNillable(false);
151         typeDesc.addFieldDesc(elemField);
152         elemField = new org.apache.axis.description.ElementDesc();
153         elemField.setFieldName("authorizationID");
154         elemField.setXmlName(new javax.xml.namespace.QName("", "authorizationID"));
155         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
156         elemField.setMinOccurs(0);
157         elemField.setNillable(true);
158         typeDesc.addFieldDesc(elemField);
159     }
160 
161     /**
162      * Return type metadata object
163      */
164     public static org.apache.axis.description.TypeDesc getTypeDesc() {
165         return typeDesc;
166     }
167 
168     /**
169      * Get Custom Serializer
170      */
171     public static org.apache.axis.encoding.Serializer getSerializer(
172            java.lang.String mechType, 
173            java.lang.Class _javaType,  
174            javax.xml.namespace.QName _xmlType) {
175         return 
176           new  org.apache.axis.encoding.ser.BeanSerializer(
177             _javaType, _xmlType, typeDesc);
178     }
179 
180     /**
181      * Get Custom Deserializer
182      */
183     public static org.apache.axis.encoding.Deserializer getDeserializer(
184            java.lang.String mechType, 
185            java.lang.Class _javaType,  
186            javax.xml.namespace.QName _xmlType) {
187         return 
188           new  org.apache.axis.encoding.ser.BeanDeserializer(
189             _javaType, _xmlType, typeDesc);
190     }
191 
192 }