/**
* UploadStep.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
*/
package net.conselldemallorca.helium.wsintegraciones.portafirmasws.cws.cliente;
public class UploadStep extends net.conselldemallorca.helium.wsintegraciones.portafirmasws.cws.cliente.Step implements java.io.Serializable {
private java.lang.Integer minimalSigners;
private net.conselldemallorca.helium.wsintegraciones.portafirmasws.cws.cliente.Signer[] signers;
public UploadStep() {
}
public UploadStep(
java.lang.Integer minimalSigners,
net.conselldemallorca.helium.wsintegraciones.portafirmasws.cws.cliente.Signer[] signers) {
this.minimalSigners = minimalSigners;
this.signers = signers;
}
/**
* Gets the minimalSigners value for this UploadStep.
*
* @return minimalSigners
*/
public java.lang.Integer getMinimalSigners() {
return minimalSigners;
}
/**
* Sets the minimalSigners value for this UploadStep.
*
* @param minimalSigners
*/
public void setMinimalSigners(java.lang.Integer minimalSigners) {
this.minimalSigners = minimalSigners;
}
/**
* Gets the signers value for this UploadStep.
*
* @return signers
*/
public net.conselldemallorca.helium.wsintegraciones.portafirmasws.cws.cliente.Signer[] getSigners() {
return signers;
}
/**
* Sets the signers value for this UploadStep.
*
* @param signers
*/
public void setSigners(net.conselldemallorca.helium.wsintegraciones.portafirmasws.cws.cliente.Signer[] signers) {
this.signers = signers;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof UploadStep)) return false;
UploadStep other = (UploadStep) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = super.equals(obj) &&
((this.minimalSigners==null && other.getMinimalSigners()==null) ||
(this.minimalSigners!=null &&
this.minimalSigners.equals(other.getMinimalSigners()))) &&
((this.signers==null && other.getSigners()==null) ||
(this.signers!=null &&
java.util.Arrays.equals(this.signers, other.getSigners())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = super.hashCode();
if (getMinimalSigners() != null) {
_hashCode += getMinimalSigners().hashCode();
}
if (getSigners() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getSigners());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getSigners(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(UploadStep.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.indra.es/portafirmasws/cws", "UploadStep"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("minimalSigners");
elemField.setXmlName(new javax.xml.namespace.QName("", "minimal-signers"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
elemField.setMinOccurs(0);
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("signers");
elemField.setXmlName(new javax.xml.namespace.QName("", "signers"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.indra.es/portafirmasws/cws", "Signer"));
elemField.setNillable(false);
elemField.setItemQName(new javax.xml.namespace.QName("", "signer"));
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);
}
}