/**
* LogMessage.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.indra.portafirmasmcgdws.mcgdws;
import net.conselldemallorca.helium.wsintegraciones.indra.portafirmasmcgdws.mcgdws.LogMessage;
public class LogMessage implements java.io.Serializable {
private java.lang.String code;
private java.lang.String description;
private java.lang.String severity;
private java.lang.String title;
public LogMessage() {
}
public LogMessage(
java.lang.String code,
java.lang.String description,
java.lang.String severity,
java.lang.String title) {
this.code = code;
this.description = description;
this.severity = severity;
this.title = title;
}
/**
* Gets the code value for this LogMessage.
*
* @return code
*/
public java.lang.String getCode() {
return code;
}
/**
* Sets the code value for this LogMessage.
*
* @param code
*/
public void setCode(java.lang.String code) {
this.code = code;
}
/**
* Gets the description value for this LogMessage.
*
* @return description
*/
public java.lang.String getDescription() {
return description;
}
/**
* Sets the description value for this LogMessage.
*
* @param description
*/
public void setDescription(java.lang.String description) {
this.description = description;
}
/**
* Gets the severity value for this LogMessage.
*
* @return severity
*/
public java.lang.String getSeverity() {
return severity;
}
/**
* Sets the severity value for this LogMessage.
*
* @param severity
*/
public void setSeverity(java.lang.String severity) {
this.severity = severity;
}
/**
* Gets the title value for this LogMessage.
*
* @return title
*/
public java.lang.String getTitle() {
return title;
}
/**
* Sets the title value for this LogMessage.
*
* @param title
*/
public void setTitle(java.lang.String title) {
this.title = title;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof LogMessage)) return false;
LogMessage other = (LogMessage) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.code==null && other.getCode()==null) ||
(this.code!=null &&
this.code.equals(other.getCode()))) &&
((this.description==null && other.getDescription()==null) ||
(this.description!=null &&
this.description.equals(other.getDescription()))) &&
((this.severity==null && other.getSeverity()==null) ||
(this.severity!=null &&
this.severity.equals(other.getSeverity()))) &&
((this.title==null && other.getTitle()==null) ||
(this.title!=null &&
this.title.equals(other.getTitle())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getCode() != null) {
_hashCode += getCode().hashCode();
}
if (getDescription() != null) {
_hashCode += getDescription().hashCode();
}
if (getSeverity() != null) {
_hashCode += getSeverity().hashCode();
}
if (getTitle() != null) {
_hashCode += getTitle().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(LogMessage.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.indra.es/portafirmasmcgdws/mcgdws", "LogMessage"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("code");
elemField.setXmlName(new javax.xml.namespace.QName("", "code"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("description");
elemField.setXmlName(new javax.xml.namespace.QName("", "description"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("severity");
elemField.setXmlName(new javax.xml.namespace.QName("", "severity"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("title");
elemField.setXmlName(new javax.xml.namespace.QName("", "title"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
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);
}
}