/**
* TInfoShop_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.shopconfig7.stub;
/**
* shop data required to identify an existing shop
*/
public class TInfoShop_Input implements java.io.Serializable {
/* unique shop name for the provider */
private java.lang.String alias;
/* list of requested attribute names.
* Only attributes of type String are supported. */
private java.lang.String[] attributes;
/* list of requested attributes (see epagestypes:ListOfAttributes) */
private java.lang.String[] languages;
public TInfoShop_Input() {
}
public TInfoShop_Input(
java.lang.String alias,
java.lang.String[] attributes,
java.lang.String[] languages) {
this.alias = alias;
this.attributes = attributes;
this.languages = languages;
}
/**
* Gets the alias value for this TInfoShop_Input.
*
* @return alias * unique shop name for the provider
*/
public java.lang.String getAlias() {
return alias;
}
/**
* Sets the alias value for this TInfoShop_Input.
*
* @param alias * unique shop name for the provider
*/
public void setAlias(java.lang.String alias) {
this.alias = alias;
}
/**
* Gets the attributes value for this TInfoShop_Input.
*
* @return attributes * list of requested attribute names.
* Only attributes of type String are supported.
*/
public java.lang.String[] getAttributes() {
return attributes;
}
/**
* Sets the attributes value for this TInfoShop_Input.
*
* @param attributes * list of requested attribute names.
* Only attributes of type String are supported.
*/
public void setAttributes(java.lang.String[] attributes) {
this.attributes = attributes;
}
/**
* Gets the languages value for this TInfoShop_Input.
*
* @return languages * list of requested attributes (see epagestypes:ListOfAttributes)
*/
public java.lang.String[] getLanguages() {
return languages;
}
/**
* Sets the languages value for this TInfoShop_Input.
*
* @param languages * list of requested attributes (see epagestypes:ListOfAttributes)
*/
public void setLanguages(java.lang.String[] languages) {
this.languages = languages;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof TInfoShop_Input)) return false;
TInfoShop_Input other = (TInfoShop_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.alias==null && other.getAlias()==null) ||
(this.alias!=null &&
this.alias.equals(other.getAlias()))) &&
((this.attributes==null && other.getAttributes()==null) ||
(this.attributes!=null &&
java.util.Arrays.equals(this.attributes, other.getAttributes()))) &&
((this.languages==null && other.getLanguages()==null) ||
(this.languages!=null &&
java.util.Arrays.equals(this.languages, other.getLanguages())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getAlias() != null) {
_hashCode += getAlias().hashCode();
}
if (getAttributes() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getAttributes());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getAttributes(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
if (getLanguages() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getLanguages());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getLanguages(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(TInfoShop_Input.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("urn://epages.de/WebService/ShopConfigService/2014/03", "TInfoShop_Input"));
org.apache.axis.description.ElementDesc 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.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("attributes");
elemField.setXmlName(new javax.xml.namespace.QName("", "Attributes"));
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("languages");
elemField.setXmlName(new javax.xml.namespace.QName("", "Languages"));
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);
}
}