1 7 8 package org.alfresco.example.webservice.types; 9 10 public class CMLRemoveChild implements java.io.Serializable { 11 private org.alfresco.example.webservice.types.Reference from; 12 private java.lang.String from_id; 13 private org.alfresco.example.webservice.types.Predicate where; 14 private java.lang.String where_id; 15 16 public CMLRemoveChild() { 17 } 18 19 public CMLRemoveChild( 20 org.alfresco.example.webservice.types.Reference from, 21 java.lang.String from_id, 22 org.alfresco.example.webservice.types.Predicate where, 23 java.lang.String where_id) { 24 this.from = from; 25 this.from_id = from_id; 26 this.where = where; 27 this.where_id = where_id; 28 } 29 30 31 36 public org.alfresco.example.webservice.types.Reference getFrom() { 37 return from; 38 } 39 40 41 46 public void setFrom(org.alfresco.example.webservice.types.Reference from) { 47 this.from = from; 48 } 49 50 51 56 public java.lang.String getFrom_id() { 57 return from_id; 58 } 59 60 61 66 public void setFrom_id(java.lang.String from_id) { 67 this.from_id = from_id; 68 } 69 70 71 76 public org.alfresco.example.webservice.types.Predicate getWhere() { 77 return where; 78 } 79 80 81 86 public void setWhere(org.alfresco.example.webservice.types.Predicate where) { 87 this.where = where; 88 } 89 90 91 96 public java.lang.String getWhere_id() { 97 return where_id; 98 } 99 100 101 106 public void setWhere_id(java.lang.String where_id) { 107 this.where_id = where_id; 108 } 109 110 private java.lang.Object __equalsCalc = null; 111 public synchronized boolean equals(java.lang.Object obj) { 112 if (!(obj instanceof CMLRemoveChild)) return false; 113 CMLRemoveChild other = (CMLRemoveChild) obj; 114 if (obj == null) return false; 115 if (this == obj) return true; 116 if (__equalsCalc != null) { 117 return (__equalsCalc == obj); 118 } 119 __equalsCalc = obj; 120 boolean _equals; 121 _equals = true && 122 ((this.from==null && other.getFrom()==null) || 123 (this.from!=null && 124 this.from.equals(other.getFrom()))) && 125 ((this.from_id==null && other.getFrom_id()==null) || 126 (this.from_id!=null && 127 this.from_id.equals(other.getFrom_id()))) && 128 ((this.where==null && other.getWhere()==null) || 129 (this.where!=null && 130 this.where.equals(other.getWhere()))) && 131 ((this.where_id==null && other.getWhere_id()==null) || 132 (this.where_id!=null && 133 this.where_id.equals(other.getWhere_id()))); 134 __equalsCalc = null; 135 return _equals; 136 } 137 138 private boolean __hashCodeCalc = false; 139 public synchronized int hashCode() { 140 if (__hashCodeCalc) { 141 return 0; 142 } 143 __hashCodeCalc = true; 144 int _hashCode = 1; 145 if (getFrom() != null) { 146 _hashCode += getFrom().hashCode(); 147 } 148 if (getFrom_id() != null) { 149 _hashCode += getFrom_id().hashCode(); 150 } 151 if (getWhere() != null) { 152 _hashCode += getWhere().hashCode(); 153 } 154 if (getWhere_id() != null) { 155 _hashCode += getWhere_id().hashCode(); 156 } 157 __hashCodeCalc = false; 158 return _hashCode; 159 } 160 161 private static org.apache.axis.description.TypeDesc typeDesc = 163 new org.apache.axis.description.TypeDesc(CMLRemoveChild.class, true); 164 165 static { 166 typeDesc.setXmlType(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/cml/1.0", ">CML>removeChild")); 167 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); 168 elemField.setFieldName("from"); 169 elemField.setXmlName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/cml/1.0", "from")); 170 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Reference")); 171 elemField.setMinOccurs(0); 172 elemField.setNillable(false); 173 typeDesc.addFieldDesc(elemField); 174 elemField = new org.apache.axis.description.ElementDesc(); 175 elemField.setFieldName("from_id"); 176 elemField.setXmlName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/cml/1.0", "from_id")); 177 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.w3.org/2001/XMLSchema", "string")); 178 elemField.setMinOccurs(0); 179 elemField.setNillable(false); 180 typeDesc.addFieldDesc(elemField); 181 elemField = new org.apache.axis.description.ElementDesc(); 182 elemField.setFieldName("where"); 183 elemField.setXmlName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/cml/1.0", "where")); 184 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Predicate")); 185 elemField.setMinOccurs(0); 186 elemField.setNillable(false); 187 typeDesc.addFieldDesc(elemField); 188 elemField = new org.apache.axis.description.ElementDesc(); 189 elemField.setFieldName("where_id"); 190 elemField.setXmlName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/cml/1.0", "where_id")); 191 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.w3.org/2001/XMLSchema", "string")); 192 elemField.setMinOccurs(0); 193 elemField.setNillable(false); 194 typeDesc.addFieldDesc(elemField); 195 } 196 197 200 public static org.apache.axis.description.TypeDesc getTypeDesc() { 201 return typeDesc; 202 } 203 204 207 public static org.apache.axis.encoding.Serializer getSerializer( 208 java.lang.String mechType, 209 java.lang.Class _javaType, 210 javax.xml.namespace.QName _xmlType) { 211 return 212 new org.apache.axis.encoding.ser.BeanSerializer( 213 _javaType, _xmlType, typeDesc); 214 } 215 216 219 public static org.apache.axis.encoding.Deserializer getDeserializer( 220 java.lang.String mechType, 221 java.lang.Class _javaType, 222 javax.xml.namespace.QName _xmlType) { 223 return 224 new org.apache.axis.encoding.ser.BeanDeserializer( 225 _javaType, _xmlType, typeDesc); 226 } 227 228 } 229 | Popular Tags |