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