com.atlassian.confluence.rpc.soap.beans.RemoteContentPermissionSet Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of simple-remote-atlassian Show documentation
Show all versions of simple-remote-atlassian Show documentation
Interface to Jira, Confluence and Bamboo
The newest version!
/**
* RemoteContentPermissionSet.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 RemoteContentPermissionSet implements java.io.Serializable {
private com.atlassian.confluence.rpc.soap.beans.RemoteContentPermission[] contentPermissions;
private java.lang.String type;
public RemoteContentPermissionSet() {
}
public RemoteContentPermissionSet(
com.atlassian.confluence.rpc.soap.beans.RemoteContentPermission[] contentPermissions,
java.lang.String type) {
this.contentPermissions = contentPermissions;
this.type = type;
}
/**
* Gets the contentPermissions value for this RemoteContentPermissionSet.
*
* @return contentPermissions
*/
public com.atlassian.confluence.rpc.soap.beans.RemoteContentPermission[] getContentPermissions() {
return contentPermissions;
}
/**
* Sets the contentPermissions value for this RemoteContentPermissionSet.
*
* @param contentPermissions
*/
public void setContentPermissions(com.atlassian.confluence.rpc.soap.beans.RemoteContentPermission[] contentPermissions) {
this.contentPermissions = contentPermissions;
}
/**
* Gets the type value for this RemoteContentPermissionSet.
*
* @return type
*/
public java.lang.String getType() {
return type;
}
/**
* Sets the type value for this RemoteContentPermissionSet.
*
* @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 RemoteContentPermissionSet)) return false;
RemoteContentPermissionSet other = (RemoteContentPermissionSet) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.contentPermissions==null && other.getContentPermissions()==null) ||
(this.contentPermissions!=null &&
java.util.Arrays.equals(this.contentPermissions, other.getContentPermissions()))) &&
((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 (getContentPermissions() != null) {
for (int i=0;
i