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 RemoteCustomFieldValue implements java.io.Serializable {
27 private java.lang.String customfieldId;
28
29 private java.lang.String key;
30
31 private java.lang.String[] values;
32
33 public RemoteCustomFieldValue() {
34 }
35
36 public RemoteCustomFieldValue(
37 java.lang.String customfieldId,
38 java.lang.String key,
39 java.lang.String[] values) {
40 this.customfieldId = customfieldId;
41 this.key = key;
42 this.values = values;
43 }
44
45
46
47
48
49
50
51 public java.lang.String getCustomfieldId() {
52 return customfieldId;
53 }
54
55
56
57
58
59
60
61 public void setCustomfieldId(java.lang.String customfieldId) {
62 this.customfieldId = customfieldId;
63 }
64
65
66
67
68
69
70
71 public java.lang.String getKey() {
72 return key;
73 }
74
75
76
77
78
79
80
81 public void setKey(java.lang.String key) {
82 this.key = key;
83 }
84
85
86
87
88
89
90
91 public java.lang.String[] getValues() {
92 return values;
93 }
94
95
96
97
98
99
100
101 public void setValues(java.lang.String[] values) {
102 this.values = values;
103 }
104
105 private java.lang.Object __equalsCalc = null;
106 public synchronized boolean equals(java.lang.Object obj) {
107 if (!(obj instanceof RemoteCustomFieldValue)) return false;
108 RemoteCustomFieldValue other = (RemoteCustomFieldValue) obj;
109 if (obj == null) return false;
110 if (this == obj) return true;
111 if (__equalsCalc != null) {
112 return (__equalsCalc == obj);
113 }
114 __equalsCalc = obj;
115 boolean _equals;
116 _equals = true &&
117 ((this.customfieldId==null && other.getCustomfieldId()==null) ||
118 (this.customfieldId!=null &&
119 this.customfieldId.equals(other.getCustomfieldId()))) &&
120 ((this.key==null && other.getKey()==null) ||
121 (this.key!=null &&
122 this.key.equals(other.getKey()))) &&
123 ((this.values==null && other.getValues()==null) ||
124 (this.values!=null &&
125 java.util.Arrays.equals(this.values, other.getValues())));
126 __equalsCalc = null;
127 return _equals;
128 }
129
130 private boolean __hashCodeCalc = false;
131 public synchronized int hashCode() {
132 if (__hashCodeCalc) {
133 return 0;
134 }
135 __hashCodeCalc = true;
136 int _hashCode = 1;
137 if (getCustomfieldId() != null) {
138 _hashCode += getCustomfieldId().hashCode();
139 }
140 if (getKey() != null) {
141 _hashCode += getKey().hashCode();
142 }
143 if (getValues() != null) {
144 for (int i=0;
145 i<java.lang.reflect.Array.getLength(getValues());
146 i++) {
147 java.lang.Object obj = java.lang.reflect.Array.get(getValues(), i);
148 if (obj != null &&
149 !obj.getClass().isArray()) {
150 _hashCode += obj.hashCode();
151 }
152 }
153 }
154 __hashCodeCalc = false;
155 return _hashCode;
156 }
157
158
159 private static org.apache.axis.description.TypeDesc typeDesc =
160 new org.apache.axis.description.TypeDesc(RemoteCustomFieldValue.class, true);
161
162 static {
163 typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteCustomFieldValue"));
164 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
165 elemField.setFieldName("customfieldId");
166 elemField.setXmlName(new javax.xml.namespace.QName("", "customfieldId"));
167 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
168 elemField.setNillable(true);
169 typeDesc.addFieldDesc(elemField);
170 elemField = new org.apache.axis.description.ElementDesc();
171 elemField.setFieldName("key");
172 elemField.setXmlName(new javax.xml.namespace.QName("", "key"));
173 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
174 elemField.setNillable(true);
175 typeDesc.addFieldDesc(elemField);
176 elemField = new org.apache.axis.description.ElementDesc();
177 elemField.setFieldName("values");
178 elemField.setXmlName(new javax.xml.namespace.QName("", "values"));
179 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
180 elemField.setNillable(true);
181 typeDesc.addFieldDesc(elemField);
182 }
183
184
185
186
187 public static org.apache.axis.description.TypeDesc getTypeDesc() {
188 return typeDesc;
189 }
190
191
192
193
194 public static org.apache.axis.encoding.Serializer getSerializer(
195 java.lang.String mechType,
196 java.lang.Class _javaType,
197 javax.xml.namespace.QName _xmlType) {
198 return
199 new org.apache.axis.encoding.ser.BeanSerializer(
200 _javaType, _xmlType, typeDesc);
201 }
202
203
204
205
206 public static org.apache.axis.encoding.Deserializer getDeserializer(
207 java.lang.String mechType,
208 java.lang.Class _javaType,
209 javax.xml.namespace.QName _xmlType) {
210 return
211 new org.apache.axis.encoding.ser.BeanDeserializer(
212 _javaType, _xmlType, typeDesc);
213 }
214
215 }