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 UserGroupandMetaDataResult implements java.io.Serializable {
44 private com.tvnavig.server.user.service.common.MetaDataResult[] metaDataList;
45
46 private com.tvnavig.server.user.service.common.UserGroupResult[] userGroupList;
47
48 public UserGroupandMetaDataResult() {
49 }
50
51 public UserGroupandMetaDataResult(
52 com.tvnavig.server.user.service.common.MetaDataResult[] metaDataList,
53 com.tvnavig.server.user.service.common.UserGroupResult[] userGroupList) {
54 this.metaDataList = metaDataList;
55 this.userGroupList = userGroupList;
56 }
57
58
59
60
61
62
63
64 public com.tvnavig.server.user.service.common.MetaDataResult[] getMetaDataList() {
65 return metaDataList;
66 }
67
68
69
70
71
72
73
74 public void setMetaDataList(com.tvnavig.server.user.service.common.MetaDataResult[] metaDataList) {
75 this.metaDataList = metaDataList;
76 }
77
78
79
80
81
82
83
84 public com.tvnavig.server.user.service.common.UserGroupResult[] getUserGroupList() {
85 return userGroupList;
86 }
87
88
89
90
91
92
93
94 public void setUserGroupList(com.tvnavig.server.user.service.common.UserGroupResult[] userGroupList) {
95 this.userGroupList = userGroupList;
96 }
97
98 private java.lang.Object __equalsCalc = null;
99 public synchronized boolean equals(java.lang.Object obj) {
100 if (!(obj instanceof UserGroupandMetaDataResult)) return false;
101 UserGroupandMetaDataResult other = (UserGroupandMetaDataResult) 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.metaDataList==null && other.getMetaDataList()==null) ||
111 (this.metaDataList!=null &&
112 java.util.Arrays.equals(this.metaDataList, other.getMetaDataList()))) &&
113 ((this.userGroupList==null && other.getUserGroupList()==null) ||
114 (this.userGroupList!=null &&
115 java.util.Arrays.equals(this.userGroupList, other.getUserGroupList())));
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 (getMetaDataList() != null) {
128 for (int i=0;
129 i<java.lang.reflect.Array.getLength(getMetaDataList());
130 i++) {
131 java.lang.Object obj = java.lang.reflect.Array.get(getMetaDataList(), i);
132 if (obj != null &&
133 !obj.getClass().isArray()) {
134 _hashCode += obj.hashCode();
135 }
136 }
137 }
138 if (getUserGroupList() != null) {
139 for (int i=0;
140 i<java.lang.reflect.Array.getLength(getUserGroupList());
141 i++) {
142 java.lang.Object obj = java.lang.reflect.Array.get(getUserGroupList(), i);
143 if (obj != null &&
144 !obj.getClass().isArray()) {
145 _hashCode += obj.hashCode();
146 }
147 }
148 }
149 __hashCodeCalc = false;
150 return _hashCode;
151 }
152
153
154 private static org.apache.axis.description.TypeDesc typeDesc =
155 new org.apache.axis.description.TypeDesc(UserGroupandMetaDataResult.class, true);
156
157 static {
158 typeDesc.setXmlType(new javax.xml.namespace.QName("http://common.service.user.server.tvnavig.com", "UserGroupandMetaDataResult"));
159 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
160 elemField.setFieldName("metaDataList");
161 elemField.setXmlName(new javax.xml.namespace.QName("", "metaDataList"));
162 elemField.setXmlType(new javax.xml.namespace.QName("http://common.service.user.server.tvnavig.com", "MetaDataResult"));
163 elemField.setNillable(true);
164 typeDesc.addFieldDesc(elemField);
165 elemField = new org.apache.axis.description.ElementDesc();
166 elemField.setFieldName("userGroupList");
167 elemField.setXmlName(new javax.xml.namespace.QName("", "userGroupList"));
168 elemField.setXmlType(new javax.xml.namespace.QName("http://common.service.user.server.tvnavig.com", "UserGroupResult"));
169 elemField.setNillable(true);
170 typeDesc.addFieldDesc(elemField);
171 }
172
173
174
175
176 public static org.apache.axis.description.TypeDesc getTypeDesc() {
177 return typeDesc;
178 }
179
180
181
182
183 public static org.apache.axis.encoding.Serializer getSerializer(
184 java.lang.String mechType,
185 java.lang.Class _javaType,
186 javax.xml.namespace.QName _xmlType) {
187 return
188 new org.apache.axis.encoding.ser.BeanSerializer(
189 _javaType, _xmlType, typeDesc);
190 }
191
192
193
194
195 public static org.apache.axis.encoding.Deserializer getDeserializer(
196 java.lang.String mechType,
197 java.lang.Class _javaType,
198 javax.xml.namespace.QName _xmlType) {
199 return
200 new org.apache.axis.encoding.ser.BeanDeserializer(
201 _javaType, _xmlType, typeDesc);
202 }
203
204 }