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 UserGroupResult implements java.io.Serializable {
44 private java.lang.String description;
45
46 private java.lang.Integer groupId;
47
48 private java.lang.String name;
49
50 public UserGroupResult() {
51 }
52
53 public UserGroupResult(
54 java.lang.String description,
55 java.lang.Integer groupId,
56 java.lang.String name) {
57 this.description = description;
58 this.groupId = groupId;
59 this.name = name;
60 }
61
62
63
64
65
66
67
68 public java.lang.String getDescription() {
69 return description;
70 }
71
72
73
74
75
76
77
78 public void setDescription(java.lang.String description) {
79 this.description = description;
80 }
81
82
83
84
85
86
87
88 public java.lang.Integer getGroupId() {
89 return groupId;
90 }
91
92
93
94
95
96
97
98 public void setGroupId(java.lang.Integer groupId) {
99 this.groupId = groupId;
100 }
101
102
103
104
105
106
107
108 public java.lang.String getName() {
109 return name;
110 }
111
112
113
114
115
116
117
118 public void setName(java.lang.String name) {
119 this.name = name;
120 }
121
122 private java.lang.Object __equalsCalc = null;
123 public synchronized boolean equals(java.lang.Object obj) {
124 if (!(obj instanceof UserGroupResult)) return false;
125 UserGroupResult other = (UserGroupResult) obj;
126 if (obj == null) return false;
127 if (this == obj) return true;
128 if (__equalsCalc != null) {
129 return (__equalsCalc == obj);
130 }
131 __equalsCalc = obj;
132 boolean _equals;
133 _equals = true &&
134 ((this.description==null && other.getDescription()==null) ||
135 (this.description!=null &&
136 this.description.equals(other.getDescription()))) &&
137 ((this.groupId==null && other.getGroupId()==null) ||
138 (this.groupId!=null &&
139 this.groupId.equals(other.getGroupId()))) &&
140 ((this.name==null && other.getName()==null) ||
141 (this.name!=null &&
142 this.name.equals(other.getName())));
143 __equalsCalc = null;
144 return _equals;
145 }
146
147 private boolean __hashCodeCalc = false;
148 public synchronized int hashCode() {
149 if (__hashCodeCalc) {
150 return 0;
151 }
152 __hashCodeCalc = true;
153 int _hashCode = 1;
154 if (getDescription() != null) {
155 _hashCode += getDescription().hashCode();
156 }
157 if (getGroupId() != null) {
158 _hashCode += getGroupId().hashCode();
159 }
160 if (getName() != null) {
161 _hashCode += getName().hashCode();
162 }
163 __hashCodeCalc = false;
164 return _hashCode;
165 }
166
167
168 private static org.apache.axis.description.TypeDesc typeDesc =
169 new org.apache.axis.description.TypeDesc(UserGroupResult.class, true);
170
171 static {
172 typeDesc.setXmlType(new javax.xml.namespace.QName("http://common.service.user.server.tvnavig.com", "UserGroupResult"));
173 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
174 elemField.setFieldName("description");
175 elemField.setXmlName(new javax.xml.namespace.QName("", "description"));
176 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
177 elemField.setNillable(true);
178 typeDesc.addFieldDesc(elemField);
179 elemField = new org.apache.axis.description.ElementDesc();
180 elemField.setFieldName("groupId");
181 elemField.setXmlName(new javax.xml.namespace.QName("", "groupId"));
182 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
183 elemField.setNillable(true);
184 typeDesc.addFieldDesc(elemField);
185 elemField = new org.apache.axis.description.ElementDesc();
186 elemField.setFieldName("name");
187 elemField.setXmlName(new javax.xml.namespace.QName("", "name"));
188 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
189 elemField.setNillable(true);
190 typeDesc.addFieldDesc(elemField);
191 }
192
193
194
195
196 public static org.apache.axis.description.TypeDesc getTypeDesc() {
197 return typeDesc;
198 }
199
200
201
202
203 public static org.apache.axis.encoding.Serializer getSerializer(
204 java.lang.String mechType,
205 java.lang.Class _javaType,
206 javax.xml.namespace.QName _xmlType) {
207 return
208 new org.apache.axis.encoding.ser.BeanSerializer(
209 _javaType, _xmlType, typeDesc);
210 }
211
212
213
214
215 public static org.apache.axis.encoding.Deserializer getDeserializer(
216 java.lang.String mechType,
217 java.lang.Class _javaType,
218 javax.xml.namespace.QName _xmlType) {
219 return
220 new org.apache.axis.encoding.ser.BeanDeserializer(
221 _javaType, _xmlType, typeDesc);
222 }
223
224 }