1 7 8 package org.alfresco.repo.webservice.types; 9 10 public class CMLMove 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 public CMLMove() { 24 } 25 26 public CMLMove( 27 org.alfresco.repo.webservice.types.ParentReference to, 28 java.lang.String to_id, 29 java.lang.String associationType, 30 java.lang.String childName, 31 org.alfresco.repo.webservice.types.Predicate where, 32 java.lang.String where_id) { 33 this.to = to; 34 this.to_id = to_id; 35 this.associationType = associationType; 36 this.childName = childName; 37 this.where = where; 38 this.where_id = where_id; 39 } 40 41 42 47 public org.alfresco.repo.webservice.types.ParentReference getTo() { 48 return to; 49 } 50 51 52 57 public void setTo(org.alfresco.repo.webservice.types.ParentReference to) { 58 this.to = to; 59 } 60 61 62 67 public java.lang.String getTo_id() { 68 return to_id; 69 } 70 71 72 77 public void setTo_id(java.lang.String to_id) { 78 this.to_id = to_id; 79 } 80 81 82 87 public java.lang.String getAssociationType() { 88 return associationType; 89 } 90 91 92 97 public void setAssociationType(java.lang.String associationType) { 98 this.associationType = associationType; 99 } 100 101 102 107 public java.lang.String getChildName() { 108 return childName; 109 } 110 111 112 117 public void setChildName(java.lang.String childName) { 118 this.childName = childName; 119 } 120 121 122 127 public org.alfresco.repo.webservice.types.Predicate getWhere() { 128 return where; 129 } 130 131 132 137 public void setWhere(org.alfresco.repo.webservice.types.Predicate where) { 138 this.where = where; 139 } 140 141 142 147 public java.lang.String getWhere_id() { 148 return where_id; 149 } 150 151 152 157 public void setWhere_id(java.lang.String where_id) { 158 this.where_id = where_id; 159 } 160 161 private java.lang.Object __equalsCalc = null; 162 public synchronized boolean equals(java.lang.Object obj) { 163 if (!(obj instanceof CMLMove)) return false; 164 CMLMove other = (CMLMove) obj; 165 if (obj == null) return false; 166 if (this == obj) return true; 167 if (__equalsCalc != null) { 168 return (__equalsCalc == obj); 169 } 170 __equalsCalc = obj; 171 boolean _equals; 172 _equals = true && 173 ((this.to==null && other.getTo()==null) || 174 (this.to!=null && 175 this.to.equals(other.getTo()))) && 176 ((this.to_id==null && other.getTo_id()==null) || 177 (this.to_id!=null && 178 this.to_id.equals(other.getTo_id()))) && 179 ((this.associationType==null && other.getAssociationType()==null) || 180 (this.associationType!=null && 181 this.associationType.equals(other.getAssociationType()))) && 182 ((this.childName==null && other.getChildName()==null) || 183 (this.childName!=null && 184 this.childName.equals(other.getChildName()))) && 185 ((this.where==null && other.getWhere()==null) || 186 (this.where!=null && 187 this.where.equals(other.getWhere()))) && 188 ((this.where_id==null && other.getWhere_id()==null) || 189 (this.where_id!=null && 190 this.where_id.equals(other.getWhere_id()))); 191 __equalsCalc = null; 192 return _equals; 193 } 194 195 private boolean __hashCodeCalc = false; 196 public synchronized int hashCode() { 197 if (__hashCodeCalc) { 198 return 0; 199 } 200 __hashCodeCalc = true; 201 int _hashCode = 1; 202 if (getTo() != null) { 203 _hashCode += getTo().hashCode(); 204 } 205 if (getTo_id() != null) { 206 _hashCode += getTo_id().hashCode(); 207 } 208 if (getAssociationType() != null) { 209 _hashCode += getAssociationType().hashCode(); 210 } 211 if (getChildName() != null) { 212 _hashCode += getChildName().hashCode(); 213 } 214 if (getWhere() != null) { 215 _hashCode += getWhere().hashCode(); 216 } 217 if (getWhere_id() != null) { 218 _hashCode += getWhere_id().hashCode(); 219 } 220 __hashCodeCalc = false; 221 return _hashCode; 222 } 223 224 private static org.apache.axis.description.TypeDesc typeDesc = 226 new org.apache.axis.description.TypeDesc(CMLMove.class, true); 227 228 static { 229 typeDesc.setXmlType(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/cml/1.0", ">CML>move")); 230 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); 231 elemField.setFieldName("to"); 232 elemField.setXmlName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/cml/1.0", "to")); 233 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "ParentReference")); 234 elemField.setMinOccurs(0); 235 elemField.setNillable(false); 236 typeDesc.addFieldDesc(elemField); 237 elemField = new org.apache.axis.description.ElementDesc(); 238 elemField.setFieldName("to_id"); 239 elemField.setXmlName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/cml/1.0", "to_id")); 240 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.w3.org/2001/XMLSchema", "string")); 241 elemField.setNillable(false); 242 typeDesc.addFieldDesc(elemField); 243 elemField = new org.apache.axis.description.ElementDesc(); 244 elemField.setFieldName("associationType"); 245 elemField.setXmlName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "associationType")); 246 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.w3.org/2001/XMLSchema", "string")); 247 elemField.setMinOccurs(0); 248 elemField.setNillable(false); 249 typeDesc.addFieldDesc(elemField); 250 elemField = new org.apache.axis.description.ElementDesc(); 251 elemField.setFieldName("childName"); 252 elemField.setXmlName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "childName")); 253 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.w3.org/2001/XMLSchema", "string")); 254 elemField.setMinOccurs(0); 255 elemField.setNillable(false); 256 typeDesc.addFieldDesc(elemField); 257 elemField = new org.apache.axis.description.ElementDesc(); 258 elemField.setFieldName("where"); 259 elemField.setXmlName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/cml/1.0", "where")); 260 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Predicate")); 261 elemField.setMinOccurs(0); 262 elemField.setNillable(false); 263 typeDesc.addFieldDesc(elemField); 264 elemField = new org.apache.axis.description.ElementDesc(); 265 elemField.setFieldName("where_id"); 266 elemField.setXmlName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/cml/1.0", "where_id")); 267 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.w3.org/2001/XMLSchema", "string")); 268 elemField.setMinOccurs(0); 269 elemField.setNillable(false); 270 typeDesc.addFieldDesc(elemField); 271 } 272 273 276 public static org.apache.axis.description.TypeDesc getTypeDesc() { 277 return typeDesc; 278 } 279 280 283 public static org.apache.axis.encoding.Serializer getSerializer( 284 java.lang.String mechType, 285 java.lang.Class _javaType, 286 javax.xml.namespace.QName _xmlType) { 287 return 288 new org.apache.axis.encoding.ser.BeanSerializer( 289 _javaType, _xmlType, typeDesc); 290 } 291 292 295 public static org.apache.axis.encoding.Deserializer getDeserializer( 296 java.lang.String mechType, 297 java.lang.Class _javaType, 298 javax.xml.namespace.QName _xmlType) { 299 return 300 new org.apache.axis.encoding.ser.BeanDeserializer( 301 _javaType, _xmlType, typeDesc); 302 } 303 304 } 305 | Popular Tags |