PageRenderTime 24ms CodeModel.GetById 12ms app.highlight 9ms RepoModel.GetById 1ms app.codeStats 0ms

/projects/sharepoint-proto/source/java/com/google/enterprise/connector/sharepoint/generated/webs/UpdateColumns.java

http://google-enterprise-connector-manager.googlecode.com/
Java | 194 lines | 122 code | 26 blank | 46 comment | 22 complexity | f69dd360ae6b3d0dcb1837b04987aa13 MD5 | raw file
  1/**
  2 * UpdateColumns.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
  8package com.google.enterprise.connector.sharepoint.generated.webs;
  9
 10public class UpdateColumns  implements java.io.Serializable {
 11    private com.google.enterprise.connector.sharepoint.generated.webs.UpdateColumnsNewFields newFields;
 12
 13    private com.google.enterprise.connector.sharepoint.generated.webs.UpdateColumnsUpdateFields updateFields;
 14
 15    private com.google.enterprise.connector.sharepoint.generated.webs.UpdateColumnsDeleteFields deleteFields;
 16
 17    public UpdateColumns() {
 18    }
 19
 20    public UpdateColumns(
 21           com.google.enterprise.connector.sharepoint.generated.webs.UpdateColumnsNewFields newFields,
 22           com.google.enterprise.connector.sharepoint.generated.webs.UpdateColumnsUpdateFields updateFields,
 23           com.google.enterprise.connector.sharepoint.generated.webs.UpdateColumnsDeleteFields deleteFields) {
 24           this.newFields = newFields;
 25           this.updateFields = updateFields;
 26           this.deleteFields = deleteFields;
 27    }
 28
 29
 30    /**
 31     * Gets the newFields value for this UpdateColumns.
 32     * 
 33     * @return newFields
 34     */
 35    public com.google.enterprise.connector.sharepoint.generated.webs.UpdateColumnsNewFields getNewFields() {
 36        return newFields;
 37    }
 38
 39
 40    /**
 41     * Sets the newFields value for this UpdateColumns.
 42     * 
 43     * @param newFields
 44     */
 45    public void setNewFields(com.google.enterprise.connector.sharepoint.generated.webs.UpdateColumnsNewFields newFields) {
 46        this.newFields = newFields;
 47    }
 48
 49
 50    /**
 51     * Gets the updateFields value for this UpdateColumns.
 52     * 
 53     * @return updateFields
 54     */
 55    public com.google.enterprise.connector.sharepoint.generated.webs.UpdateColumnsUpdateFields getUpdateFields() {
 56        return updateFields;
 57    }
 58
 59
 60    /**
 61     * Sets the updateFields value for this UpdateColumns.
 62     * 
 63     * @param updateFields
 64     */
 65    public void setUpdateFields(com.google.enterprise.connector.sharepoint.generated.webs.UpdateColumnsUpdateFields updateFields) {
 66        this.updateFields = updateFields;
 67    }
 68
 69
 70    /**
 71     * Gets the deleteFields value for this UpdateColumns.
 72     * 
 73     * @return deleteFields
 74     */
 75    public com.google.enterprise.connector.sharepoint.generated.webs.UpdateColumnsDeleteFields getDeleteFields() {
 76        return deleteFields;
 77    }
 78
 79
 80    /**
 81     * Sets the deleteFields value for this UpdateColumns.
 82     * 
 83     * @param deleteFields
 84     */
 85    public void setDeleteFields(com.google.enterprise.connector.sharepoint.generated.webs.UpdateColumnsDeleteFields deleteFields) {
 86        this.deleteFields = deleteFields;
 87    }
 88
 89    private java.lang.Object __equalsCalc = null;
 90    public synchronized boolean equals(java.lang.Object obj) {
 91        if (!(obj instanceof UpdateColumns)) return false;
 92        UpdateColumns other = (UpdateColumns) 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.newFields==null && other.getNewFields()==null) || 
102             (this.newFields!=null &&
103              this.newFields.equals(other.getNewFields()))) &&
104            ((this.updateFields==null && other.getUpdateFields()==null) || 
105             (this.updateFields!=null &&
106              this.updateFields.equals(other.getUpdateFields()))) &&
107            ((this.deleteFields==null && other.getDeleteFields()==null) || 
108             (this.deleteFields!=null &&
109              this.deleteFields.equals(other.getDeleteFields())));
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 (getNewFields() != null) {
122            _hashCode += getNewFields().hashCode();
123        }
124        if (getUpdateFields() != null) {
125            _hashCode += getUpdateFields().hashCode();
126        }
127        if (getDeleteFields() != null) {
128            _hashCode += getDeleteFields().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(UpdateColumns.class, true);
137
138    static {
139        typeDesc.setXmlType(new javax.xml.namespace.QName("http://schemas.microsoft.com/sharepoint/soap/", ">UpdateColumns"));
140        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
141        elemField.setFieldName("newFields");
142        elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.microsoft.com/sharepoint/soap/", "newFields"));
143        elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.microsoft.com/sharepoint/soap/", ">>UpdateColumns>newFields"));
144        elemField.setMinOccurs(0);
145        elemField.setNillable(false);
146        typeDesc.addFieldDesc(elemField);
147        elemField = new org.apache.axis.description.ElementDesc();
148        elemField.setFieldName("updateFields");
149        elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.microsoft.com/sharepoint/soap/", "updateFields"));
150        elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.microsoft.com/sharepoint/soap/", ">>UpdateColumns>updateFields"));
151        elemField.setMinOccurs(0);
152        elemField.setNillable(false);
153        typeDesc.addFieldDesc(elemField);
154        elemField = new org.apache.axis.description.ElementDesc();
155        elemField.setFieldName("deleteFields");
156        elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.microsoft.com/sharepoint/soap/", "deleteFields"));
157        elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.microsoft.com/sharepoint/soap/", ">>UpdateColumns>deleteFields"));
158        elemField.setMinOccurs(0);
159        elemField.setNillable(false);
160        typeDesc.addFieldDesc(elemField);
161    }
162
163    /**
164     * Return type metadata object
165     */
166    public static org.apache.axis.description.TypeDesc getTypeDesc() {
167        return typeDesc;
168    }
169
170    /**
171     * Get Custom Serializer
172     */
173    public static org.apache.axis.encoding.Serializer getSerializer(
174           java.lang.String mechType, 
175           java.lang.Class _javaType,  
176           javax.xml.namespace.QName _xmlType) {
177        return 
178          new  org.apache.axis.encoding.ser.BeanSerializer(
179            _javaType, _xmlType, typeDesc);
180    }
181
182    /**
183     * Get Custom Deserializer
184     */
185    public static org.apache.axis.encoding.Deserializer getDeserializer(
186           java.lang.String mechType, 
187           java.lang.Class _javaType,  
188           javax.xml.namespace.QName _xmlType) {
189        return 
190          new  org.apache.axis.encoding.ser.BeanDeserializer(
191            _javaType, _xmlType, typeDesc);
192    }
193
194}