View Javadoc

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