View Javadoc

1   /**
2    * SrmBringOnlineResponse.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 SrmBringOnlineResponse  implements java.io.Serializable {
11      private org.ogf.srm22.TReturnStatus returnStatus;
12  
13      private java.lang.String requestToken;
14  
15      private org.ogf.srm22.ArrayOfTBringOnlineRequestFileStatus arrayOfFileStatuses;
16  
17      private java.lang.Integer remainingTotalRequestTime;
18  
19      private java.lang.Integer remainingDeferredStartTime;
20  
21      public SrmBringOnlineResponse() {
22      }
23  
24      public SrmBringOnlineResponse(
25             org.ogf.srm22.TReturnStatus returnStatus,
26             java.lang.String requestToken,
27             org.ogf.srm22.ArrayOfTBringOnlineRequestFileStatus arrayOfFileStatuses,
28             java.lang.Integer remainingTotalRequestTime,
29             java.lang.Integer remainingDeferredStartTime) {
30             this.returnStatus = returnStatus;
31             this.requestToken = requestToken;
32             this.arrayOfFileStatuses = arrayOfFileStatuses;
33             this.remainingTotalRequestTime = remainingTotalRequestTime;
34             this.remainingDeferredStartTime = remainingDeferredStartTime;
35      }
36  
37  
38      /**
39       * Gets the returnStatus value for this SrmBringOnlineResponse.
40       * 
41       * @return returnStatus
42       */
43      public org.ogf.srm22.TReturnStatus getReturnStatus() {
44          return returnStatus;
45      }
46  
47  
48      /**
49       * Sets the returnStatus value for this SrmBringOnlineResponse.
50       * 
51       * @param returnStatus
52       */
53      public void setReturnStatus(org.ogf.srm22.TReturnStatus returnStatus) {
54          this.returnStatus = returnStatus;
55      }
56  
57  
58      /**
59       * Gets the requestToken value for this SrmBringOnlineResponse.
60       * 
61       * @return requestToken
62       */
63      public java.lang.String getRequestToken() {
64          return requestToken;
65      }
66  
67  
68      /**
69       * Sets the requestToken value for this SrmBringOnlineResponse.
70       * 
71       * @param requestToken
72       */
73      public void setRequestToken(java.lang.String requestToken) {
74          this.requestToken = requestToken;
75      }
76  
77  
78      /**
79       * Gets the arrayOfFileStatuses value for this SrmBringOnlineResponse.
80       * 
81       * @return arrayOfFileStatuses
82       */
83      public org.ogf.srm22.ArrayOfTBringOnlineRequestFileStatus getArrayOfFileStatuses() {
84          return arrayOfFileStatuses;
85      }
86  
87  
88      /**
89       * Sets the arrayOfFileStatuses value for this SrmBringOnlineResponse.
90       * 
91       * @param arrayOfFileStatuses
92       */
93      public void setArrayOfFileStatuses(org.ogf.srm22.ArrayOfTBringOnlineRequestFileStatus arrayOfFileStatuses) {
94          this.arrayOfFileStatuses = arrayOfFileStatuses;
95      }
96  
97  
98      /**
99       * Gets the remainingTotalRequestTime value for this SrmBringOnlineResponse.
100      * 
101      * @return remainingTotalRequestTime
102      */
103     public java.lang.Integer getRemainingTotalRequestTime() {
104         return remainingTotalRequestTime;
105     }
106 
107 
108     /**
109      * Sets the remainingTotalRequestTime value for this SrmBringOnlineResponse.
110      * 
111      * @param remainingTotalRequestTime
112      */
113     public void setRemainingTotalRequestTime(java.lang.Integer remainingTotalRequestTime) {
114         this.remainingTotalRequestTime = remainingTotalRequestTime;
115     }
116 
117 
118     /**
119      * Gets the remainingDeferredStartTime value for this SrmBringOnlineResponse.
120      * 
121      * @return remainingDeferredStartTime
122      */
123     public java.lang.Integer getRemainingDeferredStartTime() {
124         return remainingDeferredStartTime;
125     }
126 
127 
128     /**
129      * Sets the remainingDeferredStartTime value for this SrmBringOnlineResponse.
130      * 
131      * @param remainingDeferredStartTime
132      */
133     public void setRemainingDeferredStartTime(java.lang.Integer remainingDeferredStartTime) {
134         this.remainingDeferredStartTime = remainingDeferredStartTime;
135     }
136 
137     private java.lang.Object __equalsCalc = null;
138     public synchronized boolean equals(java.lang.Object obj) {
139         if (!(obj instanceof SrmBringOnlineResponse)) return false;
140         SrmBringOnlineResponse other = (SrmBringOnlineResponse) obj;
141         if (obj == null) return false;
142         if (this == obj) return true;
143         if (__equalsCalc != null) {
144             return (__equalsCalc == obj);
145         }
146         __equalsCalc = obj;
147         boolean _equals;
148         _equals = true && 
149             ((this.returnStatus==null && other.getReturnStatus()==null) || 
150              (this.returnStatus!=null &&
151               this.returnStatus.equals(other.getReturnStatus()))) &&
152             ((this.requestToken==null && other.getRequestToken()==null) || 
153              (this.requestToken!=null &&
154               this.requestToken.equals(other.getRequestToken()))) &&
155             ((this.arrayOfFileStatuses==null && other.getArrayOfFileStatuses()==null) || 
156              (this.arrayOfFileStatuses!=null &&
157               this.arrayOfFileStatuses.equals(other.getArrayOfFileStatuses()))) &&
158             ((this.remainingTotalRequestTime==null && other.getRemainingTotalRequestTime()==null) || 
159              (this.remainingTotalRequestTime!=null &&
160               this.remainingTotalRequestTime.equals(other.getRemainingTotalRequestTime()))) &&
161             ((this.remainingDeferredStartTime==null && other.getRemainingDeferredStartTime()==null) || 
162              (this.remainingDeferredStartTime!=null &&
163               this.remainingDeferredStartTime.equals(other.getRemainingDeferredStartTime())));
164         __equalsCalc = null;
165         return _equals;
166     }
167 
168     private boolean __hashCodeCalc = false;
169     public synchronized int hashCode() {
170         if (__hashCodeCalc) {
171             return 0;
172         }
173         __hashCodeCalc = true;
174         int _hashCode = 1;
175         if (getReturnStatus() != null) {
176             _hashCode += getReturnStatus().hashCode();
177         }
178         if (getRequestToken() != null) {
179             _hashCode += getRequestToken().hashCode();
180         }
181         if (getArrayOfFileStatuses() != null) {
182             _hashCode += getArrayOfFileStatuses().hashCode();
183         }
184         if (getRemainingTotalRequestTime() != null) {
185             _hashCode += getRemainingTotalRequestTime().hashCode();
186         }
187         if (getRemainingDeferredStartTime() != null) {
188             _hashCode += getRemainingDeferredStartTime().hashCode();
189         }
190         __hashCodeCalc = false;
191         return _hashCode;
192     }
193 
194     // Type metadata
195     private static org.apache.axis.description.TypeDesc typeDesc =
196         new org.apache.axis.description.TypeDesc(SrmBringOnlineResponse.class, true);
197 
198     static {
199         typeDesc.setXmlType(new javax.xml.namespace.QName("http://srm.lbl.gov/StorageResourceManager", "srmBringOnlineResponse"));
200         org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
201         elemField.setFieldName("returnStatus");
202         elemField.setXmlName(new javax.xml.namespace.QName("", "returnStatus"));
203         elemField.setXmlType(new javax.xml.namespace.QName("http://srm.lbl.gov/StorageResourceManager", "TReturnStatus"));
204         elemField.setNillable(false);
205         typeDesc.addFieldDesc(elemField);
206         elemField = new org.apache.axis.description.ElementDesc();
207         elemField.setFieldName("requestToken");
208         elemField.setXmlName(new javax.xml.namespace.QName("", "requestToken"));
209         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
210         elemField.setMinOccurs(0);
211         elemField.setNillable(true);
212         typeDesc.addFieldDesc(elemField);
213         elemField = new org.apache.axis.description.ElementDesc();
214         elemField.setFieldName("arrayOfFileStatuses");
215         elemField.setXmlName(new javax.xml.namespace.QName("", "arrayOfFileStatuses"));
216         elemField.setXmlType(new javax.xml.namespace.QName("http://srm.lbl.gov/StorageResourceManager", "ArrayOfTBringOnlineRequestFileStatus"));
217         elemField.setMinOccurs(0);
218         elemField.setNillable(true);
219         typeDesc.addFieldDesc(elemField);
220         elemField = new org.apache.axis.description.ElementDesc();
221         elemField.setFieldName("remainingTotalRequestTime");
222         elemField.setXmlName(new javax.xml.namespace.QName("", "remainingTotalRequestTime"));
223         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
224         elemField.setMinOccurs(0);
225         elemField.setNillable(true);
226         typeDesc.addFieldDesc(elemField);
227         elemField = new org.apache.axis.description.ElementDesc();
228         elemField.setFieldName("remainingDeferredStartTime");
229         elemField.setXmlName(new javax.xml.namespace.QName("", "remainingDeferredStartTime"));
230         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
231         elemField.setMinOccurs(0);
232         elemField.setNillable(true);
233         typeDesc.addFieldDesc(elemField);
234     }
235 
236     /**
237      * Return type metadata object
238      */
239     public static org.apache.axis.description.TypeDesc getTypeDesc() {
240         return typeDesc;
241     }
242 
243     /**
244      * Get Custom Serializer
245      */
246     public static org.apache.axis.encoding.Serializer getSerializer(
247            java.lang.String mechType, 
248            java.lang.Class _javaType,  
249            javax.xml.namespace.QName _xmlType) {
250         return 
251           new  org.apache.axis.encoding.ser.BeanSerializer(
252             _javaType, _xmlType, typeDesc);
253     }
254 
255     /**
256      * Get Custom Deserializer
257      */
258     public static org.apache.axis.encoding.Deserializer getDeserializer(
259            java.lang.String mechType, 
260            java.lang.Class _javaType,  
261            javax.xml.namespace.QName _xmlType) {
262         return 
263           new  org.apache.axis.encoding.ser.BeanDeserializer(
264             _javaType, _xmlType, typeDesc);
265     }
266 
267 }