1 7 8 package org.alfresco.example.webservice.types; 9 10 public class CMLAddChild 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 18 public CMLAddChild() { 19 } 20 21 public CMLAddChild( 22 org.alfresco.example.webservice.types.ParentReference to, 23 java.lang.String to_id, 24 java.lang.String associationType, 25 java.lang.String childName, 26 org.alfresco.example.webservice.types.Predicate where, 27 java.lang.String where_id) { 28 this.to = to; 29 this.to_id = to_id; 30 this.associationType = associationType; 31 this.childName = childName; 32 this.where = where; 33 this.where_id = where_id; 34 } 35 36 37 42 public org.alfresco.example.webservice.types.ParentReference getTo() { 43 return to; 44 } 45 46 47 52 public void setTo(org.alfresco.example.webservice.types.ParentReference to) { 53 this.to = to; 54 } 55 56 57 62 public java.lang.String getTo_id() { 63 return to_id; 64 } 65 66 67 72 public void setTo_id(java.lang.String to_id) { 73 this.to_id = to_id; 74 } 75 76 77 82 public java.lang.String getAssociationType() { 83 return associationType; 84 } 85 86 87 92 public void setAssociationType(java.lang.String associationType) { 93 this.associationType = associationType; 94 } 95 96 97 102 public java.lang.String getChildName() { 103 return childName; 104 } 105 106 107 112 public void setChildName(java.lang.String childName) { 113 this.childName = childName; 114 } 115 116 117 122 public org.alfresco.example.webservice.types.Predicate getWhere() { 123 return where; 124 } 125 126 127 132 public void setWhere(org.alfresco.example.webservice.types.Predicate where) { 133 this.where = where; 134 } 135 136 137 142 public java.lang.String getWhere_id() { 143 return where_id; 144 } 145 146 147 152 public void setWhere_id(java.lang.String where_id) { 153 this.where_id = where_id; 154 } 155 156 private java.lang.Object __equalsCalc = null; 157 public synchronized boolean equals(java.lang.Object obj) { 158 if (!(obj instanceof CMLAddChild)) return false; 159 CMLAddChild other = (CMLAddChild) obj; 160 if (obj == null) return false; 161 if (this == obj) return true; 162 if (__equalsCalc != null) { 163 return (__equalsCalc == obj); 164 } 165 __equalsCalc = obj; 166 boolean _equals; 167 _equals = true && 168 ((this.to==null && other.getTo()==null) || 169 (this.to!=null && 170 this.to.equals(other.getTo()))) && 171 ((this.to_id==null && other.getTo_id()==null) || 172 (this.to_id!=null && 173 this.to_id.equals(other.getTo_id()))) && 174 ((this.associationType==null && other.getAssociationType()==null) || 175 (this.associationType!=null && 176 this.associationType.equals(other.getAssociationType()))) && 177 ((this.childName==null && other.getChildName()==null) || 178 (this.childName!=null && 179 this.childName.equals(other.getChildName()))) && 180 ((this.where==null && other.getWhere()==null) || 181 (this.where!=null && 182 this.where.equals(other.getWhere()))) && 183 ((this.where_id==null && other.getWhere_id()==null) || 184 (this.where_id!=null && 185 this.where_id.equals(other.getWhere_id()))); 186 __equalsCalc = null; 187 return _equals; 188 } 189 190 private boolean __hashCodeCalc = false; 191 public synchronized int hashCode() { 192 if (__hashCodeCalc) { 193 return 0; 194 } 195 __hashCodeCalc = true; 196 int _hashCode = 1; 197 if (getTo() != null) { 198 _hashCode += getTo().hashCode(); 199 } 200 if (getTo_id() != null) { 201 _hashCode += getTo_id().hashCode(); 202 } 203 if (getAssociationType() != null) { 204 _hashCode += getAssociationType().hashCode(); 205 } 206 if (getChildName() != null) { 207 _hashCode += getChildName().hashCode(); 208 } 209 if (getWhere() != null) { 210 _hashCode += getWhere().hashCode(); 211 } 212 if (getWhere_id() != null) { 213 _hashCode += getWhere_id().hashCode(); 214 } 215 __hashCodeCalc = false; 216 return _hashCode; 217 } 218 219 private static org.apache.axis.description.TypeDesc typeDesc = 221 new org.apache.axis.description.TypeDesc(CMLAddChild.class, true); 222 223 static { 224 typeDesc.setXmlType(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/cml/1.0", ">CML>addChild")); 225 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); 226 elemField.setFieldName("to"); 227 elemField.setXmlName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/cml/1.0", "to")); 228 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "ParentReference")); 229 elemField.setMinOccurs(0); 230 elemField.setNillable(false); 231 typeDesc.addFieldDesc(elemField); 232 elemField = new org.apache.axis.description.ElementDesc(); 233 elemField.setFieldName("to_id"); 234 elemField.setXmlName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/cml/1.0", "to_id")); 235 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.w3.org/2001/XMLSchema", "string")); 236 elemField.setNillable(false); 237 typeDesc.addFieldDesc(elemField); 238 elemField = new org.apache.axis.description.ElementDesc(); 239 elemField.setFieldName("associationType"); 240 elemField.setXmlName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "associationType")); 241 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Name")); 242 elemField.setMinOccurs(0); 243 elemField.setNillable(false); 244 typeDesc.addFieldDesc(elemField); 245 elemField = new org.apache.axis.description.ElementDesc(); 246 elemField.setFieldName("childName"); 247 elemField.setXmlName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "childName")); 248 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Name")); 249 elemField.setMinOccurs(0); 250 elemField.setNillable(false); 251 typeDesc.addFieldDesc(elemField); 252 elemField = new org.apache.axis.description.ElementDesc(); 253 elemField.setFieldName("where"); 254 elemField.setXmlName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/cml/1.0", "where")); 255 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Predicate")); 256 elemField.setMinOccurs(0); 257 elemField.setNillable(false); 258 typeDesc.addFieldDesc(elemField); 259 elemField = new org.apache.axis.description.ElementDesc(); 260 elemField.setFieldName("where_id"); 261 elemField.setXmlName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/cml/1.0", "where_id")); 262 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.w3.org/2001/XMLSchema", "string")); 263 elemField.setMinOccurs(0); 264 elemField.setNillable(false); 265 typeDesc.addFieldDesc(elemField); 266 } 267 268 271 public static org.apache.axis.description.TypeDesc getTypeDesc() { 272 return typeDesc; 273 } 274 275 278 public static org.apache.axis.encoding.Serializer getSerializer( 279 java.lang.String mechType, 280 java.lang.Class _javaType, 281 javax.xml.namespace.QName _xmlType) { 282 return 283 new org.apache.axis.encoding.ser.BeanSerializer( 284 _javaType, _xmlType, typeDesc); 285 } 286 287 290 public static org.apache.axis.encoding.Deserializer getDeserializer( 291 java.lang.String mechType, 292 java.lang.Class _javaType, 293 javax.xml.namespace.QName _xmlType) { 294 return 295 new org.apache.axis.encoding.ser.BeanDeserializer( 296 _javaType, _xmlType, typeDesc); 297 } 298 299 } 300 | Popular Tags |