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