1 7 8 package org.alfresco.repo.webservice.types; 9 10 public class CMLRemoveChild implements java.io.Serializable { 11 private org.alfresco.repo.webservice.types.Reference from; 12 13 private java.lang.String from_id; 14 15 private org.alfresco.repo.webservice.types.Predicate where; 16 17 private java.lang.String where_id; 18 19 public CMLRemoveChild() { 20 } 21 22 public CMLRemoveChild( 23 org.alfresco.repo.webservice.types.Reference from, 24 java.lang.String from_id, 25 org.alfresco.repo.webservice.types.Predicate where, 26 java.lang.String where_id) { 27 this.from = from; 28 this.from_id = from_id; 29 this.where = where; 30 this.where_id = where_id; 31 } 32 33 34 39 public org.alfresco.repo.webservice.types.Reference getFrom() { 40 return from; 41 } 42 43 44 49 public void setFrom(org.alfresco.repo.webservice.types.Reference from) { 50 this.from = from; 51 } 52 53 54 59 public java.lang.String getFrom_id() { 60 return from_id; 61 } 62 63 64 69 public void setFrom_id(java.lang.String from_id) { 70 this.from_id = from_id; 71 } 72 73 74 79 public org.alfresco.repo.webservice.types.Predicate getWhere() { 80 return where; 81 } 82 83 84 89 public void setWhere(org.alfresco.repo.webservice.types.Predicate where) { 90 this.where = where; 91 } 92 93 94 99 public java.lang.String getWhere_id() { 100 return where_id; 101 } 102 103 104 109 public void setWhere_id(java.lang.String where_id) { 110 this.where_id = where_id; 111 } 112 113 private java.lang.Object __equalsCalc = null; 114 public synchronized boolean equals(java.lang.Object obj) { 115 if (!(obj instanceof CMLRemoveChild)) return false; 116 CMLRemoveChild other = (CMLRemoveChild) obj; 117 if (obj == null) return false; 118 if (this == obj) return true; 119 if (__equalsCalc != null) { 120 return (__equalsCalc == obj); 121 } 122 __equalsCalc = obj; 123 boolean _equals; 124 _equals = true && 125 ((this.from==null && other.getFrom()==null) || 126 (this.from!=null && 127 this.from.equals(other.getFrom()))) && 128 ((this.from_id==null && other.getFrom_id()==null) || 129 (this.from_id!=null && 130 this.from_id.equals(other.getFrom_id()))) && 131 ((this.where==null && other.getWhere()==null) || 132 (this.where!=null && 133 this.where.equals(other.getWhere()))) && 134 ((this.where_id==null && other.getWhere_id()==null) || 135 (this.where_id!=null && 136 this.where_id.equals(other.getWhere_id()))); 137 __equalsCalc = null; 138 return _equals; 139 } 140 141 private boolean __hashCodeCalc = false; 142 public synchronized int hashCode() { 143 if (__hashCodeCalc) { 144 return 0; 145 } 146 __hashCodeCalc = true; 147 int _hashCode = 1; 148 if (getFrom() != null) { 149 _hashCode += getFrom().hashCode(); 150 } 151 if (getFrom_id() != null) { 152 _hashCode += getFrom_id().hashCode(); 153 } 154 if (getWhere() != null) { 155 _hashCode += getWhere().hashCode(); 156 } 157 if (getWhere_id() != null) { 158 _hashCode += getWhere_id().hashCode(); 159 } 160 __hashCodeCalc = false; 161 return _hashCode; 162 } 163 164 private static org.apache.axis.description.TypeDesc typeDesc = 166 new org.apache.axis.description.TypeDesc(CMLRemoveChild.class, true); 167 168 static { 169 typeDesc.setXmlType(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/cml/1.0", ">CML>removeChild")); 170 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); 171 elemField.setFieldName("from"); 172 elemField.setXmlName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/cml/1.0", "from")); 173 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Reference")); 174 elemField.setMinOccurs(0); 175 elemField.setNillable(false); 176 typeDesc.addFieldDesc(elemField); 177 elemField = new org.apache.axis.description.ElementDesc(); 178 elemField.setFieldName("from_id"); 179 elemField.setXmlName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/cml/1.0", "from_id")); 180 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.w3.org/2001/XMLSchema", "string")); 181 elemField.setMinOccurs(0); 182 elemField.setNillable(false); 183 typeDesc.addFieldDesc(elemField); 184 elemField = new org.apache.axis.description.ElementDesc(); 185 elemField.setFieldName("where"); 186 elemField.setXmlName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/cml/1.0", "where")); 187 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Predicate")); 188 elemField.setMinOccurs(0); 189 elemField.setNillable(false); 190 typeDesc.addFieldDesc(elemField); 191 elemField = new org.apache.axis.description.ElementDesc(); 192 elemField.setFieldName("where_id"); 193 elemField.setXmlName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/cml/1.0", "where_id")); 194 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.w3.org/2001/XMLSchema", "string")); 195 elemField.setMinOccurs(0); 196 elemField.setNillable(false); 197 typeDesc.addFieldDesc(elemField); 198 } 199 200 203 public static org.apache.axis.description.TypeDesc getTypeDesc() { 204 return typeDesc; 205 } 206 207 210 public static org.apache.axis.encoding.Serializer getSerializer( 211 java.lang.String mechType, 212 java.lang.Class _javaType, 213 javax.xml.namespace.QName _xmlType) { 214 return 215 new org.apache.axis.encoding.ser.BeanSerializer( 216 _javaType, _xmlType, typeDesc); 217 } 218 219 222 public static org.apache.axis.encoding.Deserializer getDeserializer( 223 java.lang.String mechType, 224 java.lang.Class _javaType, 225 javax.xml.namespace.QName _xmlType) { 226 return 227 new org.apache.axis.encoding.ser.BeanDeserializer( 228 _javaType, _xmlType, typeDesc); 229 } 230 231 } 232 | Popular Tags |