/** * CertificateResponse.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 CertificateResponse implements java.io.Serializable { private byte[] data; private java.lang.String responseType; public CertificateResponse() { } public CertificateResponse( byte[] data, java.lang.String responseType) { this.data = data; this.responseType = responseType; } /** * Gets the data value for this CertificateResponse. * * @return data */ public byte[] getData() { return data; } /** * Sets the data value for this CertificateResponse. * * @param data */ public void setData(byte[] data) { this.data = data; } /** * Gets the responseType value for this CertificateResponse. * * @return responseType */ public java.lang.String getResponseType() { return responseType; } /** * Sets the responseType value for this CertificateResponse. * * @param responseType */ public void setResponseType(java.lang.String responseType) { this.responseType = responseType; } private java.lang.Object __equalsCalc = null; public synchronized boolean equals(java.lang.Object obj) { if (!(obj instanceof CertificateResponse)) return false; CertificateResponse other = (CertificateResponse) obj; if (obj == null) return false; if (this == obj) return true; if (__equalsCalc != null) { return (__equalsCalc == obj); } __equalsCalc = obj; boolean _equals; _equals = true && ((this.data==null && other.getData()==null) || (this.data!=null && java.util.Arrays.equals(this.data, other.getData()))) && ((this.responseType==null && other.getResponseType()==null) || (this.responseType!=null && this.responseType.equals(other.getResponseType()))); __equalsCalc = null; return _equals; } private boolean __hashCodeCalc = false; public synchronized int hashCode() { if (__hashCodeCalc) { return 0; } __hashCodeCalc = true; int _hashCode = 1; if (getData() != null) { for (int i=0; i