1
7
8 package com.liferay.client.portlet.expando.model;
9
10 public class ExpandoTableSoap implements java.io.Serializable {
11 private long classNameId;
12
13 private java.lang.String name;
14
15 private long primaryKey;
16
17 private long tableId;
18
19 public ExpandoTableSoap() {
20 }
21
22 public ExpandoTableSoap(
23 long classNameId,
24 java.lang.String name,
25 long primaryKey,
26 long tableId) {
27 this.classNameId = classNameId;
28 this.name = name;
29 this.primaryKey = primaryKey;
30 this.tableId = tableId;
31 }
32
33
34
39 public long getClassNameId() {
40 return classNameId;
41 }
42
43
44
49 public void setClassNameId(long classNameId) {
50 this.classNameId = classNameId;
51 }
52
53
54
59 public java.lang.String getName() {
60 return name;
61 }
62
63
64
69 public void setName(java.lang.String name) {
70 this.name = name;
71 }
72
73
74
79 public long getPrimaryKey() {
80 return primaryKey;
81 }
82
83
84
89 public void setPrimaryKey(long primaryKey) {
90 this.primaryKey = primaryKey;
91 }
92
93
94
99 public long getTableId() {
100 return tableId;
101 }
102
103
104
109 public void setTableId(long tableId) {
110 this.tableId = tableId;
111 }
112
113 private java.lang.Object __equalsCalc = null;
114 public synchronized boolean equals(java.lang.Object obj) {
115 if (!(obj instanceof ExpandoTableSoap)) return false;
116 ExpandoTableSoap other = (ExpandoTableSoap) obj;
117 if (obj == null) return false;
118 if (this == obj) return true;
119 if (__equalsCalc != null) {
120 return (__equalsCalc == obj);
121 }
122 __equalsCalc = obj;
123 boolean _equals;
124 _equals = true &&
125 this.classNameId == other.getClassNameId() &&
126 ((this.name==null && other.getName()==null) ||
127 (this.name!=null &&
128 this.name.equals(other.getName()))) &&
129 this.primaryKey == other.getPrimaryKey() &&
130 this.tableId == other.getTableId();
131 __equalsCalc = null;
132 return _equals;
133 }
134
135 private boolean __hashCodeCalc = false;
136 public synchronized int hashCode() {
137 if (__hashCodeCalc) {
138 return 0;
139 }
140 __hashCodeCalc = true;
141 int _hashCode = 1;
142 _hashCode += new Long(getClassNameId()).hashCode();
143 if (getName() != null) {
144 _hashCode += getName().hashCode();
145 }
146 _hashCode += new Long(getPrimaryKey()).hashCode();
147 _hashCode += new Long(getTableId()).hashCode();
148 __hashCodeCalc = false;
149 return _hashCode;
150 }
151
152 private static org.apache.axis.description.TypeDesc typeDesc =
154 new org.apache.axis.description.TypeDesc(ExpandoTableSoap.class, true);
155
156 static {
157 typeDesc.setXmlType(new javax.xml.namespace.QName("http://model.expando.portlet.liferay.com", "ExpandoTableSoap"));
158 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
159 elemField.setFieldName("classNameId");
160 elemField.setXmlName(new javax.xml.namespace.QName("", "classNameId"));
161 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
162 elemField.setNillable(false);
163 typeDesc.addFieldDesc(elemField);
164 elemField = new org.apache.axis.description.ElementDesc();
165 elemField.setFieldName("name");
166 elemField.setXmlName(new javax.xml.namespace.QName("", "name"));
167 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
168 elemField.setNillable(true);
169 typeDesc.addFieldDesc(elemField);
170 elemField = new org.apache.axis.description.ElementDesc();
171 elemField.setFieldName("primaryKey");
172 elemField.setXmlName(new javax.xml.namespace.QName("", "primaryKey"));
173 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
174 elemField.setNillable(false);
175 typeDesc.addFieldDesc(elemField);
176 elemField = new org.apache.axis.description.ElementDesc();
177 elemField.setFieldName("tableId");
178 elemField.setXmlName(new javax.xml.namespace.QName("", "tableId"));
179 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
180 elemField.setNillable(false);
181 typeDesc.addFieldDesc(elemField);
182 }
183
184
187 public static org.apache.axis.description.TypeDesc getTypeDesc() {
188 return typeDesc;
189 }
190
191
194 public static org.apache.axis.encoding.Serializer getSerializer(
195 java.lang.String mechType,
196 java.lang.Class _javaType,
197 javax.xml.namespace.QName _xmlType) {
198 return
199 new org.apache.axis.encoding.ser.BeanSerializer(
200 _javaType, _xmlType, typeDesc);
201 }
202
203
206 public static org.apache.axis.encoding.Deserializer getDeserializer(
207 java.lang.String mechType,
208 java.lang.Class _javaType,
209 javax.xml.namespace.QName _xmlType) {
210 return
211 new org.apache.axis.encoding.ser.BeanDeserializer(
212 _javaType, _xmlType, typeDesc);
213 }
214
215 }
216