PageRenderTime 44ms CodeModel.GetById 10ms app.highlight 27ms RepoModel.GetById 1ms app.codeStats 0ms

/projects/sharepoint-proto/source/java/com/google/enterprise/connector/sharepoint/generated/gssacl/GssGetAclForUrlsResult.java

http://google-enterprise-connector-manager.googlecode.com/
Java | 136 lines | 94 code | 16 blank | 26 comment | 15 complexity | 596d9444884910491dc4ee22bd8ce9ca MD5 | raw file
  1/**
  2 * GssGetAclForUrlsResult.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.gssacl;
  9
 10public class GssGetAclForUrlsResult  extends com.google.enterprise.connector.sharepoint.generated.gssacl.GssAclBaseResult  implements java.io.Serializable {
 11    private com.google.enterprise.connector.sharepoint.generated.gssacl.GssAcl[] allAcls;
 12
 13    public GssGetAclForUrlsResult() {
 14    }
 15
 16    public GssGetAclForUrlsResult(
 17           java.lang.String siteCollectionUrl,
 18           java.lang.String siteCollectionGuid,
 19           java.lang.String logMessage,
 20           com.google.enterprise.connector.sharepoint.generated.gssacl.GssAcl[] allAcls) {
 21        super(
 22            siteCollectionUrl,
 23            siteCollectionGuid,
 24            logMessage);
 25        this.allAcls = allAcls;
 26    }
 27
 28
 29    /**
 30     * Gets the allAcls value for this GssGetAclForUrlsResult.
 31     *
 32     * @return allAcls
 33     */
 34    public com.google.enterprise.connector.sharepoint.generated.gssacl.GssAcl[] getAllAcls() {
 35        return allAcls;
 36    }
 37
 38
 39    /**
 40     * Sets the allAcls value for this GssGetAclForUrlsResult.
 41     *
 42     * @param allAcls
 43     */
 44    public void setAllAcls(com.google.enterprise.connector.sharepoint.generated.gssacl.GssAcl[] allAcls) {
 45        this.allAcls = allAcls;
 46    }
 47
 48    private java.lang.Object __equalsCalc = null;
 49    public synchronized boolean equals(java.lang.Object obj) {
 50        if (!(obj instanceof GssGetAclForUrlsResult)) return false;
 51        GssGetAclForUrlsResult other = (GssGetAclForUrlsResult) obj;
 52        if (obj == null) return false;
 53        if (this == obj) return true;
 54        if (__equalsCalc != null) {
 55            return (__equalsCalc == obj);
 56        }
 57        __equalsCalc = obj;
 58        boolean _equals;
 59        _equals = super.equals(obj) &&
 60            ((this.allAcls==null && other.getAllAcls()==null) ||
 61             (this.allAcls!=null &&
 62              java.util.Arrays.equals(this.allAcls, other.getAllAcls())));
 63        __equalsCalc = null;
 64        return _equals;
 65    }
 66
 67    private boolean __hashCodeCalc = false;
 68    public synchronized int hashCode() {
 69        if (__hashCodeCalc) {
 70            return 0;
 71        }
 72        __hashCodeCalc = true;
 73        int _hashCode = super.hashCode();
 74        if (getAllAcls() != null) {
 75            for (int i=0;
 76                 i<java.lang.reflect.Array.getLength(getAllAcls());
 77                 i++) {
 78                java.lang.Object obj = java.lang.reflect.Array.get(getAllAcls(), i);
 79                if (obj != null &&
 80                    !obj.getClass().isArray()) {
 81                    _hashCode += obj.hashCode();
 82                }
 83            }
 84        }
 85        __hashCodeCalc = false;
 86        return _hashCode;
 87    }
 88
 89    // Type metadata
 90    private static org.apache.axis.description.TypeDesc typeDesc =
 91        new org.apache.axis.description.TypeDesc(GssGetAclForUrlsResult.class, true);
 92
 93    static {
 94        typeDesc.setXmlType(new javax.xml.namespace.QName("gssAcl.generated.sharepoint.connector.enterprise.google.com", "GssGetAclForUrlsResult"));
 95        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
 96        elemField.setFieldName("allAcls");
 97        elemField.setXmlName(new javax.xml.namespace.QName("gssAcl.generated.sharepoint.connector.enterprise.google.com", "AllAcls"));
 98        elemField.setXmlType(new javax.xml.namespace.QName("gssAcl.generated.sharepoint.connector.enterprise.google.com", "GssAcl"));
 99        elemField.setMinOccurs(0);
100        elemField.setNillable(false);
101        elemField.setItemQName(new javax.xml.namespace.QName("gssAcl.generated.sharepoint.connector.enterprise.google.com", "GssAcl"));
102        typeDesc.addFieldDesc(elemField);
103    }
104
105    /**
106     * Return type metadata object
107     */
108    public static org.apache.axis.description.TypeDesc getTypeDesc() {
109        return typeDesc;
110    }
111
112    /**
113     * Get Custom Serializer
114     */
115    public static org.apache.axis.encoding.Serializer getSerializer(
116           java.lang.String mechType,
117           java.lang.Class _javaType,
118           javax.xml.namespace.QName _xmlType) {
119        return
120          new  org.apache.axis.encoding.ser.BeanSerializer(
121            _javaType, _xmlType, typeDesc);
122    }
123
124    /**
125     * Get Custom Deserializer
126     */
127    public static org.apache.axis.encoding.Deserializer getDeserializer(
128           java.lang.String mechType,
129           java.lang.Class _javaType,
130           javax.xml.namespace.QName _xmlType) {
131        return
132          new  org.apache.axis.encoding.ser.BeanDeserializer(
133            _javaType, _xmlType, typeDesc);
134    }
135
136}