1 7 8 package org.alfresco.repo.webservice.types; 9 10 public class CMLRemoveAspect implements java.io.Serializable { 11 private java.lang.String aspect; 12 13 private org.alfresco.repo.webservice.types.Predicate where; 14 15 private java.lang.String where_id; 16 17 public CMLRemoveAspect() { 18 } 19 20 public CMLRemoveAspect( 21 java.lang.String aspect, 22 org.alfresco.repo.webservice.types.Predicate where, 23 java.lang.String where_id) { 24 this.aspect = aspect; 25 this.where = where; 26 this.where_id = where_id; 27 } 28 29 30 35 public java.lang.String getAspect() { 36 return aspect; 37 } 38 39 40 45 public void setAspect(java.lang.String aspect) { 46 this.aspect = aspect; 47 } 48 49 50 55 public org.alfresco.repo.webservice.types.Predicate getWhere() { 56 return where; 57 } 58 59 60 65 public void setWhere(org.alfresco.repo.webservice.types.Predicate where) { 66 this.where = where; 67 } 68 69 70 75 public java.lang.String getWhere_id() { 76 return where_id; 77 } 78 79 80 85 public void setWhere_id(java.lang.String where_id) { 86 this.where_id = where_id; 87 } 88 89 private java.lang.Object __equalsCalc = null; 90 public synchronized boolean equals(java.lang.Object obj) { 91 if (!(obj instanceof CMLRemoveAspect)) return false; 92 CMLRemoveAspect other = (CMLRemoveAspect) obj; 93 if (obj == null) return false; 94 if (this == obj) return true; 95 if (__equalsCalc != null) { 96 return (__equalsCalc == obj); 97 } 98 __equalsCalc = obj; 99 boolean _equals; 100 _equals = true && 101 ((this.aspect==null && other.getAspect()==null) || 102 (this.aspect!=null && 103 this.aspect.equals(other.getAspect()))) && 104 ((this.where==null && other.getWhere()==null) || 105 (this.where!=null && 106 this.where.equals(other.getWhere()))) && 107 ((this.where_id==null && other.getWhere_id()==null) || 108 (this.where_id!=null && 109 this.where_id.equals(other.getWhere_id()))); 110 __equalsCalc = null; 111 return _equals; 112 } 113 114 private boolean __hashCodeCalc = false; 115 public synchronized int hashCode() { 116 if (__hashCodeCalc) { 117 return 0; 118 } 119 __hashCodeCalc = true; 120 int _hashCode = 1; 121 if (getAspect() != null) { 122 _hashCode += getAspect().hashCode(); 123 } 124 if (getWhere() != null) { 125 _hashCode += getWhere().hashCode(); 126 } 127 if (getWhere_id() != null) { 128 _hashCode += getWhere_id().hashCode(); 129 } 130 __hashCodeCalc = false; 131 return _hashCode; 132 } 133 134 private static org.apache.axis.description.TypeDesc typeDesc = 136 new org.apache.axis.description.TypeDesc(CMLRemoveAspect.class, true); 137 138 static { 139 typeDesc.setXmlType(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/cml/1.0", ">CML>removeAspect")); 140 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); 141 elemField.setFieldName("aspect"); 142 elemField.setXmlName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/cml/1.0", "aspect")); 143 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.w3.org/2001/XMLSchema", "string")); 144 elemField.setNillable(false); 145 typeDesc.addFieldDesc(elemField); 146 elemField = new org.apache.axis.description.ElementDesc(); 147 elemField.setFieldName("where"); 148 elemField.setXmlName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/cml/1.0", "where")); 149 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Predicate")); 150 elemField.setMinOccurs(0); 151 elemField.setNillable(false); 152 typeDesc.addFieldDesc(elemField); 153 elemField = new org.apache.axis.description.ElementDesc(); 154 elemField.setFieldName("where_id"); 155 elemField.setXmlName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/cml/1.0", "where_id")); 156 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.w3.org/2001/XMLSchema", "string")); 157 elemField.setMinOccurs(0); 158 elemField.setNillable(false); 159 typeDesc.addFieldDesc(elemField); 160 } 161 162 165 public static org.apache.axis.description.TypeDesc getTypeDesc() { 166 return typeDesc; 167 } 168 169 172 public static org.apache.axis.encoding.Serializer getSerializer( 173 java.lang.String mechType, 174 java.lang.Class _javaType, 175 javax.xml.namespace.QName _xmlType) { 176 return 177 new org.apache.axis.encoding.ser.BeanSerializer( 178 _javaType, _xmlType, typeDesc); 179 } 180 181 184 public static org.apache.axis.encoding.Deserializer getDeserializer( 185 java.lang.String mechType, 186 java.lang.Class _javaType, 187 javax.xml.namespace.QName _xmlType) { 188 return 189 new org.apache.axis.encoding.ser.BeanDeserializer( 190 _javaType, _xmlType, typeDesc); 191 } 192 193 } 194 | Popular Tags |