All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.atlassian.confluence.rpc.soap.beans.RemoteSpacePermissionSet Maven / Gradle / Ivy

The newest version!
/**
 * RemoteSpacePermissionSet.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
 */

package com.atlassian.confluence.rpc.soap.beans;

public class RemoteSpacePermissionSet  implements java.io.Serializable {
    private com.atlassian.confluence.rpc.soap.beans.RemoteContentPermission[] spacePermissions;

    private java.lang.String type;

    public RemoteSpacePermissionSet() {
    }

    public RemoteSpacePermissionSet(
           com.atlassian.confluence.rpc.soap.beans.RemoteContentPermission[] spacePermissions,
           java.lang.String type) {
           this.spacePermissions = spacePermissions;
           this.type = type;
    }


    /**
     * Gets the spacePermissions value for this RemoteSpacePermissionSet.
     * 
     * @return spacePermissions
     */
    public com.atlassian.confluence.rpc.soap.beans.RemoteContentPermission[] getSpacePermissions() {
        return spacePermissions;
    }


    /**
     * Sets the spacePermissions value for this RemoteSpacePermissionSet.
     * 
     * @param spacePermissions
     */
    public void setSpacePermissions(com.atlassian.confluence.rpc.soap.beans.RemoteContentPermission[] spacePermissions) {
        this.spacePermissions = spacePermissions;
    }


    /**
     * Gets the type value for this RemoteSpacePermissionSet.
     * 
     * @return type
     */
    public java.lang.String getType() {
        return type;
    }


    /**
     * Sets the type value for this RemoteSpacePermissionSet.
     * 
     * @param type
     */
    public void setType(java.lang.String type) {
        this.type = type;
    }

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof RemoteSpacePermissionSet)) return false;
        RemoteSpacePermissionSet other = (RemoteSpacePermissionSet) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true && 
            ((this.spacePermissions==null && other.getSpacePermissions()==null) || 
             (this.spacePermissions!=null &&
              java.util.Arrays.equals(this.spacePermissions, other.getSpacePermissions()))) &&
            ((this.type==null && other.getType()==null) || 
             (this.type!=null &&
              this.type.equals(other.getType())));
        __equalsCalc = null;
        return _equals;
    }

    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
        if (__hashCodeCalc) {
            return 0;
        }
        __hashCodeCalc = true;
        int _hashCode = 1;
        if (getSpacePermissions() != null) {
            for (int i=0;
                 i




© 2015 - 2024 Weber Informatics LLC | Privacy Policy