1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24 package com.atlassian.theplugin.jira.api.soap.axis;
25
26 public class RemoteProjectRoleActors extends com.atlassian.theplugin.jira.api.soap.axis.RemoteRoleActors implements java.io.Serializable {
27 private com.atlassian.theplugin.jira.api.soap.axis.RemoteProject project;
28
29 public RemoteProjectRoleActors() {
30 }
31
32 public RemoteProjectRoleActors(
33 com.atlassian.theplugin.jira.api.soap.axis.RemoteProjectRole projectRole,
34 com.atlassian.theplugin.jira.api.soap.axis.RemoteRoleActor[] roleActors,
35 com.atlassian.theplugin.jira.api.soap.axis.RemoteUser[] users,
36 com.atlassian.theplugin.jira.api.soap.axis.RemoteProject project) {
37 super(
38 projectRole,
39 roleActors,
40 users);
41 this.project = project;
42 }
43
44
45
46
47
48
49
50 public com.atlassian.theplugin.jira.api.soap.axis.RemoteProject getProject() {
51 return project;
52 }
53
54
55
56
57
58
59
60 public void setProject(com.atlassian.theplugin.jira.api.soap.axis.RemoteProject project) {
61 this.project = project;
62 }
63
64 private java.lang.Object __equalsCalc = null;
65 public synchronized boolean equals(java.lang.Object obj) {
66 if (!(obj instanceof RemoteProjectRoleActors)) return false;
67 RemoteProjectRoleActors other = (RemoteProjectRoleActors) obj;
68 if (obj == null) return false;
69 if (this == obj) return true;
70 if (__equalsCalc != null) {
71 return (__equalsCalc == obj);
72 }
73 __equalsCalc = obj;
74 boolean _equals;
75 _equals = super.equals(obj) &&
76 ((this.project==null && other.getProject()==null) ||
77 (this.project!=null &&
78 this.project.equals(other.getProject())));
79 __equalsCalc = null;
80 return _equals;
81 }
82
83 private boolean __hashCodeCalc = false;
84 public synchronized int hashCode() {
85 if (__hashCodeCalc) {
86 return 0;
87 }
88 __hashCodeCalc = true;
89 int _hashCode = super.hashCode();
90 if (getProject() != null) {
91 _hashCode += getProject().hashCode();
92 }
93 __hashCodeCalc = false;
94 return _hashCode;
95 }
96
97
98 private static org.apache.axis.description.TypeDesc typeDesc =
99 new org.apache.axis.description.TypeDesc(RemoteProjectRoleActors.class, true);
100
101 static {
102 typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteProjectRoleActors"));
103 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
104 elemField.setFieldName("project");
105 elemField.setXmlName(new javax.xml.namespace.QName("", "project"));
106 elemField.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteProject"));
107 elemField.setNillable(true);
108 typeDesc.addFieldDesc(elemField);
109 }
110
111
112
113
114 public static org.apache.axis.description.TypeDesc getTypeDesc() {
115 return typeDesc;
116 }
117
118
119
120
121 public static org.apache.axis.encoding.Serializer getSerializer(
122 java.lang.String mechType,
123 java.lang.Class _javaType,
124 javax.xml.namespace.QName _xmlType) {
125 return
126 new org.apache.axis.encoding.ser.BeanSerializer(
127 _javaType, _xmlType, typeDesc);
128 }
129
130
131
132
133 public static org.apache.axis.encoding.Deserializer getDeserializer(
134 java.lang.String mechType,
135 java.lang.Class _javaType,
136 javax.xml.namespace.QName _xmlType) {
137 return
138 new org.apache.axis.encoding.ser.BeanDeserializer(
139 _javaType, _xmlType, typeDesc);
140 }
141
142 }