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