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.asset.service.common;
42
43 public class MetaValueResult implements java.io.Serializable {
44 private java.lang.Integer id;
45
46 private java.lang.Integer metaDataId;
47
48 private java.lang.String value;
49
50 public MetaValueResult() {
51 }
52
53 public MetaValueResult(
54 java.lang.Integer id,
55 java.lang.Integer metaDataId,
56 java.lang.String value) {
57 this.id = id;
58 this.metaDataId = metaDataId;
59 this.value = value;
60 }
61
62
63
64
65
66
67
68 public java.lang.Integer getId() {
69 return id;
70 }
71
72
73
74
75
76
77
78 public void setId(java.lang.Integer id) {
79 this.id = id;
80 }
81
82
83
84
85
86
87
88 public java.lang.Integer getMetaDataId() {
89 return metaDataId;
90 }
91
92
93
94
95
96
97
98 public void setMetaDataId(java.lang.Integer metaDataId) {
99 this.metaDataId = metaDataId;
100 }
101
102
103
104
105
106
107
108 public java.lang.String getValue() {
109 return value;
110 }
111
112
113
114
115
116
117
118 public void setValue(java.lang.String value) {
119 this.value = value;
120 }
121
122 private java.lang.Object __equalsCalc = null;
123 public synchronized boolean equals(java.lang.Object obj) {
124 if (!(obj instanceof MetaValueResult)) return false;
125 MetaValueResult other = (MetaValueResult) 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.id==null && other.getId()==null) ||
135 (this.id!=null &&
136 this.id.equals(other.getId()))) &&
137 ((this.metaDataId==null && other.getMetaDataId()==null) ||
138 (this.metaDataId!=null &&
139 this.metaDataId.equals(other.getMetaDataId()))) &&
140 ((this.value==null && other.getValue()==null) ||
141 (this.value!=null &&
142 this.value.equals(other.getValue())));
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 (getId() != null) {
155 _hashCode += getId().hashCode();
156 }
157 if (getMetaDataId() != null) {
158 _hashCode += getMetaDataId().hashCode();
159 }
160 if (getValue() != null) {
161 _hashCode += getValue().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(MetaValueResult.class, true);
170
171 static {
172 typeDesc.setXmlType(new javax.xml.namespace.QName("http://common.service.asset.server.tvnavig.com", "MetaValueResult"));
173 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
174 elemField.setFieldName("id");
175 elemField.setXmlName(new javax.xml.namespace.QName("", "id"));
176 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
177 elemField.setNillable(true);
178 typeDesc.addFieldDesc(elemField);
179 elemField = new org.apache.axis.description.ElementDesc();
180 elemField.setFieldName("metaDataId");
181 elemField.setXmlName(new javax.xml.namespace.QName("", "metaDataId"));
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("value");
187 elemField.setXmlName(new javax.xml.namespace.QName("", "value"));
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 }