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