com.allegro.webapi.PharmacyDataStruct Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of allegro-webapi Show documentation
Show all versions of allegro-webapi Show documentation
Allegro Web API WSDL converted to Java
/**
* PharmacyDataStruct.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
*/
package com.allegro.webapi;
public class PharmacyDataStruct implements java.io.Serializable {
private java.lang.String pharmacyOpeningDate;
private java.lang.String pharmacyExpirationDate;
private java.lang.String pharmacyName;
private java.lang.String pharmacyPharmacistFullName;
private java.lang.String pharmacyAddress;
private java.lang.String pharmacyPostcode;
private java.lang.String pharmacyCity;
private java.lang.String pharmacyCommune;
private int pharmacyCountryId;
private int pharmacyStateId;
private java.lang.String pharmacyPermitNumber;
private java.lang.String pharmacyPermitInfo;
public PharmacyDataStruct() {
}
public PharmacyDataStruct(
java.lang.String pharmacyOpeningDate,
java.lang.String pharmacyExpirationDate,
java.lang.String pharmacyName,
java.lang.String pharmacyPharmacistFullName,
java.lang.String pharmacyAddress,
java.lang.String pharmacyPostcode,
java.lang.String pharmacyCity,
java.lang.String pharmacyCommune,
int pharmacyCountryId,
int pharmacyStateId,
java.lang.String pharmacyPermitNumber,
java.lang.String pharmacyPermitInfo) {
this.pharmacyOpeningDate = pharmacyOpeningDate;
this.pharmacyExpirationDate = pharmacyExpirationDate;
this.pharmacyName = pharmacyName;
this.pharmacyPharmacistFullName = pharmacyPharmacistFullName;
this.pharmacyAddress = pharmacyAddress;
this.pharmacyPostcode = pharmacyPostcode;
this.pharmacyCity = pharmacyCity;
this.pharmacyCommune = pharmacyCommune;
this.pharmacyCountryId = pharmacyCountryId;
this.pharmacyStateId = pharmacyStateId;
this.pharmacyPermitNumber = pharmacyPermitNumber;
this.pharmacyPermitInfo = pharmacyPermitInfo;
}
/**
* Gets the pharmacyOpeningDate value for this PharmacyDataStruct.
*
* @return pharmacyOpeningDate
*/
public java.lang.String getPharmacyOpeningDate() {
return pharmacyOpeningDate;
}
/**
* Sets the pharmacyOpeningDate value for this PharmacyDataStruct.
*
* @param pharmacyOpeningDate
*/
public void setPharmacyOpeningDate(java.lang.String pharmacyOpeningDate) {
this.pharmacyOpeningDate = pharmacyOpeningDate;
}
/**
* Gets the pharmacyExpirationDate value for this PharmacyDataStruct.
*
* @return pharmacyExpirationDate
*/
public java.lang.String getPharmacyExpirationDate() {
return pharmacyExpirationDate;
}
/**
* Sets the pharmacyExpirationDate value for this PharmacyDataStruct.
*
* @param pharmacyExpirationDate
*/
public void setPharmacyExpirationDate(java.lang.String pharmacyExpirationDate) {
this.pharmacyExpirationDate = pharmacyExpirationDate;
}
/**
* Gets the pharmacyName value for this PharmacyDataStruct.
*
* @return pharmacyName
*/
public java.lang.String getPharmacyName() {
return pharmacyName;
}
/**
* Sets the pharmacyName value for this PharmacyDataStruct.
*
* @param pharmacyName
*/
public void setPharmacyName(java.lang.String pharmacyName) {
this.pharmacyName = pharmacyName;
}
/**
* Gets the pharmacyPharmacistFullName value for this PharmacyDataStruct.
*
* @return pharmacyPharmacistFullName
*/
public java.lang.String getPharmacyPharmacistFullName() {
return pharmacyPharmacistFullName;
}
/**
* Sets the pharmacyPharmacistFullName value for this PharmacyDataStruct.
*
* @param pharmacyPharmacistFullName
*/
public void setPharmacyPharmacistFullName(java.lang.String pharmacyPharmacistFullName) {
this.pharmacyPharmacistFullName = pharmacyPharmacistFullName;
}
/**
* Gets the pharmacyAddress value for this PharmacyDataStruct.
*
* @return pharmacyAddress
*/
public java.lang.String getPharmacyAddress() {
return pharmacyAddress;
}
/**
* Sets the pharmacyAddress value for this PharmacyDataStruct.
*
* @param pharmacyAddress
*/
public void setPharmacyAddress(java.lang.String pharmacyAddress) {
this.pharmacyAddress = pharmacyAddress;
}
/**
* Gets the pharmacyPostcode value for this PharmacyDataStruct.
*
* @return pharmacyPostcode
*/
public java.lang.String getPharmacyPostcode() {
return pharmacyPostcode;
}
/**
* Sets the pharmacyPostcode value for this PharmacyDataStruct.
*
* @param pharmacyPostcode
*/
public void setPharmacyPostcode(java.lang.String pharmacyPostcode) {
this.pharmacyPostcode = pharmacyPostcode;
}
/**
* Gets the pharmacyCity value for this PharmacyDataStruct.
*
* @return pharmacyCity
*/
public java.lang.String getPharmacyCity() {
return pharmacyCity;
}
/**
* Sets the pharmacyCity value for this PharmacyDataStruct.
*
* @param pharmacyCity
*/
public void setPharmacyCity(java.lang.String pharmacyCity) {
this.pharmacyCity = pharmacyCity;
}
/**
* Gets the pharmacyCommune value for this PharmacyDataStruct.
*
* @return pharmacyCommune
*/
public java.lang.String getPharmacyCommune() {
return pharmacyCommune;
}
/**
* Sets the pharmacyCommune value for this PharmacyDataStruct.
*
* @param pharmacyCommune
*/
public void setPharmacyCommune(java.lang.String pharmacyCommune) {
this.pharmacyCommune = pharmacyCommune;
}
/**
* Gets the pharmacyCountryId value for this PharmacyDataStruct.
*
* @return pharmacyCountryId
*/
public int getPharmacyCountryId() {
return pharmacyCountryId;
}
/**
* Sets the pharmacyCountryId value for this PharmacyDataStruct.
*
* @param pharmacyCountryId
*/
public void setPharmacyCountryId(int pharmacyCountryId) {
this.pharmacyCountryId = pharmacyCountryId;
}
/**
* Gets the pharmacyStateId value for this PharmacyDataStruct.
*
* @return pharmacyStateId
*/
public int getPharmacyStateId() {
return pharmacyStateId;
}
/**
* Sets the pharmacyStateId value for this PharmacyDataStruct.
*
* @param pharmacyStateId
*/
public void setPharmacyStateId(int pharmacyStateId) {
this.pharmacyStateId = pharmacyStateId;
}
/**
* Gets the pharmacyPermitNumber value for this PharmacyDataStruct.
*
* @return pharmacyPermitNumber
*/
public java.lang.String getPharmacyPermitNumber() {
return pharmacyPermitNumber;
}
/**
* Sets the pharmacyPermitNumber value for this PharmacyDataStruct.
*
* @param pharmacyPermitNumber
*/
public void setPharmacyPermitNumber(java.lang.String pharmacyPermitNumber) {
this.pharmacyPermitNumber = pharmacyPermitNumber;
}
/**
* Gets the pharmacyPermitInfo value for this PharmacyDataStruct.
*
* @return pharmacyPermitInfo
*/
public java.lang.String getPharmacyPermitInfo() {
return pharmacyPermitInfo;
}
/**
* Sets the pharmacyPermitInfo value for this PharmacyDataStruct.
*
* @param pharmacyPermitInfo
*/
public void setPharmacyPermitInfo(java.lang.String pharmacyPermitInfo) {
this.pharmacyPermitInfo = pharmacyPermitInfo;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof PharmacyDataStruct)) return false;
PharmacyDataStruct other = (PharmacyDataStruct) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.pharmacyOpeningDate==null && other.getPharmacyOpeningDate()==null) ||
(this.pharmacyOpeningDate!=null &&
this.pharmacyOpeningDate.equals(other.getPharmacyOpeningDate()))) &&
((this.pharmacyExpirationDate==null && other.getPharmacyExpirationDate()==null) ||
(this.pharmacyExpirationDate!=null &&
this.pharmacyExpirationDate.equals(other.getPharmacyExpirationDate()))) &&
((this.pharmacyName==null && other.getPharmacyName()==null) ||
(this.pharmacyName!=null &&
this.pharmacyName.equals(other.getPharmacyName()))) &&
((this.pharmacyPharmacistFullName==null && other.getPharmacyPharmacistFullName()==null) ||
(this.pharmacyPharmacistFullName!=null &&
this.pharmacyPharmacistFullName.equals(other.getPharmacyPharmacistFullName()))) &&
((this.pharmacyAddress==null && other.getPharmacyAddress()==null) ||
(this.pharmacyAddress!=null &&
this.pharmacyAddress.equals(other.getPharmacyAddress()))) &&
((this.pharmacyPostcode==null && other.getPharmacyPostcode()==null) ||
(this.pharmacyPostcode!=null &&
this.pharmacyPostcode.equals(other.getPharmacyPostcode()))) &&
((this.pharmacyCity==null && other.getPharmacyCity()==null) ||
(this.pharmacyCity!=null &&
this.pharmacyCity.equals(other.getPharmacyCity()))) &&
((this.pharmacyCommune==null && other.getPharmacyCommune()==null) ||
(this.pharmacyCommune!=null &&
this.pharmacyCommune.equals(other.getPharmacyCommune()))) &&
this.pharmacyCountryId == other.getPharmacyCountryId() &&
this.pharmacyStateId == other.getPharmacyStateId() &&
((this.pharmacyPermitNumber==null && other.getPharmacyPermitNumber()==null) ||
(this.pharmacyPermitNumber!=null &&
this.pharmacyPermitNumber.equals(other.getPharmacyPermitNumber()))) &&
((this.pharmacyPermitInfo==null && other.getPharmacyPermitInfo()==null) ||
(this.pharmacyPermitInfo!=null &&
this.pharmacyPermitInfo.equals(other.getPharmacyPermitInfo())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getPharmacyOpeningDate() != null) {
_hashCode += getPharmacyOpeningDate().hashCode();
}
if (getPharmacyExpirationDate() != null) {
_hashCode += getPharmacyExpirationDate().hashCode();
}
if (getPharmacyName() != null) {
_hashCode += getPharmacyName().hashCode();
}
if (getPharmacyPharmacistFullName() != null) {
_hashCode += getPharmacyPharmacistFullName().hashCode();
}
if (getPharmacyAddress() != null) {
_hashCode += getPharmacyAddress().hashCode();
}
if (getPharmacyPostcode() != null) {
_hashCode += getPharmacyPostcode().hashCode();
}
if (getPharmacyCity() != null) {
_hashCode += getPharmacyCity().hashCode();
}
if (getPharmacyCommune() != null) {
_hashCode += getPharmacyCommune().hashCode();
}
_hashCode += getPharmacyCountryId();
_hashCode += getPharmacyStateId();
if (getPharmacyPermitNumber() != null) {
_hashCode += getPharmacyPermitNumber().hashCode();
}
if (getPharmacyPermitInfo() != null) {
_hashCode += getPharmacyPermitInfo().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(PharmacyDataStruct.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "PharmacyDataStruct"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("pharmacyOpeningDate");
elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "pharmacyOpeningDate"));
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("pharmacyExpirationDate");
elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "pharmacyExpirationDate"));
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("pharmacyName");
elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "pharmacyName"));
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("pharmacyPharmacistFullName");
elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "pharmacyPharmacistFullName"));
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("pharmacyAddress");
elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "pharmacyAddress"));
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("pharmacyPostcode");
elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "pharmacyPostcode"));
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("pharmacyCity");
elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "pharmacyCity"));
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("pharmacyCommune");
elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "pharmacyCommune"));
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("pharmacyCountryId");
elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "pharmacyCountryId"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("pharmacyStateId");
elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "pharmacyStateId"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("pharmacyPermitNumber");
elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "pharmacyPermitNumber"));
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("pharmacyPermitInfo");
elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "pharmacyPermitInfo"));
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);
}
}