/** * GoogleAccountInfo.java * * This file was auto-generated from WSDL * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. */ package pt.iscte.google.apps; public class GoogleAccountInfo implements java.io.Serializable { private java.lang.String firstName; private java.lang.Boolean gmailBlocked; private java.lang.String lastName; private java.lang.String mainAlias; private java.lang.String password; private java.lang.String username; public GoogleAccountInfo() { } public GoogleAccountInfo( java.lang.String firstName, java.lang.Boolean gmailBlocked, java.lang.String lastName, java.lang.String mainAlias, java.lang.String password, java.lang.String username) { this.firstName = firstName; this.gmailBlocked = gmailBlocked; this.lastName = lastName; this.mainAlias = mainAlias; this.password = password; this.username = username; } /** * Gets the firstName value for this GoogleAccountInfo. * * @return firstName */ public java.lang.String getFirstName() { return firstName; } /** * Sets the firstName value for this GoogleAccountInfo. * * @param firstName */ public void setFirstName(java.lang.String firstName) { this.firstName = firstName; } /** * Gets the gmailBlocked value for this GoogleAccountInfo. * * @return gmailBlocked */ public java.lang.Boolean getGmailBlocked() { return gmailBlocked; } /** * Sets the gmailBlocked value for this GoogleAccountInfo. * * @param gmailBlocked */ public void setGmailBlocked(java.lang.Boolean gmailBlocked) { this.gmailBlocked = gmailBlocked; } /** * Gets the lastName value for this GoogleAccountInfo. * * @return lastName */ public java.lang.String getLastName() { return lastName; } /** * Sets the lastName value for this GoogleAccountInfo. * * @param lastName */ public void setLastName(java.lang.String lastName) { this.lastName = lastName; } /** * Gets the mainAlias value for this GoogleAccountInfo. * * @return mainAlias */ public java.lang.String getMainAlias() { return mainAlias; } /** * Sets the mainAlias value for this GoogleAccountInfo. * * @param mainAlias */ public void setMainAlias(java.lang.String mainAlias) { this.mainAlias = mainAlias; } /** * Gets the password value for this GoogleAccountInfo. * * @return password */ public java.lang.String getPassword() { return password; } /** * Sets the password value for this GoogleAccountInfo. * * @param password */ public void setPassword(java.lang.String password) { this.password = password; } /** * Gets the username value for this GoogleAccountInfo. * * @return username */ public java.lang.String getUsername() { return username; } /** * Sets the username value for this GoogleAccountInfo. * * @param username */ public void setUsername(java.lang.String username) { this.username = username; } private java.lang.Object __equalsCalc = null; public synchronized boolean equals(java.lang.Object obj) { if (!(obj instanceof GoogleAccountInfo)) return false; GoogleAccountInfo other = (GoogleAccountInfo) obj; if (obj == null) return false; if (this == obj) return true; if (__equalsCalc != null) { return (__equalsCalc == obj); } __equalsCalc = obj; boolean _equals; _equals = true && ((this.firstName==null && other.getFirstName()==null) || (this.firstName!=null && this.firstName.equals(other.getFirstName()))) && ((this.gmailBlocked==null && other.getGmailBlocked()==null) || (this.gmailBlocked!=null && this.gmailBlocked.equals(other.getGmailBlocked()))) && ((this.lastName==null && other.getLastName()==null) || (this.lastName!=null && this.lastName.equals(other.getLastName()))) && ((this.mainAlias==null && other.getMainAlias()==null) || (this.mainAlias!=null && this.mainAlias.equals(other.getMainAlias()))) && ((this.password==null && other.getPassword()==null) || (this.password!=null && this.password.equals(other.getPassword()))) && ((this.username==null && other.getUsername()==null) || (this.username!=null && this.username.equals(other.getUsername()))); __equalsCalc = null; return _equals; } private boolean __hashCodeCalc = false; public synchronized int hashCode() { if (__hashCodeCalc) { return 0; } __hashCodeCalc = true; int _hashCode = 1; if (getFirstName() != null) { _hashCode += getFirstName().hashCode(); } if (getGmailBlocked() != null) { _hashCode += getGmailBlocked().hashCode(); } if (getLastName() != null) { _hashCode += getLastName().hashCode(); } if (getMainAlias() != null) { _hashCode += getMainAlias().hashCode(); } if (getPassword() != null) { _hashCode += getPassword().hashCode(); } if (getUsername() != null) { _hashCode += getUsername().hashCode(); } __hashCodeCalc = false; return _hashCode; } // Type metadata private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(GoogleAccountInfo.class, true); static { typeDesc.setXmlType(new javax.xml.namespace.QName("http://apps.google.iscte.pt/", "googleAccountInfo")); org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("firstName"); elemField.setXmlName(new javax.xml.namespace.QName("", "firstName")); 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("gmailBlocked"); elemField.setXmlName(new javax.xml.namespace.QName("", "gmailBlocked")); elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean")); elemField.setMinOccurs(0); elemField.setNillable(false); typeDesc.addFieldDesc(elemField); elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("lastName"); elemField.setXmlName(new javax.xml.namespace.QName("", "lastName")); 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("mainAlias"); elemField.setXmlName(new javax.xml.namespace.QName("", "mainAlias")); 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("password"); elemField.setXmlName(new javax.xml.namespace.QName("", "password")); 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("username"); elemField.setXmlName(new javax.xml.namespace.QName("", "username")); 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); } }