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 RemotePriority extends com.atlassian.theplugin.jira.api.soap.axis.AbstractRemoteConstant implements java.io.Serializable {
27 private java.lang.String color;
28
29 public RemotePriority() {
30 }
31
32 public RemotePriority(
33 java.lang.String id,
34 java.lang.String name,
35 java.lang.String description,
36 java.lang.String icon,
37 java.lang.String color) {
38 super(
39 id,
40 name,
41 description,
42 icon);
43 this.color = color;
44 }
45
46
47
48
49
50
51
52 public java.lang.String getColor() {
53 return color;
54 }
55
56
57
58
59
60
61
62 public void setColor(java.lang.String color) {
63 this.color = color;
64 }
65
66 private java.lang.Object __equalsCalc = null;
67 public synchronized boolean equals(java.lang.Object obj) {
68 if (!(obj instanceof RemotePriority)) return false;
69 RemotePriority other = (RemotePriority) obj;
70 if (obj == null) return false;
71 if (this == obj) return true;
72 if (__equalsCalc != null) {
73 return (__equalsCalc == obj);
74 }
75 __equalsCalc = obj;
76 boolean _equals;
77 _equals = super.equals(obj) &&
78 ((this.color==null && other.getColor()==null) ||
79 (this.color!=null &&
80 this.color.equals(other.getColor())));
81 __equalsCalc = null;
82 return _equals;
83 }
84
85 private boolean __hashCodeCalc = false;
86 public synchronized int hashCode() {
87 if (__hashCodeCalc) {
88 return 0;
89 }
90 __hashCodeCalc = true;
91 int _hashCode = super.hashCode();
92 if (getColor() != null) {
93 _hashCode += getColor().hashCode();
94 }
95 __hashCodeCalc = false;
96 return _hashCode;
97 }
98
99
100 private static org.apache.axis.description.TypeDesc typeDesc =
101 new org.apache.axis.description.TypeDesc(RemotePriority.class, true);
102
103 static {
104 typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemotePriority"));
105 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
106 elemField.setFieldName("color");
107 elemField.setXmlName(new javax.xml.namespace.QName("", "color"));
108 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
109 elemField.setNillable(true);
110 typeDesc.addFieldDesc(elemField);
111 }
112
113
114
115
116 public static org.apache.axis.description.TypeDesc getTypeDesc() {
117 return typeDesc;
118 }
119
120
121
122
123 public static org.apache.axis.encoding.Serializer getSerializer(
124 java.lang.String mechType,
125 java.lang.Class _javaType,
126 javax.xml.namespace.QName _xmlType) {
127 return
128 new org.apache.axis.encoding.ser.BeanSerializer(
129 _javaType, _xmlType, typeDesc);
130 }
131
132
133
134
135 public static org.apache.axis.encoding.Deserializer getDeserializer(
136 java.lang.String mechType,
137 java.lang.Class _javaType,
138 javax.xml.namespace.QName _xmlType) {
139 return
140 new org.apache.axis.encoding.ser.BeanDeserializer(
141 _javaType, _xmlType, typeDesc);
142 }
143
144 }