/** * NewUserDetails.java * * This file was auto-generated from WSDL * by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter. */ package org.alfresco.repo.webservice.administration; public class NewUserDetails implements java.io.Serializable { private java.lang.String userName; private java.lang.String password; private org.alfresco.repo.webservice.types.NamedValue[] properties; public NewUserDetails() { } public NewUserDetails( java.lang.String userName, java.lang.String password, org.alfresco.repo.webservice.types.NamedValue[] properties) { this.userName = userName; this.password = password; this.properties = properties; } /** * Gets the userName value for this NewUserDetails. * * @return userName */ public java.lang.String getUserName() { return userName; } /** * Sets the userName value for this NewUserDetails. * * @param userName */ public void setUserName(java.lang.String userName) { this.userName = userName; } /** * Gets the password value for this NewUserDetails. * * @return password */ public java.lang.String getPassword() { return password; } /** * Sets the password value for this NewUserDetails. * * @param password */ public void setPassword(java.lang.String password) { this.password = password; } /** * Gets the properties value for this NewUserDetails. * * @return properties */ public org.alfresco.repo.webservice.types.NamedValue[] getProperties() { return properties; } /** * Sets the properties value for this NewUserDetails. * * @param properties */ public void setProperties(org.alfresco.repo.webservice.types.NamedValue[] properties) { this.properties = properties; } public org.alfresco.repo.webservice.types.NamedValue getProperties(int i) { return this.properties[i]; } public void setProperties(int i, org.alfresco.repo.webservice.types.NamedValue _value) { this.properties[i] = _value; } private java.lang.Object __equalsCalc = null; public synchronized boolean equals(java.lang.Object obj) { if (!(obj instanceof NewUserDetails)) return false; NewUserDetails other = (NewUserDetails) obj; if (obj == null) return false; if (this == obj) return true; if (__equalsCalc != null) { return (__equalsCalc == obj); } __equalsCalc = obj; boolean _equals; _equals = true && ((this.userName==null && other.getUserName()==null) || (this.userName!=null && this.userName.equals(other.getUserName()))) && ((this.password==null && other.getPassword()==null) || (this.password!=null && this.password.equals(other.getPassword()))) && ((this.properties==null && other.getProperties()==null) || (this.properties!=null && java.util.Arrays.equals(this.properties, other.getProperties()))); __equalsCalc = null; return _equals; } private boolean __hashCodeCalc = false; public synchronized int hashCode() { if (__hashCodeCalc) { return 0; } __hashCodeCalc = true; int _hashCode = 1; if (getUserName() != null) { _hashCode += getUserName().hashCode(); } if (getPassword() != null) { _hashCode += getPassword().hashCode(); } if (getProperties() != null) { for (int i=0; i