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