1 7 8 package org.alfresco.repo.webservice.types; 9 10 public class CMLCopy implements java.io.Serializable { 11 private org.alfresco.repo.webservice.types.ParentReference to; 12 13 private java.lang.String to_id; 14 15 private java.lang.String associationType; 16 17 private java.lang.String childName; 18 19 private org.alfresco.repo.webservice.types.Predicate where; 20 21 private java.lang.String where_id; 22 23 private java.lang.Boolean children; 24 25 public CMLCopy() { 26 } 27 28 public CMLCopy( 29 org.alfresco.repo.webservice.types.ParentReference to, 30 java.lang.String to_id, 31 java.lang.String associationType, 32 java.lang.String childName, 33 org.alfresco.repo.webservice.types.Predicate where, 34 java.lang.String where_id, 35 java.lang.Boolean children) { 36 this.to = to; 37 this.to_id = to_id; 38 this.associationType = associationType; 39 this.childName = childName; 40 this.where = where; 41 this.where_id = where_id; 42 this.children = children; 43 } 44 45 46 51 public org.alfresco.repo.webservice.types.ParentReference getTo() { 52 return to; 53 } 54 55 56 61 public void setTo(org.alfresco.repo.webservice.types.ParentReference to) { 62 this.to = to; 63 } 64 65 66 71 public java.lang.String getTo_id() { 72 return to_id; 73 } 74 75 76 81 public void setTo_id(java.lang.String to_id) { 82 this.to_id = to_id; 83 } 84 85 86 91 public java.lang.String getAssociationType() { 92 return associationType; 93 } 94 95 96 101 public void setAssociationType(java.lang.String associationType) { 102 this.associationType = associationType; 103 } 104 105 106 111 public java.lang.String getChildName() { 112 return childName; 113 } 114 115 116 121 public void setChildName(java.lang.String childName) { 122 this.childName = childName; 123 } 124 125 126 131 public org.alfresco.repo.webservice.types.Predicate getWhere() { 132 return where; 133 } 134 135 136 141 public void setWhere(org.alfresco.repo.webservice.types.Predicate where) { 142 this.where = where; 143 } 144 145 146 151 public java.lang.String getWhere_id() { 152 return where_id; 153 } 154 155 156 161 public void setWhere_id(java.lang.String where_id) { 162 this.where_id = where_id; 163 } 164 165 166 171 public java.lang.Boolean getChildren() { 172 return children; 173 } 174 175 176 181 public void setChildren(java.lang.Boolean children) { 182 this.children = children; 183 } 184 185 private java.lang.Object __equalsCalc = null; 186 public synchronized boolean equals(java.lang.Object obj) { 187 if (!(obj instanceof CMLCopy)) return false; 188 CMLCopy other = (CMLCopy) obj; 189 if (obj == null) return false; 190 if (this == obj) return true; 191 if (__equalsCalc != null) { 192 return (__equalsCalc == obj); 193 } 194 __equalsCalc = obj; 195 boolean _equals; 196 _equals = true && 197 ((this.to==null && other.getTo()==null) || 198 (this.to!=null && 199 this.to.equals(other.getTo()))) && 200 ((this.to_id==null && other.getTo_id()==null) || 201 (this.to_id!=null && 202 this.to_id.equals(other.getTo_id()))) && 203 ((this.associationType==null && other.getAssociationType()==null) || 204 (this.associationType!=null && 205 this.associationType.equals(other.getAssociationType()))) && 206 ((this.childName==null && other.getChildName()==null) || 207 (this.childName!=null && 208 this.childName.equals(other.getChildName()))) && 209 ((this.where==null && other.getWhere()==null) || 210 (this.where!=null && 211 this.where.equals(other.getWhere()))) && 212 ((this.where_id==null && other.getWhere_id()==null) || 213 (this.where_id!=null && 214 this.where_id.equals(other.getWhere_id()))) && 215 ((this.children==null && other.getChildren()==null) || 216 (this.children!=null && 217 this.children.equals(other.getChildren()))); 218 __equalsCalc = null; 219 return _equals; 220 } 221 222 private boolean __hashCodeCalc = false; 223 public synchronized int hashCode() { 224 if (__hashCodeCalc) { 225 return 0; 226 } 227 __hashCodeCalc = true; 228 int _hashCode = 1; 229 if (getTo() != null) { 230 _hashCode += getTo().hashCode(); 231 } 232 if (getTo_id() != null) { 233 _hashCode += getTo_id().hashCode(); 234 } 235 if (getAssociationType() != null) { 236 _hashCode += getAssociationType().hashCode(); 237 } 238 if (getChildName() != null) { 239 _hashCode += getChildName().hashCode(); 240 } 241 if (getWhere() != null) { 242 _hashCode += getWhere().hashCode(); 243 } 244 if (getWhere_id() != null) { 245 _hashCode += getWhere_id().hashCode(); 246 } 247 if (getChildren() != null) { 248 _hashCode += getChildren().hashCode(); 249 } 250 __hashCodeCalc = false; 251 return _hashCode; 252 } 253 254 private static org.apache.axis.description.TypeDesc typeDesc = 256 new org.apache.axis.description.TypeDesc(CMLCopy.class, true); 257 258 static { 259 typeDesc.setXmlType(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/cml/1.0", ">CML>copy")); 260 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); 261 elemField.setFieldName("to"); 262 elemField.setXmlName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/cml/1.0", "to")); 263 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "ParentReference")); 264 elemField.setMinOccurs(0); 265 elemField.setNillable(false); 266 typeDesc.addFieldDesc(elemField); 267 elemField = new org.apache.axis.description.ElementDesc(); 268 elemField.setFieldName("to_id"); 269 elemField.setXmlName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/cml/1.0", "to_id")); 270 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.w3.org/2001/XMLSchema", "string")); 271 elemField.setNillable(false); 272 typeDesc.addFieldDesc(elemField); 273 elemField = new org.apache.axis.description.ElementDesc(); 274 elemField.setFieldName("associationType"); 275 elemField.setXmlName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "associationType")); 276 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.w3.org/2001/XMLSchema", "string")); 277 elemField.setMinOccurs(0); 278 elemField.setNillable(false); 279 typeDesc.addFieldDesc(elemField); 280 elemField = new org.apache.axis.description.ElementDesc(); 281 elemField.setFieldName("childName"); 282 elemField.setXmlName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "childName")); 283 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.w3.org/2001/XMLSchema", "string")); 284 elemField.setMinOccurs(0); 285 elemField.setNillable(false); 286 typeDesc.addFieldDesc(elemField); 287 elemField = new org.apache.axis.description.ElementDesc(); 288 elemField.setFieldName("where"); 289 elemField.setXmlName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/cml/1.0", "where")); 290 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Predicate")); 291 elemField.setMinOccurs(0); 292 elemField.setNillable(false); 293 typeDesc.addFieldDesc(elemField); 294 elemField = new org.apache.axis.description.ElementDesc(); 295 elemField.setFieldName("where_id"); 296 elemField.setXmlName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/cml/1.0", "where_id")); 297 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.w3.org/2001/XMLSchema", "string")); 298 elemField.setMinOccurs(0); 299 elemField.setNillable(false); 300 typeDesc.addFieldDesc(elemField); 301 elemField = new org.apache.axis.description.ElementDesc(); 302 elemField.setFieldName("children"); 303 elemField.setXmlName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/cml/1.0", "children")); 304 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.w3.org/2001/XMLSchema", "boolean")); 305 elemField.setMinOccurs(0); 306 elemField.setNillable(false); 307 typeDesc.addFieldDesc(elemField); 308 } 309 310 313 public static org.apache.axis.description.TypeDesc getTypeDesc() { 314 return typeDesc; 315 } 316 317 320 public static org.apache.axis.encoding.Serializer getSerializer( 321 java.lang.String mechType, 322 java.lang.Class _javaType, 323 javax.xml.namespace.QName _xmlType) { 324 return 325 new org.apache.axis.encoding.ser.BeanSerializer( 326 _javaType, _xmlType, typeDesc); 327 } 328 329 332 public static org.apache.axis.encoding.Deserializer getDeserializer( 333 java.lang.String mechType, 334 java.lang.Class _javaType, 335 javax.xml.namespace.QName _xmlType) { 336 return 337 new org.apache.axis.encoding.ser.BeanDeserializer( 338 _javaType, _xmlType, typeDesc); 339 } 340 341 } 342 | Popular Tags |