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