/** * UserDataVOWS.java * * This file was auto-generated from WSDL * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. */ package org.ejbca.core.protocol.ws; public class UserDataVOWS implements java.io.Serializable { private java.lang.String caName; private java.lang.String cardNumber; private java.lang.String certificateProfileName; private java.math.BigInteger certificateSerialNumber; private boolean clearPwd; private java.lang.String email; private java.lang.String endEntityProfileName; private java.lang.String endTime; private org.ejbca.core.protocol.ws.ExtendedInformationWS[] extendedInformation; private java.lang.String hardTokenIssuerName; private boolean keyRecoverable; private java.lang.String password; private boolean sendNotification; private java.lang.String startTime; private int status; private java.lang.String subjectAltName; private java.lang.String subjectDN; private java.lang.String tokenType; private java.lang.String username; public UserDataVOWS() { } public UserDataVOWS( java.lang.String caName, java.lang.String cardNumber, java.lang.String certificateProfileName, java.math.BigInteger certificateSerialNumber, boolean clearPwd, java.lang.String email, java.lang.String endEntityProfileName, java.lang.String endTime, org.ejbca.core.protocol.ws.ExtendedInformationWS[] extendedInformation, java.lang.String hardTokenIssuerName, boolean keyRecoverable, java.lang.String password, boolean sendNotification, java.lang.String startTime, int status, java.lang.String subjectAltName, java.lang.String subjectDN, java.lang.String tokenType, java.lang.String username) { this.caName = caName; this.cardNumber = cardNumber; this.certificateProfileName = certificateProfileName; this.certificateSerialNumber = certificateSerialNumber; this.clearPwd = clearPwd; this.email = email; this.endEntityProfileName = endEntityProfileName; this.endTime = endTime; this.extendedInformation = extendedInformation; this.hardTokenIssuerName = hardTokenIssuerName; this.keyRecoverable = keyRecoverable; this.password = password; this.sendNotification = sendNotification; this.startTime = startTime; this.status = status; this.subjectAltName = subjectAltName; this.subjectDN = subjectDN; this.tokenType = tokenType; this.username = username; } /** * Gets the caName value for this UserDataVOWS. * * @return caName */ public java.lang.String getCaName() { return caName; } /** * Sets the caName value for this UserDataVOWS. * * @param caName */ public void setCaName(java.lang.String caName) { this.caName = caName; } /** * Gets the cardNumber value for this UserDataVOWS. * * @return cardNumber */ public java.lang.String getCardNumber() { return cardNumber; } /** * Sets the cardNumber value for this UserDataVOWS. * * @param cardNumber */ public void setCardNumber(java.lang.String cardNumber) { this.cardNumber = cardNumber; } /** * Gets the certificateProfileName value for this UserDataVOWS. * * @return certificateProfileName */ public java.lang.String getCertificateProfileName() { return certificateProfileName; } /** * Sets the certificateProfileName value for this UserDataVOWS. * * @param certificateProfileName */ public void setCertificateProfileName(java.lang.String certificateProfileName) { this.certificateProfileName = certificateProfileName; } /** * Gets the certificateSerialNumber value for this UserDataVOWS. * * @return certificateSerialNumber */ public java.math.BigInteger getCertificateSerialNumber() { return certificateSerialNumber; } /** * Sets the certificateSerialNumber value for this UserDataVOWS. * * @param certificateSerialNumber */ public void setCertificateSerialNumber(java.math.BigInteger certificateSerialNumber) { this.certificateSerialNumber = certificateSerialNumber; } /** * Gets the clearPwd value for this UserDataVOWS. * * @return clearPwd */ public boolean isClearPwd() { return clearPwd; } /** * Sets the clearPwd value for this UserDataVOWS. * * @param clearPwd */ public void setClearPwd(boolean clearPwd) { this.clearPwd = clearPwd; } /** * Gets the email value for this UserDataVOWS. * * @return email */ public java.lang.String getEmail() { return email; } /** * Sets the email value for this UserDataVOWS. * * @param email */ public void setEmail(java.lang.String email) { this.email = email; } /** * Gets the endEntityProfileName value for this UserDataVOWS. * * @return endEntityProfileName */ public java.lang.String getEndEntityProfileName() { return endEntityProfileName; } /** * Sets the endEntityProfileName value for this UserDataVOWS. * * @param endEntityProfileName */ public void setEndEntityProfileName(java.lang.String endEntityProfileName) { this.endEntityProfileName = endEntityProfileName; } /** * Gets the endTime value for this UserDataVOWS. * * @return endTime */ public java.lang.String getEndTime() { return endTime; } /** * Sets the endTime value for this UserDataVOWS. * * @param endTime */ public void setEndTime(java.lang.String endTime) { this.endTime = endTime; } /** * Gets the extendedInformation value for this UserDataVOWS. * * @return extendedInformation */ public org.ejbca.core.protocol.ws.ExtendedInformationWS[] getExtendedInformation() { return extendedInformation; } /** * Sets the extendedInformation value for this UserDataVOWS. * * @param extendedInformation */ public void setExtendedInformation(org.ejbca.core.protocol.ws.ExtendedInformationWS[] extendedInformation) { this.extendedInformation = extendedInformation; } public org.ejbca.core.protocol.ws.ExtendedInformationWS getExtendedInformation(int i) { return this.extendedInformation[i]; } public void setExtendedInformation(int i, org.ejbca.core.protocol.ws.ExtendedInformationWS _value) { this.extendedInformation[i] = _value; } /** * Gets the hardTokenIssuerName value for this UserDataVOWS. * * @return hardTokenIssuerName */ public java.lang.String getHardTokenIssuerName() { return hardTokenIssuerName; } /** * Sets the hardTokenIssuerName value for this UserDataVOWS. * * @param hardTokenIssuerName */ public void setHardTokenIssuerName(java.lang.String hardTokenIssuerName) { this.hardTokenIssuerName = hardTokenIssuerName; } /** * Gets the keyRecoverable value for this UserDataVOWS. * * @return keyRecoverable */ public boolean isKeyRecoverable() { return keyRecoverable; } /** * Sets the keyRecoverable value for this UserDataVOWS. * * @param keyRecoverable */ public void setKeyRecoverable(boolean keyRecoverable) { this.keyRecoverable = keyRecoverable; } /** * Gets the password value for this UserDataVOWS. * * @return password */ public java.lang.String getPassword() { return password; } /** * Sets the password value for this UserDataVOWS. * * @param password */ public void setPassword(java.lang.String password) { this.password = password; } /** * Gets the sendNotification value for this UserDataVOWS. * * @return sendNotification */ public boolean isSendNotification() { return sendNotification; } /** * Sets the sendNotification value for this UserDataVOWS. * * @param sendNotification */ public void setSendNotification(boolean sendNotification) { this.sendNotification = sendNotification; } /** * Gets the startTime value for this UserDataVOWS. * * @return startTime */ public java.lang.String getStartTime() { return startTime; } /** * Sets the startTime value for this UserDataVOWS. * * @param startTime */ public void setStartTime(java.lang.String startTime) { this.startTime = startTime; } /** * Gets the status value for this UserDataVOWS. * * @return status */ public int getStatus() { return status; } /** * Sets the status value for this UserDataVOWS. * * @param status */ public void setStatus(int status) { this.status = status; } /** * Gets the subjectAltName value for this UserDataVOWS. * * @return subjectAltName */ public java.lang.String getSubjectAltName() { return subjectAltName; } /** * Sets the subjectAltName value for this UserDataVOWS. * * @param subjectAltName */ public void setSubjectAltName(java.lang.String subjectAltName) { this.subjectAltName = subjectAltName; } /** * Gets the subjectDN value for this UserDataVOWS. * * @return subjectDN */ public java.lang.String getSubjectDN() { return subjectDN; } /** * Sets the subjectDN value for this UserDataVOWS. * * @param subjectDN */ public void setSubjectDN(java.lang.String subjectDN) { this.subjectDN = subjectDN; } /** * Gets the tokenType value for this UserDataVOWS. * * @return tokenType */ public java.lang.String getTokenType() { return tokenType; } /** * Sets the tokenType value for this UserDataVOWS. * * @param tokenType */ public void setTokenType(java.lang.String tokenType) { this.tokenType = tokenType; } /** * Gets the username value for this UserDataVOWS. * * @return username */ public java.lang.String getUsername() { return username; } /** * Sets the username value for this UserDataVOWS. * * @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 UserDataVOWS)) return false; UserDataVOWS other = (UserDataVOWS) obj; if (obj == null) return false; if (this == obj) return true; if (__equalsCalc != null) { return (__equalsCalc == obj); } __equalsCalc = obj; boolean _equals; _equals = true && ((this.caName==null && other.getCaName()==null) || (this.caName!=null && this.caName.equals(other.getCaName()))) && ((this.cardNumber==null && other.getCardNumber()==null) || (this.cardNumber!=null && this.cardNumber.equals(other.getCardNumber()))) && ((this.certificateProfileName==null && other.getCertificateProfileName()==null) || (this.certificateProfileName!=null && this.certificateProfileName.equals(other.getCertificateProfileName()))) && ((this.certificateSerialNumber==null && other.getCertificateSerialNumber()==null) || (this.certificateSerialNumber!=null && this.certificateSerialNumber.equals(other.getCertificateSerialNumber()))) && this.clearPwd == other.isClearPwd() && ((this.email==null && other.getEmail()==null) || (this.email!=null && this.email.equals(other.getEmail()))) && ((this.endEntityProfileName==null && other.getEndEntityProfileName()==null) || (this.endEntityProfileName!=null && this.endEntityProfileName.equals(other.getEndEntityProfileName()))) && ((this.endTime==null && other.getEndTime()==null) || (this.endTime!=null && this.endTime.equals(other.getEndTime()))) && ((this.extendedInformation==null && other.getExtendedInformation()==null) || (this.extendedInformation!=null && java.util.Arrays.equals(this.extendedInformation, other.getExtendedInformation()))) && ((this.hardTokenIssuerName==null && other.getHardTokenIssuerName()==null) || (this.hardTokenIssuerName!=null && this.hardTokenIssuerName.equals(other.getHardTokenIssuerName()))) && this.keyRecoverable == other.isKeyRecoverable() && ((this.password==null && other.getPassword()==null) || (this.password!=null && this.password.equals(other.getPassword()))) && this.sendNotification == other.isSendNotification() && ((this.startTime==null && other.getStartTime()==null) || (this.startTime!=null && this.startTime.equals(other.getStartTime()))) && this.status == other.getStatus() && ((this.subjectAltName==null && other.getSubjectAltName()==null) || (this.subjectAltName!=null && this.subjectAltName.equals(other.getSubjectAltName()))) && ((this.subjectDN==null && other.getSubjectDN()==null) || (this.subjectDN!=null && this.subjectDN.equals(other.getSubjectDN()))) && ((this.tokenType==null && other.getTokenType()==null) || (this.tokenType!=null && this.tokenType.equals(other.getTokenType()))) && ((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 (getCaName() != null) { _hashCode += getCaName().hashCode(); } if (getCardNumber() != null) { _hashCode += getCardNumber().hashCode(); } if (getCertificateProfileName() != null) { _hashCode += getCertificateProfileName().hashCode(); } if (getCertificateSerialNumber() != null) { _hashCode += getCertificateSerialNumber().hashCode(); } _hashCode += (isClearPwd() ? Boolean.TRUE : Boolean.FALSE).hashCode(); if (getEmail() != null) { _hashCode += getEmail().hashCode(); } if (getEndEntityProfileName() != null) { _hashCode += getEndEntityProfileName().hashCode(); } if (getEndTime() != null) { _hashCode += getEndTime().hashCode(); } if (getExtendedInformation() != null) { for (int i=0; i