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