PageRenderTime 28ms CodeModel.GetById 10ms app.highlight 13ms RepoModel.GetById 1ms app.codeStats 1ms

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

http://google-enterprise-connector-manager.googlecode.com/
Java | 120 lines | 78 code | 16 blank | 26 comment | 14 complexity | 4a12fa673a48e8d9dd499d14ccfd2eee MD5 | raw file
  1/**
  2 * DeleteContentType.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 DeleteContentType  implements java.io.Serializable {
 11    private java.lang.String contentTypeId;
 12
 13    public DeleteContentType() {
 14    }
 15
 16    public DeleteContentType(
 17           java.lang.String contentTypeId) {
 18           this.contentTypeId = contentTypeId;
 19    }
 20
 21
 22    /**
 23     * Gets the contentTypeId value for this DeleteContentType.
 24     * 
 25     * @return contentTypeId
 26     */
 27    public java.lang.String getContentTypeId() {
 28        return contentTypeId;
 29    }
 30
 31
 32    /**
 33     * Sets the contentTypeId value for this DeleteContentType.
 34     * 
 35     * @param contentTypeId
 36     */
 37    public void setContentTypeId(java.lang.String contentTypeId) {
 38        this.contentTypeId = contentTypeId;
 39    }
 40
 41    private java.lang.Object __equalsCalc = null;
 42    public synchronized boolean equals(java.lang.Object obj) {
 43        if (!(obj instanceof DeleteContentType)) return false;
 44        DeleteContentType other = (DeleteContentType) obj;
 45        if (obj == null) return false;
 46        if (this == obj) return true;
 47        if (__equalsCalc != null) {
 48            return (__equalsCalc == obj);
 49        }
 50        __equalsCalc = obj;
 51        boolean _equals;
 52        _equals = true && 
 53            ((this.contentTypeId==null && other.getContentTypeId()==null) || 
 54             (this.contentTypeId!=null &&
 55              this.contentTypeId.equals(other.getContentTypeId())));
 56        __equalsCalc = null;
 57        return _equals;
 58    }
 59
 60    private boolean __hashCodeCalc = false;
 61    public synchronized int hashCode() {
 62        if (__hashCodeCalc) {
 63            return 0;
 64        }
 65        __hashCodeCalc = true;
 66        int _hashCode = 1;
 67        if (getContentTypeId() != null) {
 68            _hashCode += getContentTypeId().hashCode();
 69        }
 70        __hashCodeCalc = false;
 71        return _hashCode;
 72    }
 73
 74    // Type metadata
 75    private static org.apache.axis.description.TypeDesc typeDesc =
 76        new org.apache.axis.description.TypeDesc(DeleteContentType.class, true);
 77
 78    static {
 79        typeDesc.setXmlType(new javax.xml.namespace.QName("http://schemas.microsoft.com/sharepoint/soap/", ">DeleteContentType"));
 80        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
 81        elemField.setFieldName("contentTypeId");
 82        elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.microsoft.com/sharepoint/soap/", "contentTypeId"));
 83        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
 84        elemField.setMinOccurs(0);
 85        elemField.setNillable(false);
 86        typeDesc.addFieldDesc(elemField);
 87    }
 88
 89    /**
 90     * Return type metadata object
 91     */
 92    public static org.apache.axis.description.TypeDesc getTypeDesc() {
 93        return typeDesc;
 94    }
 95
 96    /**
 97     * Get Custom Serializer
 98     */
 99    public static org.apache.axis.encoding.Serializer getSerializer(
100           java.lang.String mechType, 
101           java.lang.Class _javaType,  
102           javax.xml.namespace.QName _xmlType) {
103        return 
104          new  org.apache.axis.encoding.ser.BeanSerializer(
105            _javaType, _xmlType, typeDesc);
106    }
107
108    /**
109     * Get Custom Deserializer
110     */
111    public static org.apache.axis.encoding.Deserializer getDeserializer(
112           java.lang.String mechType, 
113           java.lang.Class _javaType,  
114           javax.xml.namespace.QName _xmlType) {
115        return 
116          new  org.apache.axis.encoding.ser.BeanDeserializer(
117            _javaType, _xmlType, typeDesc);
118    }
119
120}