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

thucydides.plugins.jira.soap.RemotePermissionScheme Maven / Gradle / Ivy

There is a newer version: 0.9.268
Show newest version
/**
 * RemotePermissionScheme.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
 */

package thucydides.plugins.jira.soap;

public class RemotePermissionScheme  extends thucydides.plugins.jira.soap.RemoteScheme  implements java.io.Serializable {
    private thucydides.plugins.jira.soap.RemotePermissionMapping[] permissionMappings;

    public RemotePermissionScheme() {
    }

    public RemotePermissionScheme(
           java.lang.String description,
           java.lang.Long id,
           java.lang.String name,
           java.lang.String type,
           thucydides.plugins.jira.soap.RemotePermissionMapping[] permissionMappings) {
        super(
            description,
            id,
            name,
            type);
        this.permissionMappings = permissionMappings;
    }


    /**
     * Gets the permissionMappings value for this RemotePermissionScheme.
     * 
     * @return permissionMappings
     */
    public thucydides.plugins.jira.soap.RemotePermissionMapping[] getPermissionMappings() {
        return permissionMappings;
    }


    /**
     * Sets the permissionMappings value for this RemotePermissionScheme.
     * 
     * @param permissionMappings
     */
    public void setPermissionMappings(thucydides.plugins.jira.soap.RemotePermissionMapping[] permissionMappings) {
        this.permissionMappings = permissionMappings;
    }

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof RemotePermissionScheme)) return false;
        RemotePermissionScheme other = (RemotePermissionScheme) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = super.equals(obj) && 
            ((this.permissionMappings==null && other.getPermissionMappings()==null) || 
             (this.permissionMappings!=null &&
              java.util.Arrays.equals(this.permissionMappings, other.getPermissionMappings())));
        __equalsCalc = null;
        return _equals;
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy