/** * TFind_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.product8.stub; /** * input structure of an find() product call. * a set of optional search parameters. */ public class TFind_Input implements java.io.Serializable { /* search for part of product name, description, etc. */ private java.lang.String text; /* search in this language (e.g. 'en') */ private java.lang.String languageCode; /* search for a product alias */ private java.lang.String alias; /* search for products with this class (a object path to a class) */ private java.lang.String _class; public TFind_Input() { } public TFind_Input( java.lang.String text, java.lang.String languageCode, java.lang.String alias, java.lang.String _class) { this.text = text; this.languageCode = languageCode; this.alias = alias; this._class = _class; } /** * Gets the text value for this TFind_Input. * * @return text * search for part of product name, description, etc. */ public java.lang.String getText() { return text; } /** * Sets the text value for this TFind_Input. * * @param text * search for part of product name, description, etc. */ public void setText(java.lang.String text) { this.text = text; } /** * Gets the languageCode value for this TFind_Input. * * @return languageCode * search in this language (e.g. 'en') */ public java.lang.String getLanguageCode() { return languageCode; } /** * Sets the languageCode value for this TFind_Input. * * @param languageCode * search in this language (e.g. 'en') */ public void setLanguageCode(java.lang.String languageCode) { this.languageCode = languageCode; } /** * Gets the alias value for this TFind_Input. * * @return alias * search for a product alias */ public java.lang.String getAlias() { return alias; } /** * Sets the alias value for this TFind_Input. * * @param alias * search for a product alias */ public void setAlias(java.lang.String alias) { this.alias = alias; } /** * Gets the _class value for this TFind_Input. * * @return _class * search for products with this class (a object path to a class) */ public java.lang.String get_class() { return _class; } /** * Sets the _class value for this TFind_Input. * * @param _class * search for products with this class (a object path to a class) */ public void set_class(java.lang.String _class) { this._class = _class; } private java.lang.Object __equalsCalc = null; public synchronized boolean equals(java.lang.Object obj) { if (!(obj instanceof TFind_Input)) return false; TFind_Input other = (TFind_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.text==null && other.getText()==null) || (this.text!=null && this.text.equals(other.getText()))) && ((this.languageCode==null && other.getLanguageCode()==null) || (this.languageCode!=null && this.languageCode.equals(other.getLanguageCode()))) && ((this.alias==null && other.getAlias()==null) || (this.alias!=null && this.alias.equals(other.getAlias()))) && ((this._class==null && other.get_class()==null) || (this._class!=null && this._class.equals(other.get_class()))); __equalsCalc = null; return _equals; } private boolean __hashCodeCalc = false; public synchronized int hashCode() { if (__hashCodeCalc) { return 0; } __hashCodeCalc = true; int _hashCode = 1; if (getText() != null) { _hashCode += getText().hashCode(); } if (getLanguageCode() != null) { _hashCode += getLanguageCode().hashCode(); } if (getAlias() != null) { _hashCode += getAlias().hashCode(); } if (get_class() != null) { _hashCode += get_class().hashCode(); } __hashCodeCalc = false; return _hashCode; } // Type metadata private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(TFind_Input.class, true); static { typeDesc.setXmlType(new javax.xml.namespace.QName("urn://epages.de/WebService/ProductService/2011/03", "TFind_Input")); org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("text"); elemField.setXmlName(new javax.xml.namespace.QName("", "Text")); elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); elemField.setMinOccurs(0); elemField.setNillable(false); typeDesc.addFieldDesc(elemField); elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("languageCode"); elemField.setXmlName(new javax.xml.namespace.QName("", "LanguageCode")); elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); elemField.setMinOccurs(0); elemField.setNillable(false); typeDesc.addFieldDesc(elemField); elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("alias"); elemField.setXmlName(new javax.xml.namespace.QName("", "Alias")); elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); elemField.setMinOccurs(0); elemField.setNillable(false); typeDesc.addFieldDesc(elemField); elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("_class"); elemField.setXmlName(new javax.xml.namespace.QName("", "Class")); elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); elemField.setMinOccurs(0); 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); } }