/** * TExists_Input.java * * This file was auto-generated from WSDL * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. */ package de.epages.ws.productbundle.model; /** * input value of a exist() call. */ public class TExists_Input implements java.io.Serializable { /* product object path */ private java.lang.String product; /* bundled product object path */ private java.lang.String bundledProduct; public TExists_Input() { } public TExists_Input( java.lang.String product, java.lang.String bundledProduct) { this.product = product; this.bundledProduct = bundledProduct; } /** * Gets the product value for this TExists_Input. * * @return product * product object path */ public java.lang.String getProduct() { return product; } /** * Sets the product value for this TExists_Input. * * @param product * product object path */ public void setProduct(java.lang.String product) { this.product = product; } /** * Gets the bundledProduct value for this TExists_Input. * * @return bundledProduct * bundled product object path */ public java.lang.String getBundledProduct() { return bundledProduct; } /** * Sets the bundledProduct value for this TExists_Input. * * @param bundledProduct * bundled product object path */ public void setBundledProduct(java.lang.String bundledProduct) { this.bundledProduct = bundledProduct; } private java.lang.Object __equalsCalc = null; public synchronized boolean equals(java.lang.Object obj) { if (!(obj instanceof TExists_Input)) return false; TExists_Input other = (TExists_Input) obj; if (obj == null) return false; if (this == obj) return true; if (__equalsCalc != null) { return (__equalsCalc == obj); } __equalsCalc = obj; boolean _equals; _equals = true && ((this.product==null && other.getProduct()==null) || (this.product!=null && this.product.equals(other.getProduct()))) && ((this.bundledProduct==null && other.getBundledProduct()==null) || (this.bundledProduct!=null && this.bundledProduct.equals(other.getBundledProduct()))); __equalsCalc = null; return _equals; } private boolean __hashCodeCalc = false; public synchronized int hashCode() { if (__hashCodeCalc) { return 0; } __hashCodeCalc = true; int _hashCode = 1; if (getProduct() != null) { _hashCode += getProduct().hashCode(); } if (getBundledProduct() != null) { _hashCode += getBundledProduct().hashCode(); } __hashCodeCalc = false; return _hashCode; } // Type metadata private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(TExists_Input.class, true); static { typeDesc.setXmlType(new javax.xml.namespace.QName("urn://epages.de/WebService/ProductBundleTypes/2007/07", "TExists_Input")); org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("product"); elemField.setXmlName(new javax.xml.namespace.QName("", "Product")); elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); elemField.setNillable(false); typeDesc.addFieldDesc(elemField); elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("bundledProduct"); elemField.setXmlName(new javax.xml.namespace.QName("", "BundledProduct")); elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); elemField.setNillable(false); typeDesc.addFieldDesc(elemField); } /** * Return type metadata object */ public static org.apache.axis.description.TypeDesc getTypeDesc() { return typeDesc; } /** * Get Custom Serializer */ public static org.apache.axis.encoding.Serializer getSerializer( java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) { return new org.apache.axis.encoding.ser.BeanSerializer( _javaType, _xmlType, typeDesc); } /** * Get Custom Deserializer */ public static org.apache.axis.encoding.Deserializer getDeserializer( java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) { return new org.apache.axis.encoding.ser.BeanDeserializer( _javaType, _xmlType, typeDesc); } }