com.atlassian.jira.rpc.soap.beans.RemoteRoleActors 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!
/**
* RemoteRoleActors.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.jira.rpc.soap.beans;
public class RemoteRoleActors implements java.io.Serializable {
private com.atlassian.jira.rpc.soap.beans.RemoteProjectRole projectRole;
private com.atlassian.jira.rpc.soap.beans.RemoteRoleActor[] roleActors;
private com.atlassian.jira.rpc.soap.beans.RemoteUser[] users;
public RemoteRoleActors() {
}
public RemoteRoleActors(
com.atlassian.jira.rpc.soap.beans.RemoteProjectRole projectRole,
com.atlassian.jira.rpc.soap.beans.RemoteRoleActor[] roleActors,
com.atlassian.jira.rpc.soap.beans.RemoteUser[] users) {
this.projectRole = projectRole;
this.roleActors = roleActors;
this.users = users;
}
/**
* Gets the projectRole value for this RemoteRoleActors.
*
* @return projectRole
*/
public com.atlassian.jira.rpc.soap.beans.RemoteProjectRole getProjectRole() {
return projectRole;
}
/**
* Sets the projectRole value for this RemoteRoleActors.
*
* @param projectRole
*/
public void setProjectRole(com.atlassian.jira.rpc.soap.beans.RemoteProjectRole projectRole) {
this.projectRole = projectRole;
}
/**
* Gets the roleActors value for this RemoteRoleActors.
*
* @return roleActors
*/
public com.atlassian.jira.rpc.soap.beans.RemoteRoleActor[] getRoleActors() {
return roleActors;
}
/**
* Sets the roleActors value for this RemoteRoleActors.
*
* @param roleActors
*/
public void setRoleActors(com.atlassian.jira.rpc.soap.beans.RemoteRoleActor[] roleActors) {
this.roleActors = roleActors;
}
/**
* Gets the users value for this RemoteRoleActors.
*
* @return users
*/
public com.atlassian.jira.rpc.soap.beans.RemoteUser[] getUsers() {
return users;
}
/**
* Sets the users value for this RemoteRoleActors.
*
* @param users
*/
public void setUsers(com.atlassian.jira.rpc.soap.beans.RemoteUser[] users) {
this.users = users;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof RemoteRoleActors)) return false;
RemoteRoleActors other = (RemoteRoleActors) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.projectRole==null && other.getProjectRole()==null) ||
(this.projectRole!=null &&
this.projectRole.equals(other.getProjectRole()))) &&
((this.roleActors==null && other.getRoleActors()==null) ||
(this.roleActors!=null &&
java.util.Arrays.equals(this.roleActors, other.getRoleActors()))) &&
((this.users==null && other.getUsers()==null) ||
(this.users!=null &&
java.util.Arrays.equals(this.users, other.getUsers())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getProjectRole() != null) {
_hashCode += getProjectRole().hashCode();
}
if (getRoleActors() != null) {
for (int i=0;
i