1 7 8 package org.alfresco.example.webservice.types; 9 10 public class CMLCopy implements java.io.Serializable { 11 private org.alfresco.example.webservice.types.ParentReference to; 12 private java.lang.String to_id; 13 private java.lang.String associationType; 14 private java.lang.String childName; 15 private org.alfresco.example.webservice.types.Predicate where; 16 private java.lang.String where_id; 17 private java.lang.Boolean children; 18 19 public CMLCopy() { 20 } 21 22 public CMLCopy( 23 org.alfresco.example.webservice.types.ParentReference to, 24 java.lang.String to_id, 25 java.lang.String associationType, 26 java.lang.String childName, 27 org.alfresco.example.webservice.types.Predicate where, 28 java.lang.String where_id, 29 java.lang.Boolean children) { 30 this.to = to; 31 this.to_id = to_id; 32 this.associationType = associationType; 33 this.childName = childName; 34 this.where = where; 35 this.where_id = where_id; 36 this.children = children; 37 } 38 39 40 45 public org.alfresco.example.webservice.types.ParentReference getTo() { 46 return to; 47 } 48 49 50 55 public void setTo(org.alfresco.example.webservice.types.ParentReference to) { 56 this.to = to; 57 } 58 59 60 65 public java.lang.String getTo_id() { 66 return to_id; 67 } 68 69 70 75 public void setTo_id(java.lang.String to_id) { 76 this.to_id = to_id; 77 } 78 79 80 85 public java.lang.String getAssociationType() { 86 return associationType; 87 } 88 89 90 95 public void setAssociationType(java.lang.String associationType) { 96 this.associationType = associationType; 97 } 98 99 100 105 public java.lang.String getChildName() { 106 return childName; 107 } 108 109 110 115 public void setChildName(java.lang.String childName) { 116 this.childName = childName; 117 } 118 119 120 125 public org.alfresco.example.webservice.types.Predicate getWhere() { 126 return where; 127 } 128 129 130 135 public void setWhere(org.alfresco.example.webservice.types.Predicate where) { 136 this.where = where; 137 } 138 139 140 145 public java.lang.String getWhere_id() { 146 return where_id; 147 } 148 149 150 155 public void setWhere_id(java.lang.String where_id) { 156 this.where_id = where_id; 157 } 158 159 160 165 public java.lang.Boolean getChildren() { 166 return children; 167 } 168 169 170 175 public void setChildren(java.lang.Boolean children) { 176 this.children = children; 177 } 178 179 private java.lang.Object __equalsCalc = null; 180 public synchronized boolean equals(java.lang.Object obj) { 181 if (!(obj instanceof CMLCopy)) return false; 182 CMLCopy other = (CMLCopy) obj; 183 if (obj == null) return false; 184 if (this == obj) return true; 185 if (__equalsCalc != null) { 186 return (__equalsCalc == obj); 187 } 188 __equalsCalc = obj; 189 boolean _equals; 190 _equals = true && 191 ((this.to==null && other.getTo()==null) || 192 (this.to!=null && 193 this.to.equals(other.getTo()))) && 194 ((this.to_id==null && other.getTo_id()==null) || 195 (this.to_id!=null && 196 this.to_id.equals(other.getTo_id()))) && 197 ((this.associationType==null && other.getAssociationType()==null) || 198 (this.associationType!=null && 199 this.associationType.equals(other.getAssociationType()))) && 200 ((this.childName==null && other.getChildName()==null) || 201 (this.childName!=null && 202 this.childName.equals(other.getChildName()))) && 203 ((this.where==null && other.getWhere()==null) || 204 (this.where!=null && 205 this.where.equals(other.getWhere()))) && 206 ((this.where_id==null && other.getWhere_id()==null) || 207 (this.where_id!=null && 208 this.where_id.equals(other.getWhere_id()))) && 209 ((this.children==null && other.getChildren()==null) || 210 (this.children!=null && 211 this.children.equals(other.getChildren()))); 212 __equalsCalc = null; 213 return _equals; 214 } 215 216 private boolean __hashCodeCalc = false; 217 public synchronized int hashCode() { 218 if (__hashCodeCalc) { 219 return 0; 220 } 221 __hashCodeCalc = true; 222 int _hashCode = 1; 223 if (getTo() != null) { 224 _hashCode += getTo().hashCode(); 225 } 226 if (getTo_id() != null) { 227 _hashCode += getTo_id().hashCode(); 228 } 229 if (getAssociationType() != null) { 230 _hashCode += getAssociationType().hashCode(); 231 } 232 if (getChildName() != null) { 233 _hashCode += getChildName().hashCode(); 234 } 235 if (getWhere() != null) { 236 _hashCode += getWhere().hashCode(); 237 } 238 if (getWhere_id() != null) { 239 _hashCode += getWhere_id().hashCode(); 240 } 241 if (getChildren() != null) { 242 _hashCode += getChildren().hashCode(); 243 } 244 __hashCodeCalc = false; 245 return _hashCode; 246 } 247 248 private static org.apache.axis.description.TypeDesc typeDesc = 250 new org.apache.axis.description.TypeDesc(CMLCopy.class, true); 251 252 static { 253 typeDesc.setXmlType(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/cml/1.0", ">CML>copy")); 254 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); 255 elemField.setFieldName("to"); 256 elemField.setXmlName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/cml/1.0", "to")); 257 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "ParentReference")); 258 elemField.setMinOccurs(0); 259 elemField.setNillable(false); 260 typeDesc.addFieldDesc(elemField); 261 elemField = new org.apache.axis.description.ElementDesc(); 262 elemField.setFieldName("to_id"); 263 elemField.setXmlName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/cml/1.0", "to_id")); 264 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.w3.org/2001/XMLSchema", "string")); 265 elemField.setNillable(false); 266 typeDesc.addFieldDesc(elemField); 267 elemField = new org.apache.axis.description.ElementDesc(); 268 elemField.setFieldName("associationType"); 269 elemField.setXmlName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "associationType")); 270 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Name")); 271 elemField.setMinOccurs(0); 272 elemField.setNillable(false); 273 typeDesc.addFieldDesc(elemField); 274 elemField = new org.apache.axis.description.ElementDesc(); 275 elemField.setFieldName("childName"); 276 elemField.setXmlName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "childName")); 277 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Name")); 278 elemField.setMinOccurs(0); 279 elemField.setNillable(false); 280 typeDesc.addFieldDesc(elemField); 281 elemField = new org.apache.axis.description.ElementDesc(); 282 elemField.setFieldName("where"); 283 elemField.setXmlName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/cml/1.0", "where")); 284 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Predicate")); 285 elemField.setMinOccurs(0); 286 elemField.setNillable(false); 287 typeDesc.addFieldDesc(elemField); 288 elemField = new org.apache.axis.description.ElementDesc(); 289 elemField.setFieldName("where_id"); 290 elemField.setXmlName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/cml/1.0", "where_id")); 291 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.w3.org/2001/XMLSchema", "string")); 292 elemField.setMinOccurs(0); 293 elemField.setNillable(false); 294 typeDesc.addFieldDesc(elemField); 295 elemField = new org.apache.axis.description.ElementDesc(); 296 elemField.setFieldName("children"); 297 elemField.setXmlName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/cml/1.0", "children")); 298 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.w3.org/2001/XMLSchema", "boolean")); 299 elemField.setMinOccurs(0); 300 elemField.setNillable(false); 301 typeDesc.addFieldDesc(elemField); 302 } 303 304 307 public static org.apache.axis.description.TypeDesc getTypeDesc() { 308 return typeDesc; 309 } 310 311 314 public static org.apache.axis.encoding.Serializer getSerializer( 315 java.lang.String mechType, 316 java.lang.Class _javaType, 317 javax.xml.namespace.QName _xmlType) { 318 return 319 new org.apache.axis.encoding.ser.BeanSerializer( 320 _javaType, _xmlType, typeDesc); 321 } 322 323 326 public static org.apache.axis.encoding.Deserializer getDeserializer( 327 java.lang.String mechType, 328 java.lang.Class _javaType, 329 javax.xml.namespace.QName _xmlType) { 330 return 331 new org.apache.axis.encoding.ser.BeanDeserializer( 332 _javaType, _xmlType, typeDesc); 333 } 334 335 } 336 | Popular Tags |