/**
* CharityInformation.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
*/
package is.idega.idegaweb.marathon.webservice.server;
public class CharityInformation implements java.io.Serializable {
private java.lang.String address;
private java.lang.String charityID;
private java.lang.String charityName;
private java.lang.String city;
private java.lang.String country;
private java.lang.String distance;
private java.lang.String email;
private java.lang.String gender;
private java.lang.String mobile;
private java.lang.String name;
private java.lang.String nationality;
private java.lang.String personalID;
private java.lang.String phone;
private java.lang.String postalCode;
public CharityInformation() {
}
public CharityInformation(
java.lang.String address,
java.lang.String charityID,
java.lang.String charityName,
java.lang.String city,
java.lang.String country,
java.lang.String distance,
java.lang.String email,
java.lang.String gender,
java.lang.String mobile,
java.lang.String name,
java.lang.String nationality,
java.lang.String personalID,
java.lang.String phone,
java.lang.String postalCode) {
this.address = address;
this.charityID = charityID;
this.charityName = charityName;
this.city = city;
this.country = country;
this.distance = distance;
this.email = email;
this.gender = gender;
this.mobile = mobile;
this.name = name;
this.nationality = nationality;
this.personalID = personalID;
this.phone = phone;
this.postalCode = postalCode;
}
/**
* Gets the address value for this CharityInformation.
*
* @return address
*/
public java.lang.String getAddress() {
return address;
}
/**
* Sets the address value for this CharityInformation.
*
* @param address
*/
public void setAddress(java.lang.String address) {
this.address = address;
}
/**
* Gets the charityID value for this CharityInformation.
*
* @return charityID
*/
public java.lang.String getCharityID() {
return charityID;
}
/**
* Sets the charityID value for this CharityInformation.
*
* @param charityID
*/
public void setCharityID(java.lang.String charityID) {
this.charityID = charityID;
}
/**
* Gets the charityName value for this CharityInformation.
*
* @return charityName
*/
public java.lang.String getCharityName() {
return charityName;
}
/**
* Sets the charityName value for this CharityInformation.
*
* @param charityName
*/
public void setCharityName(java.lang.String charityName) {
this.charityName = charityName;
}
/**
* Gets the city value for this CharityInformation.
*
* @return city
*/
public java.lang.String getCity() {
return city;
}
/**
* Sets the city value for this CharityInformation.
*
* @param city
*/
public void setCity(java.lang.String city) {
this.city = city;
}
/**
* Gets the country value for this CharityInformation.
*
* @return country
*/
public java.lang.String getCountry() {
return country;
}
/**
* Sets the country value for this CharityInformation.
*
* @param country
*/
public void setCountry(java.lang.String country) {
this.country = country;
}
/**
* Gets the distance value for this CharityInformation.
*
* @return distance
*/
public java.lang.String getDistance() {
return distance;
}
/**
* Sets the distance value for this CharityInformation.
*
* @param distance
*/
public void setDistance(java.lang.String distance) {
this.distance = distance;
}
/**
* Gets the email value for this CharityInformation.
*
* @return email
*/
public java.lang.String getEmail() {
return email;
}
/**
* Sets the email value for this CharityInformation.
*
* @param email
*/
public void setEmail(java.lang.String email) {
this.email = email;
}
/**
* Gets the gender value for this CharityInformation.
*
* @return gender
*/
public java.lang.String getGender() {
return gender;
}
/**
* Sets the gender value for this CharityInformation.
*
* @param gender
*/
public void setGender(java.lang.String gender) {
this.gender = gender;
}
/**
* Gets the mobile value for this CharityInformation.
*
* @return mobile
*/
public java.lang.String getMobile() {
return mobile;
}
/**
* Sets the mobile value for this CharityInformation.
*
* @param mobile
*/
public void setMobile(java.lang.String mobile) {
this.mobile = mobile;
}
/**
* Gets the name value for this CharityInformation.
*
* @return name
*/
public java.lang.String getName() {
return name;
}
/**
* Sets the name value for this CharityInformation.
*
* @param name
*/
public void setName(java.lang.String name) {
this.name = name;
}
/**
* Gets the nationality value for this CharityInformation.
*
* @return nationality
*/
public java.lang.String getNationality() {
return nationality;
}
/**
* Sets the nationality value for this CharityInformation.
*
* @param nationality
*/
public void setNationality(java.lang.String nationality) {
this.nationality = nationality;
}
/**
* Gets the personalID value for this CharityInformation.
*
* @return personalID
*/
public java.lang.String getPersonalID() {
return personalID;
}
/**
* Sets the personalID value for this CharityInformation.
*
* @param personalID
*/
public void setPersonalID(java.lang.String personalID) {
this.personalID = personalID;
}
/**
* Gets the phone value for this CharityInformation.
*
* @return phone
*/
public java.lang.String getPhone() {
return phone;
}
/**
* Sets the phone value for this CharityInformation.
*
* @param phone
*/
public void setPhone(java.lang.String phone) {
this.phone = phone;
}
/**
* Gets the postalCode value for this CharityInformation.
*
* @return postalCode
*/
public java.lang.String getPostalCode() {
return postalCode;
}
/**
* Sets the postalCode value for this CharityInformation.
*
* @param postalCode
*/
public void setPostalCode(java.lang.String postalCode) {
this.postalCode = postalCode;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof CharityInformation)) return false;
CharityInformation other = (CharityInformation) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.address==null && other.getAddress()==null) ||
(this.address!=null &&
this.address.equals(other.getAddress()))) &&
((this.charityID==null && other.getCharityID()==null) ||
(this.charityID!=null &&
this.charityID.equals(other.getCharityID()))) &&
((this.charityName==null && other.getCharityName()==null) ||
(this.charityName!=null &&
this.charityName.equals(other.getCharityName()))) &&
((this.city==null && other.getCity()==null) ||
(this.city!=null &&
this.city.equals(other.getCity()))) &&
((this.country==null && other.getCountry()==null) ||
(this.country!=null &&
this.country.equals(other.getCountry()))) &&
((this.distance==null && other.getDistance()==null) ||
(this.distance!=null &&
this.distance.equals(other.getDistance()))) &&
((this.email==null && other.getEmail()==null) ||
(this.email!=null &&
this.email.equals(other.getEmail()))) &&
((this.gender==null && other.getGender()==null) ||
(this.gender!=null &&
this.gender.equals(other.getGender()))) &&
((this.mobile==null && other.getMobile()==null) ||
(this.mobile!=null &&
this.mobile.equals(other.getMobile()))) &&
((this.name==null && other.getName()==null) ||
(this.name!=null &&
this.name.equals(other.getName()))) &&
((this.nationality==null && other.getNationality()==null) ||
(this.nationality!=null &&
this.nationality.equals(other.getNationality()))) &&
((this.personalID==null && other.getPersonalID()==null) ||
(this.personalID!=null &&
this.personalID.equals(other.getPersonalID()))) &&
((this.phone==null && other.getPhone()==null) ||
(this.phone!=null &&
this.phone.equals(other.getPhone()))) &&
((this.postalCode==null && other.getPostalCode()==null) ||
(this.postalCode!=null &&
this.postalCode.equals(other.getPostalCode())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getAddress() != null) {
_hashCode += getAddress().hashCode();
}
if (getCharityID() != null) {
_hashCode += getCharityID().hashCode();
}
if (getCharityName() != null) {
_hashCode += getCharityName().hashCode();
}
if (getCity() != null) {
_hashCode += getCity().hashCode();
}
if (getCountry() != null) {
_hashCode += getCountry().hashCode();
}
if (getDistance() != null) {
_hashCode += getDistance().hashCode();
}
if (getEmail() != null) {
_hashCode += getEmail().hashCode();
}
if (getGender() != null) {
_hashCode += getGender().hashCode();
}
if (getMobile() != null) {
_hashCode += getMobile().hashCode();
}
if (getName() != null) {
_hashCode += getName().hashCode();
}
if (getNationality() != null) {
_hashCode += getNationality().hashCode();
}
if (getPersonalID() != null) {
_hashCode += getPersonalID().hashCode();
}
if (getPhone() != null) {
_hashCode += getPhone().hashCode();
}
if (getPostalCode() != null) {
_hashCode += getPostalCode().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(CharityInformation.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://illuminati.is", "CharityInformation"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("address");
elemField.setXmlName(new javax.xml.namespace.QName("", "address"));
elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("charityID");
elemField.setXmlName(new javax.xml.namespace.QName("", "charityID"));
elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("charityName");
elemField.setXmlName(new javax.xml.namespace.QName("", "charityName"));
elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("city");
elemField.setXmlName(new javax.xml.namespace.QName("", "city"));
elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("country");
elemField.setXmlName(new javax.xml.namespace.QName("", "country"));
elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("distance");
elemField.setXmlName(new javax.xml.namespace.QName("", "distance"));
elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("email");
elemField.setXmlName(new javax.xml.namespace.QName("", "email"));
elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("gender");
elemField.setXmlName(new javax.xml.namespace.QName("", "gender"));
elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("mobile");
elemField.setXmlName(new javax.xml.namespace.QName("", "mobile"));
elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("name");
elemField.setXmlName(new javax.xml.namespace.QName("", "name"));
elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("nationality");
elemField.setXmlName(new javax.xml.namespace.QName("", "nationality"));
elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("personalID");
elemField.setXmlName(new javax.xml.namespace.QName("", "personalID"));
elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("phone");
elemField.setXmlName(new javax.xml.namespace.QName("", "phone"));
elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("postalCode");
elemField.setXmlName(new javax.xml.namespace.QName("", "postalCode"));
elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
elemField.setNillable(true);
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);
}
}