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 public RemoteSecurityLevel() {
14 }
15
16 public RemoteSecurityLevel(
17 java.lang.String id,
18 java.lang.String name,
19 java.lang.String description) {
20 super(
21 id,
22 name);
23 this.description = description;
24 }
25
26
27
28
29
30
31
32 public java.lang.String getDescription() {
33 return description;
34 }
35
36
37
38
39
40
41
42 public void setDescription(java.lang.String description) {
43 this.description = description;
44 }
45
46 private java.lang.Object __equalsCalc = null;
47 public synchronized boolean equals(java.lang.Object obj) {
48 if (!(obj instanceof RemoteSecurityLevel)) return false;
49 RemoteSecurityLevel other = (RemoteSecurityLevel) obj;
50 if (obj == null) return false;
51 if (this == obj) return true;
52 if (__equalsCalc != null) {
53 return (__equalsCalc == obj);
54 }
55 __equalsCalc = obj;
56 boolean _equals;
57 _equals = super.equals(obj) &&
58 ((this.description==null && other.getDescription()==null) ||
59 (this.description!=null &&
60 this.description.equals(other.getDescription())));
61 __equalsCalc = null;
62 return _equals;
63 }
64
65 private boolean __hashCodeCalc = false;
66 public synchronized int hashCode() {
67 if (__hashCodeCalc) {
68 return 0;
69 }
70 __hashCodeCalc = true;
71 int _hashCode = super.hashCode();
72 if (getDescription() != null) {
73 _hashCode += getDescription().hashCode();
74 }
75 __hashCodeCalc = false;
76 return _hashCode;
77 }
78
79
80 private static org.apache.axis.description.TypeDesc typeDesc =
81 new org.apache.axis.description.TypeDesc(RemoteSecurityLevel.class, true);
82
83 static {
84 typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteSecurityLevel"));
85 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
86 elemField.setFieldName("description");
87 elemField.setXmlName(new javax.xml.namespace.QName("", "description"));
88 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
89 elemField.setNillable(true);
90 typeDesc.addFieldDesc(elemField);
91 }
92
93
94
95
96 public static org.apache.axis.description.TypeDesc getTypeDesc() {
97 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 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 return
120 new org.apache.axis.encoding.ser.BeanDeserializer(
121 _javaType, _xmlType, typeDesc);
122 }
123
124 }